Information disclosure in PHP
CVE-2014-4721
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.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v2 metric
CVSS v2 base score 2.6 (Low). Vector: AV:N/AC:H/Au:N/C:P/I:N/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.059 (93.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 93rd percentile — 93.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.059 · newest: 0.059 · change: 0.000
Affected products
- PHP
- Debian Linux — versions 7.0, 8.0
Weakness classification (CWE)
References
- www-01.ibm.com/support/docview.wss (Third Party Advisory)
- secunia.com/advisories/54553 (Broken Link, third-party-advisory)
- rhn.redhat.com/errata/RHSA-2014-1766.html (vendor-advisory, Third Party Advisory)
- www.debian.org/security/2014/dsa-2974 (vendor-advisory, Third Party Advisory)
- www.sektioneins.de/en/blog/14-07-04-phpinfo-infoleak.html (Exploit, Third Party Advisory)
- secunia.com/advisories/59794 (Broken Link, third-party-advisory)
- www.php.net/ChangeLog-5.php (Vendor Advisory)
- lists.opensuse.org/opensuse-updates/2014-07/msg00035.html (vendor-advisory, Mailing List, Third Party Advisory)
- bugs.php.net/bug.php (Vendor Advisory)
- www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html (Third Party Advisory)