CVE-2015-2309
Published:May 14, 2026
Updated:May 14, 2026
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).
Affected Packages
symfony/http-foundation (PHP):
Affected version(s) >=v2.4.0 <v2.5.11Fix Suggestion:
Update to version v2.5.11symfony/http-foundation (PHP):
Affected version(s) >=v2.0.0 <v2.3.27Fix Suggestion:
Update to version v2.3.27symfony/symfony (PHP):
Affected version(s) >=v2.6.0 <v2.6.6Fix Suggestion:
Update to version v2.6.6symfony/symfony (PHP):
Affected version(s) >=v2.4.0 <v2.5.11Fix Suggestion:
Update to version v2.5.11symfony/symfony (PHP):
Affected version(s) >=v2.0.0 <v2.3.27Fix Suggestion:
Update to version v2.3.27symfony/http-foundation (PHP):
Affected version(s) >=v2.6.0 <v2.6.6Fix Suggestion:
Update to version v2.6.6Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Input Validation