CVE-2015-4050 — symfony/http-kernel
CVE-2015-4050 is a CWE-284 vulnerability in symfony/http-kernel. A fix is available for symfony/http-kernel — see the affected versions and patch details below.
Symfony Incorrect Access Control
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
Real-World Exposure
symfony/http-kernel🐘symfony/http-kernel🐘symfony/http-kernel🐘symfony/symfony🐘symfony/symfony🐘symfony/symfony🐘symfony/symfony🐘symfony/http-kernelReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | symfony/http-kernel | ≥ 2.3.19&&< 2.3.29 | 2.3.29composer require symfony/http-kernel:^2.3.29 |
| 🐘Packagist | symfony/http-kernel | ≥ 2.5.4&&< 2.5.12 | 2.5.12composer require symfony/http-kernel:^2.5.12 |
| 🐘Packagist | symfony/http-kernel | ≥ 2.6.0&&< 2.6.8 | 2.6.8composer require symfony/http-kernel:^2.6.8 |
| 🐘Packagist | symfony/symfony | ≥ 2.3.19&&< 2.3.29 | 2.3.29composer require symfony/symfony:^2.3.29 |
| 🐘Packagist | symfony/symfony | ≥ 2.4.9 | No fix |
| 🐘Packagist | symfony/symfony | ≥ 2.5.4&&< 2.5.12 | 2.5.12composer require symfony/symfony:^2.5.12 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for symfony/http-kernel, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update symfony/http-kernel to 2.3.29 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2015-4050 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2015-4050 can be triaged on real exposure rather than presence alone.
Tailored to CVE-2015-4050. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
How to detect CVE-2015-4050
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2015-4050 -u https://target- Template
- Symfony - Authentication Bypass
- Severity
- medium
- Impact
- Successful exploitation of this vulnerability could allow an attacker to bypass authentication and gain unauthorized access to the affected system.
- Remediation
- Apply the latest security patches or upgrade to a non-vulnerable version of Symfony.
Template by ProjectDiscovery nuclei-templates (ELSFA7110, meme-lord), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2015-4050 in your dependencies?
O3 Security finds CVE-2015-4050 across Packagist dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.