PT-2015-3248 · Php+4 · Php+4
Thoger
·
Published
2015-06-17
·
Updated
2019-04-22
·
CVE-2015-4598
CVSS v2.0
7.5
High
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions
PHP versions prior to 5.4.42
PHP versions 5.5.x prior to 5.5.26
PHP versions 5.6.x prior to 5.6.10
Description
The issue is related to the lack of checking for
%00 sequences in path names, which can be exploited by a remote attacker to read or write to arbitrary files. This can be achieved by providing specially crafted input to an application that uses the DOMDocument save method or the GD imagepsloadfont function. For example, an attack using a filename like filename0.html could bypass intended configuration restrictions, such as only allowing clients to write to .html files.Recommendations
For PHP versions prior to 5.4.42, update to version 5.4.42 or later.
For PHP versions 5.5.x prior to 5.5.26, update to version 5.5.26 or later.
For PHP versions 5.6.x prior to 5.6.10, update to version 5.6.10 or later.
As a temporary workaround, consider restricting the use of the
DOMDocument save method and the GD imagepsloadfont function until a patch is applied.Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Centos
Php
Red Hat
Suse
Ubuntu