CVE-2014-9427

UnknownEPSS 16.89%

Last modified

CVE-2014-9427 is a vulnerability of currently unknown severity. sapi/cgi/cgi_main.c in the CGI component in PHP through 5.4.36, 5.5.x through 5.5.20, and 5.6.x through 5.6.4, when mmap is used to read a .php file, does not properly consider the mapping's length during processing of an invalid file that begins with a # character and lacks a newline character, which causes an out-of-bounds read and might (1) allow remote attackers to obtain sensitive information from php-cgi process memory by leveraging the ability to upload a .php file or (2) trigger unexpected code execution if a valid PHP script is present in memory locations adjacent to the mapping.. EPSS estimates a 16.89% chance of exploitation in the next 30 days.

Description

sapi/cgi/cgi_main.c in the CGI component in PHP through 5.4.36, 5.5.x through 5.5.20, and 5.6.x through 5.6.4, when mmap is used to read a .php file, does not properly consider the mapping's length during processing of an invalid file that begins with a # character and lacks a newline character, which causes an out-of-bounds read and might (1) allow remote attackers to obtain sensitive information from php-cgi process memory by leveraging the ability to upload a .php file or (2) trigger unexpected code execution if a valid PHP script is present in memory locations adjacent to the mapping.

Metrics

EPSS Probability
16.89%

96.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
PhpPhp1.0
PhpPhp2.0
PhpPhp2.0b10
PhpPhp3.0
PhpPhp3.0.1
PhpPhp3.0.2
PhpPhp3.0.3
PhpPhp3.0.4
PhpPhp3.0.5
PhpPhp3.0.6
PhpPhp3.0.7
PhpPhp3.0.8
PhpPhp3.0.9
PhpPhp3.0.10
PhpPhp3.0.11
PhpPhp3.0.12
PhpPhp3.0.13
PhpPhp3.0.14
PhpPhp3.0.15
PhpPhp3.0.16
PhpPhp3.0.17
PhpPhp3.0.18
PhpPhp4.0Beta 4 Patch1
PhpPhp4.0.0
PhpPhp4.0.1
PhpPhp4.0.2
PhpPhp4.0.3
PhpPhp4.0.4
PhpPhp4.0.5
PhpPhp4.0.6
PhpPhp4.0.7
PhpPhp4.1.0
PhpPhp4.1.1
PhpPhp4.1.2
PhpPhp4.2.0
PhpPhp4.2.1
PhpPhp4.2.2
PhpPhp4.2.3
PhpPhp4.3.0
PhpPhp4.3.1
PhpPhp4.3.2
PhpPhp4.3.3
PhpPhp4.3.4
PhpPhp4.3.5
PhpPhp4.3.6
PhpPhp4.3.7
PhpPhp4.3.8
PhpPhp4.3.9
PhpPhp4.3.10
PhpPhp4.3.11

Showing 50 of 170 affected configurations. See NVD for the full list.

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2014-9427?
sapi/cgi/cgi_main.c in the CGI component in PHP through 5.4.36, 5.5.x through 5.5.20, and 5.6.x through 5.6.4, when mmap is used to read a .php file, does not properly consider the mapping's length during processing of an invalid file that begins with a # character and lacks a newline character, which causes an out-of-bounds read and might (1) allow remote attackers to obtain sensitive information from php-cgi process memory by leveraging the ability to upload a .php file or (2) trigger unexpected code execution if a valid PHP script is present in memory locations adjacent to the mapping.
How severe is CVE-2014-9427?
Severity scoring for CVE-2014-9427 is pending analysis. The EPSS model estimates a 16.89% probability of exploitation in the next 30 days.
How do I fix CVE-2014-9427?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2014-9427?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST