Skip to content
OpenAdvisories
Unscored CVE-2014-4721 EUVD-2014-4640GHSA-crxc-8h2p-6c8g

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 …

Published Jul 6, 2014 · Updated Aug 6, 2024 · Assigned by debian

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.

ReleasePackageFixed inAdvisory
Debian 7 php5 5.4.4-14+deb7u12 DSA-2974-1
Debian 6.0 php5 5.3.3-7+squeeze21 DLA-0018-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.3 USN-2276-1
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
SLES 11 SP2 php53 5.3.17-47.1 SUSE-SU-2016:1638-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 php +24 5.4.16-23.el7_0 ELSA-2014-1013

Advisories 9

References