Improper input validation in PHP
CVE-2015-4598
PHP before 5.4.42, 5.5.x before 5.5.26, and 5.6.x before 5.6.10 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to read or write to arbitrary files via crafted input to an application that calls (1) a DOMDocument save method or (2) the GD imagepsloadfont function, as demonstrated by a filename\0.html attack that bypasses an intended configuration in which client users may write to only .html files.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.039 (90.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 90th percentile — 90.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.039 · newest: 0.039 · change: 0.000
Affected products
- PHP — versions 5.5.0, 5.5.1, 5.5.2
- Red Hat Enterprise Linux — versions 6.0, 7.0
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Hpc Node — versions 7.0
- Red Hat Enterprise Linux Hpc Node Eus — versions 7.1
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Server Eus — versions 7.1
- Red Hat Enterprise Linux Workstation — versions 7.0
Weakness classification (CWE)
References
- rhn.redhat.com/errata/RHSA-2015-1187.html (vendor-advisory)
- www.securitytracker.com/id/1032709 (vdb-entry)
- rhn.redhat.com/errata/RHSA-2015-1186.html (vendor-advisory)
- www.debian.org/security/2015/dsa-3344 (vendor-advisory)
- rhn.redhat.com/errata/RHSA-2015-1219.html (vendor-advisory)
- www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- php.net/ChangeLog-5.php
- bugs.php.net/bug.php
- www.openwall.com/lists/oss-security/2015/06/16/12 (mailing-list)
- www.securityfocus.com/bid/75244 (vdb-entry)
Frequently asked questions
- What is CVE-2015-4598?
- CVE-2015-4598 is a medium-severity vulnerability in PHP, classified under Improper Input Validation. CVSS score: 6.5/10. Published 2016-05-16.
- How severe is CVE-2015-4598?
- Medium severity. CVSS v3 base score is 6.5 out of 10.