Access Restriction Bypass Affecting symfony/http-foundation package, versions >=2.1.0, <2.1.4>=2.0.0, <2.0.19


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 Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SYMFONYHTTPFOUNDATION-2403509
  • published27 Nov 2012
  • disclosed27 Nov 2012
  • creditDamien Tournoud

Introduced: 27 Nov 2012

CVE NOT AVAILABLE CWE-284  (opens in a new tab)

How to fix?

Upgrade symfony/http-foundation to version 2.1.4, 2.0.19 or higher.

Overview

symfony/http-foundation is a component defines an object-oriented layer for the HTTP specification.

Affected versions of this package are vulnerable to Access Restriction Bypass in the Request::getClientIp() method when the trust proxy mode is enabled (Request::trustProxyData()).

An application is vulnerable if it uses the client IP address as returned by the Request::getClientIp() method for sensitive decisions like IP based access control.

CVSS Scores

version 3.1