Man-in-the-Middle (MitM) Affecting symfony/symfony package, versions >=2, <2.3.27>=2.4.0, <2.5.11>=2.6.0, <2.6.6


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-SYMFONYSYMFONY-70216
  • published1 Apr 2015
  • disclosed1 Apr 2015
  • creditDmitrii Chekaliuk

Introduced: 1 Apr 2015

CVE-2015-2309  (opens in a new tab)
CWE-300  (opens in a new tab)

How to fix?

Upgrade symfony/symfony to version 2.3.27, 2.5.11, 2.6.6 or higher.

Overview

Affected versions of symfony/symfony are vulnerable to Man-in-the-Middle (MitM).

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.

CVSS Scores

version 3.1