CVEvulnerability
CVE-2014-5120
6.4 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2014-08-23
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 6.4 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:P
- Weaknesses
- CWE-20
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 configurations
• php php 5.4.0
• php php 5.4.1
• php php 5.4.2
• php php 5.4.3
• php php 5.4.4
• php php 5.4.5
• php php 5.4.6
• php php 5.4.7
• php php 5.4.8
• php php 5.4.9
• php php 5.4.10
• php php 5.4.11
• php php 5.4.12
• php php 5.4.13
• php php 5.4.14
• php php 5.4.15
• php php 5.4.16
• php php 5.4.17
• php php 5.4.18
• php php 5.4.19
• php php 5.4.20
• php php 5.4.21
• php php 5.4.22
• php php 5.4.23
• php php 5.4.24
• php php 5.4.25
• php php 5.4.26
• php php 5.4.27
• php php 5.4.28
• php php 5.4.29
• php php 5.4.30
• php php 5.4.31
• php php 5.5.0
• php php 5.5.1
• php php 5.5.2
• php php 5.5.3
• php php 5.5.4
• php php 5.5.5
• php php 5.5.6
• php php 5.5.7
• php php 5.5.8
• php php 5.5.9
• php php 5.5.10
• php php 5.5.11
• php php 5.5.12
• php php 5.5.13
• php php 5.5.14
• php php 5.5.15
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html lists.apple.com
- http://lists.opensuse.org/opensuse-updates/2014-09/msg00024.html lists.opensuse.org
- http://php.net/ChangeLog-5.php php.net
- 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 rhn.redhat.com
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html www.oracle.com
- https://bugs.php.net/bug.php?id=67730 Vendor Advisory
- https://support.apple.com/HT204659 support.apple.com
- http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html lists.apple.com
- http://lists.opensuse.org/opensuse-updates/2014-09/msg00024.html lists.opensuse.org
- http://php.net/ChangeLog-5.php php.net
- 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 rhn.redhat.com
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html www.oracle.com
- https://bugs.php.net/bug.php?id=67730 Vendor Advisory
- https://support.apple.com/HT204659 support.apple.com