Path Disclosure Affecting symfony/symfony package, versions <2.1.0


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.16% (52nd percentile)
Expand this section
NVD
6.5 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-SYMFONYSYMFONY-70203
  • published 19 Mar 2012
  • disclosed 19 Mar 2012
  • credit Manuele Menozzi

How to fix?

Upgrade symfony/symfony to version 2.1.0 or higher.

Overview

symfony/symfony is a PHP framework for web applications and a set of reusable PHP components.

Affected versions of this package are vulnerable to Path Disclosure which 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.