CVE-2014-5120

UnknownEPSS 16.93%

Last modified

CVE-2014-5120 is a vulnerability of currently unknown severity. gd_ctx.c in the GD component in PHP 5.4.x before 5.4.32 and 5.5.x before 5.5.16 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to overwrite arbitrary files via crafted input to an application that calls the (1) imagegd, (2) imagegd2, (3) imagegif, (4) imagejpeg, (5) imagepng, (6) imagewbmp, or (7) imagewebp function.. EPSS estimates a 16.93% chance of exploitation in the next 30 days.

Description

gd_ctx.c in the GD component in PHP 5.4.x before 5.4.32 and 5.5.x before 5.5.16 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to overwrite arbitrary files via crafted input to an application that calls the (1) imagegd, (2) imagegd2, (3) imagegif, (4) imagejpeg, (5) imagepng, (6) imagewbmp, or (7) imagewebp function.

Metrics

EPSS Probability
16.93%

96.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
PhpPhp5.4.0
PhpPhp5.4.1
PhpPhp5.4.2
PhpPhp5.4.3
PhpPhp5.4.4
PhpPhp5.4.5
PhpPhp5.4.6
PhpPhp5.4.7
PhpPhp5.4.8
PhpPhp5.4.9
PhpPhp5.4.10
PhpPhp5.4.11
PhpPhp5.4.12
PhpPhp5.4.13
PhpPhp5.4.14
PhpPhp5.4.15
PhpPhp5.4.16Rc1
PhpPhp5.4.17
PhpPhp5.4.18
PhpPhp5.4.19
PhpPhp5.4.20
PhpPhp5.4.21
PhpPhp5.4.22
PhpPhp5.4.23
PhpPhp5.4.24
PhpPhp5.4.25
PhpPhp5.4.26
PhpPhp5.4.27
PhpPhp5.4.28
PhpPhp5.4.29
PhpPhp5.4.30
PhpPhp5.4.31
PhpPhp5.5.0
PhpPhp5.5.1
PhpPhp5.5.2
PhpPhp5.5.3
PhpPhp5.5.4
PhpPhp5.5.5
PhpPhp5.5.6
PhpPhp5.5.7
PhpPhp5.5.8
PhpPhp5.5.9
PhpPhp5.5.10
PhpPhp5.5.11
PhpPhp5.5.12
PhpPhp5.5.13
PhpPhp5.5.14
PhpPhp5.5.15

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2014-5120?
gd_ctx.c in the GD component in PHP 5.4.x before 5.4.32 and 5.5.x before 5.5.16 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to overwrite arbitrary files via crafted input to an application that calls the (1) imagegd, (2) imagegd2, (3) imagegif, (4) imagejpeg, (5) imagepng, (6) imagewbmp, or (7) imagewebp function.
How severe is CVE-2014-5120?
Severity scoring for CVE-2014-5120 is pending analysis. The EPSS model estimates a 16.93% probability of exploitation in the next 30 days.
How do I fix CVE-2014-5120?
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-5120?

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

Scan your code now

Source: NVD / NIST