CVE-2012-6431
Symfony Allows URI Restrictions Bypass Via Double-Encoded String
EPSS 1.9%
描述
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.
如何修補 CVE-2012-6431
要修補 CVE-2012-6431,請將受影響套件升級到下列已修補版本。
- —升級至 2.0.19 或更新版本
- —升級至 2.0.19 或更新版本
- —升級至 2.0.19 或更新版本
- —升級至 2.0.19 或更新版本
CVE-2012-6431 正在被利用嗎?
低 — EPSS 為 1.9%,目前沒有觀察到大規模利用活動。
受影響套件(4)
- >= 2.0.0, < 2.0.19
- >= 2.0.0, < 2.0.19
- >= 2.0.0, < 2.0.19
- >= 2.0.0, < 2.0.19
參考連結(9)
- ADVISORYnvd.nist.gov/vuln/detail/CVE-2012-6431
- WEBsymfony.com/blog/security-release-symfony-2-0-20-and-2-1-5-released
- WEBgithub.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2012-6431.yaml
- WEBgithub.com/FriendsOfPHP/security-advisories/blob/master/symfony/routing/CVE-2012-6431.yaml