Symfony Incorrect Access Control
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | symfony/http-kernel | >= 2.3.19, < 2.3.29, >= 2.5.4, < 2.5.12, >= 2.6.0, < 2.6.8, >= 2.4.9, <= 2.4.10 | 2.3.29, 2.5.12, 2.6.8 |
| Composer package | symfony/symfony | >= 2.3.19, < 2.3.29, >= 2.4.9, <= 2.4.10, >= 2.5.4, < 2.5.12, >= 2.6.0, < 2.6.8 | 2.3.29, 2.5.12, 2.6.8 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-4050
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-kernel/CVE-2015-4050.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2015-4050.yaml
- https://symfony.com/cve-2015-4050
- https://web.archive.org/web/20200228090443/http://www.securityfocus.com/bid/74928
- http://lists.fedoraproject.org/pipermail/package-announce/2015-June/159513.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-June/159603.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-June/159610.html
- http://symfony.com/blog/cve-2015-4050-esi-unauthorized-access
- http://www.debian.org/security/2015/dsa-3276
- Weakness (CWE)
CWE-284- Platform
- Composer
- Package
symfony/http-kernel, symfony/symfony- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-qmqw-mpqp-mr54 - CC BY 4.0
Vulnerability history: symfony/http-kernel
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 8
- First → latest
- 09.2020 05.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 4
- Medium 4
Disclosures per year
- 2020: 1
- 2021: 1
- 2022: 3
- 2023: 1
- 2024: 1
- 2025: 0
- 2026: 1
-
Symfony Incorrect Access Control this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.