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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
4.54% (93rd 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-2335606
  • published12 Jan 2022
  • disclosed11 May 2012
  • creditUnknown

Introduced: 11 May 2012

CVE-2012-2336  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade php to version 5.3.13 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.4.3, when configured as a CGI script (aka php-cgi), does not properly handle query strings that lack an = (equals sign) character, which allows remote attackers to cause a denial of service (resource consumption) by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'T' case. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1823.

References

CVSS Scores

version 3.1