php: type confusion issue in phpinfo() leading to information leak
Published Jul 6, 2014
2.6
LOWCVSS 2.0
EPSS 5.87%
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
No data.
Configuration 1
Configuration 2
- 7.0
- 8.0
No data.
Red Hat Enterprise Linux 5
php53-0:5.3.3-23.el5_10
Fixed · RHSA-2014:1012
Red Hat Enterprise Linux 6
php-0:5.3.3-27.el6_5.1
Fixed · RHSA-2014:1012
Red Hat Enterprise Linux 7
php-0:5.4.16-23.el7_0
Fixed · RHSA-2014:1013
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6
php54-php-0:5.4.16-22.el6
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6
php55-php-0:5.5.6-13.el6
Fixed · RHSA-2014:1766
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS
php54-php-0:5.4.16-22.el6
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS
php55-php-0:5.5.6-13.el6
Fixed · RHSA-2014:1766
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUS
php54-php-0:5.4.16-22.el6
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUS
php55-php-0:5.5.6-13.el6
Fixed · RHSA-2014:1766
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUS
php54-php-0:5.4.16-22.el6
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUS
php55-php-0:5.5.6-13.el6
Fixed · RHSA-2014:1766
Red Hat Software Collections 1 for Red Hat Enterprise Linux 7
php54-php-0:5.4.16-22.el7
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 7
php55-php-0:5.5.6-13.el7
Fixed · RHSA-2014:1766
Red Hat Enterprise Linux 5
php
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | php53-0:5.3.3-23.el5_10 | Fixed | RHSA-2014:1012 |
| Red Hat Enterprise Linux 6 | php-0:5.3.3-27.el6_5.1 | Fixed | RHSA-2014:1012 |
| Red Hat Enterprise Linux 7 | php-0:5.4.16-23.el7_0 | Fixed | RHSA-2014:1013 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6 | php54-php-0:5.4.16-22.el6 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6 | php55-php-0:5.5.6-13.el6 | Fixed | RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS | php54-php-0:5.4.16-22.el6 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS | php55-php-0:5.5.6-13.el6 | Fixed | RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUS | php54-php-0:5.4.16-22.el6 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUS | php55-php-0:5.5.6-13.el6 | Fixed | RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUS | php54-php-0:5.4.16-22.el6 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUS | php55-php-0:5.5.6-13.el6 | Fixed | RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 7 | php54-php-0:5.4.16-22.el7 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 7 | php55-php-0:5.5.6-13.el7 | Fixed | RHSA-2014:1766 |
| Red Hat Enterprise Linux 5 | php | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat classifies this as a security issue, however it is suggested that a properly secured PHP install should disable the phpinfo() function.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:H/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (33 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 5.87% (0.05868) | 92.98th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.71% (0.05710) | 92.01th | v5 (v2026.06.15) |
| Apr 29, 2026 | 9.89% (0.09887) | 93.02th | v4 (v2025.03.14) |
| Jan 20, 2026 | 8.65% (0.08651) | 92.18th | v4 (v2025.03.14) |
| Jan 4, 2026 | 9.94% (0.09939) | 92.78th | v4 (v2025.03.14) |
| Jan 1, 2026 | 8.76% (0.08756) | 92.29th | v4 (v2025.03.14) |
| Dec 28, 2025 | 9.94% (0.09939) | 92.77th | v4 (v2025.03.14) |
| Dec 27, 2025 | 4.62% (0.04622) | 88.97th | v4 (v2025.03.14) |
| Dec 4, 2025 | 9.94% (0.09939) | 92.75th | v4 (v2025.03.14) |
| Dec 1, 2025 | 8.76% (0.08756) | 92.21th | v4 (v2025.03.14) |
| Nov 4, 2025 | 9.94% (0.09939) | 92.70th | v4 (v2025.03.14) |
| Nov 1, 2025 | 8.76% (0.08756) | 92.16th | v4 (v2025.03.14) |
| Oct 28, 2025 | 9.94% (0.09939) | 92.68th | v4 (v2025.03.14) |
| Oct 27, 2025 | 4.62% (0.04622) | 88.80th | v4 (v2025.03.14) |
| Oct 4, 2025 | 9.94% (0.09939) | 92.74th | v4 (v2025.03.14) |
| Oct 1, 2025 | 8.76% (0.08756) | 92.20th | v4 (v2025.03.14) |
| Jul 30, 2025 | 3.94% (0.03945) | 87.89th | v4 (v2025.03.14) |
| Jul 4, 2025 | 9.89% (0.09887) | 92.64th | v4 (v2025.03.14) |
| Jul 1, 2025 | 8.48% (0.08484) | 91.96th | v4 (v2025.03.14) |
| Jun 4, 2025 | 9.89% (0.09887) | 92.58th | v4 (v2025.03.14) |
| Jun 1, 2025 | 8.48% (0.08484) | 91.93th | v4 (v2025.03.14) |
| May 4, 2025 | 9.89% (0.09887) | 92.55th | v4 (v2025.03.14) |
| May 1, 2025 | 8.48% (0.08484) | 91.91th | v4 (v2025.03.14) |
| Mar 17, 2025 | 9.94% (0.09939) | 92.45th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.75% (0.00749) | 81.64th | v3 (v2023.03.01) |
| Jul 4, 2024 | 0.75% (0.00749) | 81.08th | v3 (v2023.03.01) |
| Feb 16, 2024 | 0.73% (0.00728) | 80.14th | v3 (v2023.03.01) |
| Jul 31, 2023 | 0.74% (0.00742) | 78.45th | v3 (v2023.03.01) |
| May 8, 2023 | 0.94% (0.00940) | 80.77th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.68% (0.00675) | 76.71th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (18)
- http://lists.opensuse.org/opensuse-updates/2014-07/msg00035.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2014-09/msg00046.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2014-1765.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2014-1766.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://secunia.com/advisories/54553 third-party-advisoryx_refsource_SECUNIABroken Link
- http://secunia.com/advisories/59794 third-party-advisoryx_refsource_SECUNIABroken Link
- http://secunia.com/advisories/59831 third-party-advisoryx_refsource_SECUNIABroken Link
- http://twitter.com/mikispag/statuses/485713462258302976 x_refsource_MISCThird Party Advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21683486 x_refsource_CONFIRMThird Party Advisory
- http://www.debian.org/security/2014/dsa-2974 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html x_refsource_CONFIRMThird Party Advisory
- http://www.php.net/ChangeLog-5.php x_refsource_CONFIRMVendor Advisory
- https://access.redhat.com/security/cve/CVE-2014-4721 Vendor Advisory
- https://bugs.php.net/bug.php?id=67498 x_refsource_CONFIRMVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1116662 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2014-4721
- https://www.cve.org/CVERecord?id=CVE-2014-4721
- https://www.sektioneins.de/en/blog/14-07-04-phpinfo-infoleak.html x_refsource_MISCExploitThird Party Advisory
Change history (0)
No recorded changes yet.