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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | php5 | 5.4.4-14+deb7u12 | DSA-2974-1 |
| Debian 6.0 | php5 | 5.3.3-7+squeeze21 | DLA-0018-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | php5 | 5.5.9+dfsg-1ubuntu4.3 | USN-2276-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | php +24 | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| RHEL 6 | php +26 | 5.3.3-27.el6_5.1 | RHSA-2014:1012 |
| RHEL 5 | php53 +20 | 5.3.3-23.el5_10 | RHSA-2014:1012 |
| RHEL 1 | php54-php +24 | 5.4.16-22.el6 | RHSA-2014:1765 |
| RHEL 1 | php55-php +26 | 5.5.6-13.el6 | RHSA-2014:1766 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP2 | php53 | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | php +24 | 5.4.16-23.el7_0 | ELSA-2014-1013 |
Advisories 9
- RHSA-2014:1766 Red Hat Security Advisory: php55-php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:1765 Red Hat Security Advisory: php54-php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:1012 Red Hat Security Advisory: php53 and php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:1013 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-2276-1 php5 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-2974-1 php5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-0018-1 php5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2016:1638-1 Security update for php53 SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2014-1013 Moderate: php security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 6, 2014
References
- http://www-01.ibm.com/support/docview.wss?uid=swg21683486
- 54553 third-party-advisory
- RHSA-2014:1766 vendor-advisory
- DSA-2974 vendor-advisory
- https://www.sektioneins.de/en/blog/14-07-04-phpinfo-infoleak.html
- 59794 third-party-advisory
- http://www.php.net/ChangeLog-5.php
- openSUSE-SU-2014:0945 vendor-advisory
- https://bugs.php.net/bug.php?id=67498
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- RHSA-2014:1765 vendor-advisory
- http://twitter.com/mikispag/statuses/485713462258302976
- 59831 third-party-advisory
- openSUSE-SU-2014:1236 vendor-advisory