What’s Vulnerable › Vulnerabilities
CVE-2014-4721
- Severity: low (CVSS 2.6 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2014-07-06 · updated 2026-06-17
- Weakness: CWE-200
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
- Debian Linux: 7.0, 8.0
- PHP: from 5.3.0 before 5.3.29; from 5.4.0 before 5.4.30; from 5.5.0 before 5.5.14 — fixed in 5.3.29, 5.4.30, 5.5.14
How to fix
Upgrade to a fixed version: PHP 5.3.29, 5.4.30, 5.5.14. Check the vendor advisory for mitigations.
References
- http://lists.opensuse.org/opensuse-updates/2014-07/msg00035.html
- http://lists.opensuse.org/opensuse-updates/2014-09/msg00046.html
- http://rhn.redhat.com/errata/RHSA-2014-1765.html
- http://rhn.redhat.com/errata/RHSA-2014-1766.html
- http://secunia.com/advisories/54553
- http://secunia.com/advisories/59794
- http://secunia.com/advisories/59831
- http://twitter.com/mikispag/statuses/485713462258302976
- http://www-01.ibm.com/support/docview.wss?uid=swg21683486
- http://www.debian.org/security/2014/dsa-2974
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- http://www.php.net/ChangeLog-5.php
Get alerted when CVE-2014-4721 or the next vulnerability affects your stack