Information Exposure Affecting php package, versions [,5.4.30)


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
1.15% (85th 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 IDSNYK-UNMANAGED-PHP-2335094
  • published12 Jan 2022
  • disclosed6 Jul 2014
  • creditUnknown

Introduced: 6 Jul 2014

CVE-2014-4721  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade php to version 5.4.30 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure. The phpinfo implementation in ext/standard/info.c in PHP before 5.4.30 and 5.5.x before 5.5.14 does not ensure use of the string data type for the PHP_AUTH_PW, PHP_AUTH_TYPE, PHP_AUTH_USER, and PHP_SELF variables, which might allow context-dependent attackers to obtain sensitive information from process memory by using the integer data type with crafted values, related to a "type confusion" vulnerability, as demonstrated by reading a private SSL key in an Apache HTTP Server web-hosting environment with mod_ssl and a PHP 5.3.x mod_php.

References

CVSS Scores

version 3.1