Path Disclosure Affecting symfony/framework-bundle package, versions <2.1.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (52nd percentile)

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 IDSNYK-PHP-SYMFONYFRAMEWORKBUNDLE-2403105
  • published19 Mar 2012
  • disclosed19 Mar 2012
  • creditManuele Menozzi

Introduced: 19 Mar 2012

CVE-2012-6431  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade symfony/framework-bundle to version 2.1.0 or higher.

Overview

symfony/framework-bundle is a package that defines the main framework configuration, from sessions and translations to forms, validation, routing and more.

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.

CVSS Base Scores

version 3.1