🛡️ CVE-2015-2309 — http-foundation
Description
Symfony has unsafe methods in the Request class
All 2.0.X, 2.1.X, 2.2.X, 2.3.X, 2.4.X, 2.5.X, and 2.6.X versions of the Symfony HttpFoundation component are affected by this security issue.
This issue has been fixed in Symfony 2.3.27, 2.5.11, and 2.6.6. Note that no fixes are provided for Symfony 2.0, 2.1, 2.2, and 2.4 as they are not maintained anymore.
Description
The Symfony\Component\HttpFoundation\Request class provides a mechanism that ensures it does not trust HTTP header values coming from a "non-trusted" client. Unfortunately, it assumes that the remote address is always a trusted client if at least one trusted proxy is involved in the request; this allows a man-in-the-middle attack between the latest trusted proxy and the web server.
The following methods are impacted: getPort(), isSecure(), and getHost(), and getClientIps().
Resolution
All impacted methods now check that the remote address is trusted, which fixes the issue.
The patch for this issue is available [here](https://github.com/symfony/symfony/pull/14166).
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity low, availability none.
Weakness class
CVE-2015-2309 is classified as CWE-20: Improper Input Validation. The application accepts input without checking that it has the expected form, so malformed values reach code that assumes they are well formed.
Affected software
CVE-2015-2309 is recorded against 2 packages.
- symfony/http-foundation (from 2.6.0 up to 2.6.6)
- symfony/symfony (from 2.6.0 up to 2.6.6)
Timeline and source
Published on 30 May 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Web)
symfony.com (Web)
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| symfony/http-foundation | 2.6.0 | 2.6.6 |
| symfony/symfony | 2.6.0 | 2.6.6 |
Similar Threats
- Unknown CLSA-2025-1766451449
- Unknown CLSA-2026-1768265576
- Unknown CLSA-2026-1774399515
- Unknown CLSA-2026-1778978781
- Unknown CLSA-2026-1778978921
More CVE 2015 advisories
Browse all of CVE 2015 in the advisory index.
Free Vulnerability Check
Is your site affected by CVE-2015-2309?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2015-2309 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.