cve/2014/CVE-2014-4721.md
2024-06-18 02:51:15 +02:00

19 lines
1.1 KiB
Markdown

### [CVE-2014-4721](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-4721)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- https://www.sektioneins.de/en/blog/14-07-04-phpinfo-infoleak.html
#### Github
No PoCs found on GitHub currently.