Skip to content
Fencer Intel
low 2.6

CVE-2014-4721 json

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 12y ago modified 4mo ago also EUVD-2014-4640

cvss
2.6
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.9%
EPSS 5.9% chance of exploitation in 30 days, percentile 93%
public exploits
0
none known

Summary

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.

Patch / fix

  • php php 5.3.29, 5.4.30, 5.5.14
  • php5 Ubuntu 14.04 LTS 5.5.9+dfsg-1ubuntu4.3

ubuntu advisories UBUNTU-CVE-2014-4721

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • php RHEL 6 5.3.3-27.el6_5.1
  • php53 RHEL 5 5.3.3-23.el5_10
  • php-gd RHEL 6 5.3.3-27.el6_5.1
  • php-cli RHEL 6 5.3.3-27.el6_5.1
  • php-dba RHEL 6 5.3.3-27.el6_5.1
  • php-fpm RHEL 6 5.3.3-27.el6_5.1
  • php-pdo RHEL 6 5.3.3-27.el6_5.1
  • php-xml RHEL 6 5.3.3-27.el6_5.1

red hat advisories RHSA-2014:1012RHSA-2014:1766RHSA-2014:1765RHSA-2014:1013

  • php53 SLES 11 SP2-LTSS 5.3.17-47.1

suse advisories SUSE-SU-2016:1638-1

Is CVE-2014-4721 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2014-4721 updated cvss 2.6

php: type confusion issue in phpinfo() leading to information leak

  • Red Hat Enterprise Linux 5 php
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux (v. 5 server) php53 5.3.3-23.el5_10, php53-gd 5.3.3-23.el5_10, php53-cli 5.3.3-23.el5_10, php53-dba 5.3.3-23.el5_10, php53-pdo 5.3.3-23.el5_10, php53-xml 5.3.3-23.el5_10, +14 more
    fixed: vendor fix RHSA-2014:1012
  • Red Hat Enterprise Linux Client Optional (v. 7) php 5.4.16-23.el7_0, php-gd 5.4.16-23.el7_0, php-cli 5.4.16-23.el7_0, php-dba 5.4.16-23.el7_0, php-fpm 5.4.16-23.el7_0, php-pdo 5.4.16-23.el7_0, +18 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) php 5.4.16-23.el7_0, php-gd 5.4.16-23.el7_0, php-cli 5.4.16-23.el7_0, php-dba 5.4.16-23.el7_0, php-fpm 5.4.16-23.el7_0, php-pdo 5.4.16-23.el7_0, +18 more
    fixed: vendor fix RHSA-2014:1013
  • Red Hat Enterprise Linux Desktop Optional (v. 6) php 5.3.3-27.el6_5.1, php-gd 5.3.3-27.el6_5.1, php-cli 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, +20 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php53 5.3.3-23.el5_10, php53-gd 5.3.3-23.el5_10, php53-cli 5.3.3-23.el5_10, php53-dba 5.3.3-23.el5_10, php53-pdo 5.3.3-23.el5_10, php53-xml 5.3.3-23.el5_10, +14 more Red Hat Enterprise Linux HPC Node (v. 6) php 5.3.3-27.el6_5.1, php-cli 5.3.3-27.el6_5.1, php-common 5.3.3-27.el6_5.1 Red Hat Enterprise Linux HPC Node Optional (v. 6) php 5.3.3-27.el6_5.1, php-gd 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, php-xml 5.3.3-27.el6_5.1, +18 more Red Hat Enterprise Linux Server (v. 6) php 5.3.3-27.el6_5.1, php-gd 5.3.3-27.el6_5.1, php-cli 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, php-xml 5.3.3-27.el6_5.1, php-ldap 5.3.3-27.el6_5.1, +6 more
    fixed: vendor fix RHSA-2014:1012
  • Red Hat Enterprise Linux Server (v. 7) php 5.4.16-23.el7_0, php-gd 5.4.16-23.el7_0, php-cli 5.4.16-23.el7_0, php-pdo 5.4.16-23.el7_0, php-xml 5.4.16-23.el7_0, php-ldap 5.4.16-23.el7_0, +8 more
    fixed: vendor fix RHSA-2014:1013
  • Red Hat Enterprise Linux Server Optional (v. 6) php 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-zts 5.3.3-27.el6_5.1, php-imap 5.3.3-27.el6_5.1, php-intl 5.3.3-27.el6_5.1, +9 more
    fixed: vendor fix RHSA-2014:1012
  • Red Hat Enterprise Linux Server Optional (v. 7) php-dba 5.4.16-23.el7_0, php-fpm 5.4.16-23.el7_0, php-intl 5.4.16-23.el7_0, php-snmp 5.4.16-23.el7_0, php-bcmath 5.4.16-23.el7_0, php-pspell 5.4.16-23.el7_0, +4 more
    fixed: vendor fix RHSA-2014:1013
  • Red Hat Enterprise Linux Workstation (v. 6) php 5.3.3-27.el6_5.1, php-gd 5.3.3-27.el6_5.1, php-cli 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, php-xml 5.3.3-27.el6_5.1, php-ldap 5.3.3-27.el6_5.1, +6 more
    fixed: vendor fix RHSA-2014:1012
