PT-2015-3249 · Php+4 · Php+4
Published
2015-06-23
·
Updated
2019-04-22
·
CVE-2015-3412
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
PHP versions prior to 5.4.40
PHP versions 5.5.x prior to 5.5.24
PHP versions 5.6.x prior to 5.6.8
Description
The issue is related to the lack of checking for %00 sequences in pathnames, which could allow remote attackers to read arbitrary files by providing crafted input to an application that uses the stream resolve include path function. This can be exploited by using a filename0.extension attack, bypassing intended configuration restrictions on file extensions that clients can read.
Recommendations
For PHP versions prior to 5.4.40, update to version 5.4.40 or later.
For PHP versions 5.5.x prior to 5.5.24, update to version 5.5.24 or later.
For PHP versions 5.6.x prior to 5.6.8, update to version 5.6.8 or later.
Exploit
Fix
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Centos
Php
Red Hat
Suse
Ubuntu