Information disclosure in PHP
CVE-2015-3412
PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to read arbitrary files via crafted input to an application that calls the stream_resolve_include_path function in ext/standard/streamsfuncs.c, as demonstrated by a filename\0.extension attack that bypasses an intended configuration in which client users may read files with only one specific extension.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.039, 90.5th 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)
- bugs.php.net/bug.php (Exploit, Vendor Advisory)
- www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- git.php.net/
- php.net/ChangeLog-5.php (Vendor Advisory)
- RHSA-2015:1135 (vendor-advisory)
- www.securityfocus.com/bid/75250 (vdb-entry)
- RHSA-2015:1218 (vendor-advisory)