First published: Thu Jul 19 2018(Updated: )
An issue was discovered in ext/standard/link_win32.c in PHP before 5.6.37, 7.0.x before 7.0.31, 7.1.x before 7.1.20, and 7.2.x before 7.2.8. The linkinfo function on Windows doesn't implement the open_basedir check. This could be abused to find files on paths outside of the allowed directories.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
PHP | <7.0.31 | 7.0.31 |
PHP | <5.6.37 | |
PHP | >=7.0.0<7.0.31 | |
PHP | >=7.1.0<7.1.20 | |
PHP | >=7.2.0<7.2.8 | |
NetApp Storage Automation Store |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-15132 is considered a medium severity vulnerability due to its ability to expose sensitive file paths.
To fix CVE-2018-15132, upgrade PHP to versions 5.6.37, 7.0.31, 7.1.20, or 7.2.8 or later.
CVE-2018-15132 affects PHP versions prior to 5.6.37, 7.0.x before 7.0.31, 7.1.x before 7.1.20, and 7.2.x before 7.2.8 on Windows.
The impact of CVE-2018-15132 is that it allows attackers to bypass the open_basedir restriction, potentially leading to information disclosure.
As a temporary workaround for CVE-2018-15132, you could restrict access to sensitive directories while planning to update PHP.