CVE-2014-4721
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 5.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 5.9% in the next 30 days (EPSS).
- Severity: 2.6 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 5.9% · EPSS, next 30 days
- Weakness
- CWE-200 · Information exposure
- Record status
- Modified
Affected
- PHP < 5.3.29
- PHP < 5.4.30
- PHP < 5.5.14
- Debian Linux 7.0
- Debian Linux 8.0
Attack profile CVSS 2.0 · 2.6
- Attack vector
- Network
- Complexity
- High
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
Raw vector
AV:N/AC:H/Au:N/C:P/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2014-4721.md and follow it. Check whether this project is affected by CVE-2014-4721. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.php.net/ChangeLog-5.php
- https://bugs.php.net/bug.php?id=67498
- http://www.php.net/ChangeLog-5.php
- https://bugs.php.net/bug.php?id=67498
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
- https://bugs.php.net/bug.php?id=67498
- https://www.sektioneins.de/en/blog/14-07-04-phpinfo-infoleak.html
- 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