GHSA-83c3-qx27-2rwr

    Dashboard / Vulnerabilities / GHSA-83c3-qx27-2rwr

    GHSA-83c3-qx27-2rwr

    Published: 17 May 2022Last Modified: 3 Dec 2024
    Aliases:

    Summary: Symfony Allows URI Restrictions Bypass Via Double-Encoded String

    Details: On the Symfony 2.0.x version, there's a security issue that allows access to routes protected by a firewall even when the user is not logged in. Both the Routing component and the Security component uses the path returned by `getPathInfo()` to match a Request. The `getPathInfo()` returns a decoded path, but the Routing component (`Symfony\Component\Routing\Matcher\UrlMatcher`) decodes the path a second time; whereas the Security component, `Symfony\Component\HttpFoundation\RequestMatcher`, does not. This difference causes Symfony 2.0 to be vulnerable to double encoding attacks.

    Affected packages

    Package

    Name: symfony/http-foundation

    Purl: pkg:composer/symfony/http-foundation

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 2.0.0
    Fixed -2.0.19

    Affected versions

    2.0.4
    2.0.5
    2.0.6
    2.0.7

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-83c3-qx27-2rwr | CVE-DB