CVE-2014-4721
LOW
2.6
CVSS 2.0
Description
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.
Affected products and versions
- PHP — From 5.3.0 (including) to 5.3.29 (excluding)
- PHP — From 5.4.0 (including) to 5.4.30 (excluding)
- PHP — From 5.5.0 (including) to 5.5.14 (excluding)
References
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2014-07/msg00035.html Mailing List, Third Party Advisory
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2014-09/msg00046.html Mailing List, Third Party Advisory
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2014-1765.html Third Party Advisory
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2014-1766.html Third Party Advisory
- secunia.com http://secunia.com/advisories/54553 Broken Link
- secunia.com http://secunia.com/advisories/59794 Broken Link
- secunia.com http://secunia.com/advisories/59831 Broken Link
- twitter.com http://twitter.com/mikispag/statuses/485713462258302976 Third Party Advisory
- www-01.ibm.com http://www-01.ibm.com/support/docview.wss?uid=swg21683486 Third Party Advisory
- www.debian.org http://www.debian.org/security/2014/dsa-2974 Third Party Advisory
- www.oracle.com http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html Third Party Advisory
- www.php.net http://www.php.net/ChangeLog-5.php Vendor Advisory
- bugs.php.net https://bugs.php.net/bug.php?id=67498 Vendor Advisory
- www.sektioneins.de https://www.sektioneins.de/en/blog/14-07-04-phpinfo-infoleak.html Exploit, Third Party Advisory
- nvd.nist.gov Official NVD record