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.038, 90.1th percentile (scored ); unchanged over 30 days. About EPSS.
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
- RHSA-2015:1187 (vendor-advisory)
- www.securitytracker.com/id/1032709 (vdb-entry)
- RHSA-2015:1186 (vendor-advisory)
- DSA-3344 (vendor-advisory)
- RHSA-2015:1219 (vendor-advisory)
- www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- php.net/ChangeLog-5.php
- bugs.php.net/bug.php
- [oss-security] 20150616 Re: CVE Request: various issues in PHP (mailing-list)
- www.securityfocus.com/bid/75244 (vdb-entry)