CVE-2014-5120
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v2.0•MEDIUM•Score: 6.4AV:N/AC:L/Au:N/C:N/I:P/A:P
EPSS Trends
Current EPSS score: 8.77%• Percentile: 93%
Techniques & Countermeasures
- CWE-20•Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Affected Systems
- Unknown•PHP
5.4.0 | 5.4.0:beta2 | 5.4.0:rc2 | 5.4.1 | 5.4.2 | 5.4.3 | 5.4.4 | 5.4.5 | 5.4.6 | 5.4.7 | 5.4.8 | 5.4.9 | 5.4.10 | 5.4.11 | 5.4.12 | 5.4.12:rc1 | 5.4.12:rc2 | 5.4.13 | 5.4.13:rc1 | 5.4.14 | 5.4.14:rc1 | 5.4.15 | 5.4.15:rc1 | 5.4.16:rc1 | 5.4.17 | 5.4.18 | 5.4.19 | 5.4.20 | 5.4.21 | 5.4.22 | 5.4.23 | 5.4.24 | 5.4.25 | 5.4.26 | 5.4.27 | 5.4.28 | 5.4.29 | 5.4.30 | 5.4.31 | 5.5.0 | 5.5.0:alpha1 | 5.5.0:alpha2 | 5.5.0:alpha3 | 5.5.0:alpha4 | 5.5.0:alpha5 | 5.5.0:alpha6 | 5.5.0:beta1 | 5.5.0:beta2 | 5.5.0:beta3 | 5.5.0:beta4 | 5.5.0:rc1 | 5.5.0:rc2 | 5.5.1 | 5.5.2 | 5.5.3 | 5.5.4 | 5.5.5 | 5.5.6 | 5.5.7 | 5.5.8 | 5.5.9 | 5.5.10 | 5.5.11 | 5.5.12 | 5.5.13 | 5.5.14 | 5.5.15
References (9)
- https://support.apple.com/HT204659
- http://rhn.redhat.com/errata/RHSA-2014-1766.html
- https://bugs.php.net/bug.php?id=67730
- http://php.net/ChangeLog-5.php
- http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html
- http://rhn.redhat.com/errata/RHSA-2014-1327.html
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- http://rhn.redhat.com/errata/RHSA-2014-1765.html
- http://lists.opensuse.org/opensuse-updates/2014-09/msg00024.html