Improper Input Validation Affecting php package, versions [,5.3.11)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
1.4% (87th percentile)

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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PHP-2335366
  • published12 Jan 2022
  • disclosed30 Aug 2012
  • creditUnknown

Introduced: 30 Aug 2012

CVE-2011-1398  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade php to version 5.3.11 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. The sapi_header_op function in main/SAPI.c in PHP before 5.3.11 and 5.4.x before 5.4.0RC2 does not check for %0D sequences (aka carriage return characters), which allows remote attackers to bypass an HTTP response-splitting protection mechanism via a crafted URL, related to improper interaction between the PHP header function and certain browsers, as demonstrated by Internet Explorer and Google Chrome.

CVSS Scores

version 3.1