Symfony Incorrect Access Control
Published 17 May 2022 · Updated 5 Dec 2024
Is your project on an affected symfony/http-kernel?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=2.3.19 <2.3.29
- Fixed in
- 2.3.29
composer require symfony/http-kernel:^2.3.29- Affected
- >=2.5.4 <2.5.12
- Fixed in
- 2.5.12
composer require symfony/http-kernel:^2.5.12- Affected
- >=2.6.0 <2.6.8
- Fixed in
- 2.6.8
composer require symfony/http-kernel:^2.6.8- Affected
- >=2.3.19 <2.3.29
- Fixed in
- 2.3.29
composer require symfony/symfony:^2.3.29- Affected
- >=2.4.9 <=2.4.10
- Fixed in
- No fix released
- Affected
- >=2.5.4 <2.5.12
- Fixed in
- 2.5.12
composer require symfony/symfony:^2.5.12- Affected
- >=2.6.0 <2.6.8
- Fixed in
- 2.6.8
composer require symfony/symfony:^2.6.8- Affected
- >=2.4.9 <=2.4.10
- Fixed in
- No fix released
Details
FragmentListener in the HttpKernel component in Symfony 2.3.19 through 2.3.28, 2.4.9 through 2.4.10, 2.5.4 through 2.5.11, and 2.6.0 through 2.6.7, when ESI or SSI support enabled, does not check if the _controller attribute is set, which allows remote attackers to bypass URL signing and security rules by including (1) no hash or (2) an invalid hash in a request to /_fragment.
This issue has been fixed in Symfony 2.3.29, 2.5.12, and 2.6.8. Note that no fixes are provided for Symfony 2.4 as it's not maintained anymore.
Is GHSA-qmqw-mpqp-mr54 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected symfony/http-kernel, and gives you the command that fixes it.
More advisories for symfony/http-kernel
- HighCVE-2026-45075Symfony's HEAD Request Bypasses methods: ['GET'] Filter in #[IsGranted] / #[IsSignatureValid] / #[IsCsrfTokenValid] · 27 May 2026
- HighCVE-2014-5245Symfony allows direct access of ESI URLs behind a trusted proxy · 30 May 2024
- MediumCVE-2022-24894Symfony storing cookie headers in HttpCache · 1 Feb 2023
- MediumCVE-2015-2308Symfony Vulnerable to PHP Eval Injection · 17 May 2022
- HighCVE-2019-18887Symfony Http-Kernel has non-constant time comparison in UriSigner · 26 Mar 2022
- MediumCVE-2021-41267Webcache Poisoning in symfony/http-kernel · 24 Nov 2021
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2015-4050
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-kernel/CVE-2015-4050.yaml
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2015-4050.yaml
- Linksymfony.com/cve-2015-4050
- Linkweb.archive.org/web/20200228090443/http://www.securityfocus.com/bid/74928
- Linklists.fedoraproject.org/pipermail/package-announce/2015-June/159513.html
- Linklists.fedoraproject.org/pipermail/package-announce/2015-June/159603.html
- Linklists.fedoraproject.org/pipermail/package-announce/2015-June/159610.html
- Linksymfony.com/blog/cve-2015-4050-esi-unauthorized-access
- Linkwww.debian.org/security/2015/dsa-3276
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.