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_SE...
LowCVSS 2.6
EPSS 5.9%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | >= 5.3.0, < 5.3.29 | 5.3.29 |
| PHP | >= 5.4.0, < 5.4.30 | 5.4.30 |
| PHP | >= 5.5.0, < 5.5.14 | 5.5.14 |
| debian linux | = 7.0 | No fix listed |
| debian linux | = 8.0 | No fix listed |
References
- openSUSE-SU-2014:0945 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2014:1236 mailing-list third-party-advisory vendor-advisory
- RHSA-2014:1765 third-party-advisory vendor-advisory
- RHSA-2014:1766 third-party-advisory vendor-advisory
- 54553 broken-link third-party-advisory
- 59794 broken-link third-party-advisory
- 59831 broken-link third-party-advisory
- twitter.com third-party-advisory
- www-01.ibm.com third-party-advisory
- DSA-2974 third-party-advisory vendor-advisory
- www.oracle.com third-party-advisory
- www.php.net vendor-advisory
- bugs.php.net vendor-advisory
- www.sektioneins.de exploit third-party-advisory