CVE-2014-5120
MEDIUM
6.4
CVSS 2.0
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.
Affected products and versions
- PHP versions 5.4.0, 5.4.0beta2, 5.4.0rc2, 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.12rc1, 5.4.12rc2, 5.4.13, 5.4.13rc1, 5.4.14, 5.4.14rc1, 5.4.15, 5.4.15rc1, 5.4.16rc1, 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.0alpha1, 5.5.0alpha2, 5.5.0alpha3, 5.5.0alpha4, 5.5.0alpha5, 5.5.0alpha6, 5.5.0beta1, 5.5.0beta2, 5.5.0beta3, 5.5.0beta4, 5.5.0rc1, 5.5.0rc2, 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
- lists.apple.com http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2014-09/msg00024.html
- php.net http://php.net/ChangeLog-5.php
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2014-1327.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2014-1765.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2014-1766.html
- www.oracle.com http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- bugs.php.net https://bugs.php.net/bug.php?id=67730 Vendor Advisory
- support.apple.com https://support.apple.com/HT204659
- nvd.nist.gov Official NVD record