Skip to main content
← All vulnerabilities
CVE-2024-50345GHSA-MRQX-RP3W-JPJP

Open redirect via browser-sanitized URLs in symfony/http-foundation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.4.46, 6.4.14, 7.1.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

symfony/http-foundation is a module for the Symphony PHP framework which defines an object-oriented layer for the HTTP specification. The `Request` class, does not parse URI with special characters the same way browsers do. As a result, an attacker can trick a validator relying on the `Request` class to redirect users to another domain. The `Request::create` methods now assert the URI does not contain invalid characters as defined by https://url.spec.whatwg.org/. This issue has been patched in versions 5.4.46, 6.4.14, and 7.1.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • symfony symfony

    fixed in 5.4.46; From 6.0.0 · fixed in 6.4.14; From 7.0.0 · fixed in 7.1.7

  • symfony/http-foundationPackagist

    fixed in 5.4.46

  • symfony/http-foundationPackagist

    From 6.0.0 · fixed in 6.4.14

  • symfony/http-foundationPackagist

    From 7.0.0 · fixed in 7.1.7

References 2

GitHub · symfony/symfony

url.spec.whatwg.org