CVE-2015-4598: Input Validation
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2015-4598?
CVE-2015-4598 is classified as having a medium severity level.
How do I fix CVE-2015-4598?
To fix CVE-2015-4598, upgrade PHP to versions 5.4.42, 5.5.26, or 5.6.10 or later.
What systems are affected by CVE-2015-4598?
CVE-2015-4598 affects PHP versions earlier than 5.4.42, 5.5.x before 5.5.26, and 5.6.x before 5.6.10.
Can CVE-2015-4598 lead to remote file access?
Yes, CVE-2015-4598 can allow remote attackers to read or write to arbitrary files.
What specific methods are vulnerable in CVE-2015-4598?
The vulnerability is present in the DOMDocument save method and the GD imagepsloadfont function.