Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2015-2309

[Unsafe methods in the Request class]

Overview

Published
No date
Modified
No date
Medium CVE
2 Registry packages
1 OS packages
2 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

5.3 · MEDIUM

CVSS 3.1 base score, scored by GitHub.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected packages · 2

Packages affected by CVE-2015-2309
EcosystemPackageVulnerableFixed in
Composer (PHP) symfony/http-foundation >=2.0.0, <2.3.27>=2.4.0, <2.5.11>=2.6.0, <2.6.6>=2.0.0, <2.1.0>=2.1.0, <2.2.0+4 more 2.3.272.5.112.6.6
Composer (PHP) symfony/symfony >=2.0.0, <2.3.27>=2.4.0, <2.5.11>=2.6.0, <2.6.6>=2.5.0, <2.5.11>=2.0.0, <2.1.0+4 more 2.3.272.5.112.6.6

Open a package to see all its vulnerabilities.

Operating systems · 5 fixes

debian 4 releases · 1 package

fixed 4
symfony
debian fixes for CVE-2015-2309
ReleasePackageFixed in
11 symfony 2.3.21+dfsg-4
12 symfony 2.3.21+dfsg-4
13 symfony 2.3.21+dfsg-4
14 symfony 2.3.21+dfsg-4

echo 1 release · 1 package

fixed 1
symfony
echo fixes for CVE-2015-2309
ReleasePackageFixed in
symfony 2.3.21+dfsg-4

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.