[v2.5] php: sensitive information leak from process memory (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.
•MISC: http://twitter.com/mikispag/statuses/485713462258302976
•MISC:
https://www.sektioneins.de/en/blog/14-07-04-phpinfo-infoleak.html
•CONFIRM: http://www.php.net/ChangeLog-5.php
•CONFIRM: https://bugs.php.net/bug.php?id=67498
(from redmine: issue id 3165, created on 2014-07-17, closed on 2014-07-18)
- Relations:
- parent #3164 (closed)
- Changesets:
- Revision ca28f9f2 by Natanael Copa on 2014-07-18T08:45:08Z:
main/php: fix CVE-2014-4721
fixes #3165