show 4 more
  • Red Hat Enterprise Linux Workstation (v. 7) php 5.4.16-23.el7_0, php-gd 5.4.16-23.el7_0, php-cli 5.4.16-23.el7_0, php-pdo 5.4.16-23.el7_0, php-xml 5.4.16-23.el7_0, php-ldap 5.4.16-23.el7_0, +8 more
    fixed: vendor fix RHSA-2014:1013
  • Red Hat Enterprise Linux Workstation Optional (v. 6) php 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-zts 5.3.3-27.el6_5.1, php-imap 5.3.3-27.el6_5.1, php-intl 5.3.3-27.el6_5.1, +9 more
    fixed: vendor fix RHSA-2014:1012
  • Red Hat Enterprise Linux Workstation Optional (v. 7) php-dba 5.4.16-23.el7_0, php-fpm 5.4.16-23.el7_0, php-intl 5.4.16-23.el7_0, php-snmp 5.4.16-23.el7_0, php-bcmath 5.4.16-23.el7_0, php-pspell 5.4.16-23.el7_0, +4 more
    fixed: vendor fix RHSA-2014:1013
  • Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) php55-php 5.5.6-13.el6, php54-php 5.4.16-22.el6, php55-php-gd 5.5.6-13.el6, php54-php-gd 5.4.16-22.el6, php55-php-cli 5.5.6-13.el6, php55-php-dba 5.5.6-13.el6, +44 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7) php55-php 5.5.6-13.el7, php54-php 5.4.16-22.el7, php55-php-gd 5.5.6-13.el7, php54-php-gd 5.4.16-22.el7, php55-php-cli 5.5.6-13.el7, php55-php-dba 5.5.6-13.el7, +40 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4) php55-php 5.5.6-13.el6, php54-php 5.4.16-22.el6, php55-php-gd 5.5.6-13.el6, php54-php-gd 5.4.16-22.el6, php55-php-cli 5.5.6-13.el6, php55-php-dba 5.5.6-13.el6, +44 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.5) php55-php 5.5.6-13.el6, php54-php 5.4.16-22.el6, php55-php-gd 5.5.6-13.el6, php54-php-gd 5.4.16-22.el6, php55-php-cli 5.5.6-13.el6, php55-php-dba 5.5.6-13.el6, +44 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.6) php55-php 5.5.6-13.el6, php54-php 5.4.16-22.el6, php55-php-gd 5.5.6-13.el6, php54-php-gd 5.4.16-22.el6, php55-php-cli 5.5.6-13.el6, php55-php-dba 5.5.6-13.el6, +44 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) php55-php 5.5.6-13.el6, php54-php 5.4.16-22.el6, php55-php-gd 5.5.6-13.el6, php54-php-gd 5.4.16-22.el6, php55-php-cli 5.5.6-13.el6, php55-php-dba 5.5.6-13.el6, +44 more
    +1 more products
    Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7) php55-php 5.5.6-13.el7, php54-php 5.4.16-22.el7, php55-php-gd 5.5.6-13.el7, php54-php-gd 5.4.16-22.el7, php55-php-cli 5.5.6-13.el7, php55-php-dba 5.5.6-13.el7, +40 more
    fixed: vendor fix RHSA-2014:1765

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

5.87% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • sektioneins.de https://www.sektioneins.de/en/blog/14-07-04-phpinfo-infoleak.html referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 2.6 AV:N/AC:H/Au:N/C:P/I:N/A:N

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.