CVE-2018-15132
HIGH
7.5
CVSS 3.0
Description
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.
Affected products and versions
- PHP — Before 5.6.37
- PHP — From 7.0.0 (including) to 7.0.31 (excluding)
- PHP — From 7.1.0 (including) to 7.1.20 (excluding)
- PHP — From 7.2.0 (including) to 7.2.8 (excluding)
References
- php.net http://php.net/ChangeLog-5.php Vendor Advisory
- php.net http://php.net/ChangeLog-7.php Vendor Advisory
- bugs.php.net https://bugs.php.net/bug.php?id=76459 Exploit, Vendor Advisory
- github.com https://github.com/php/php-src/commit/f151e048ed27f6f4eef729f3310d053ab5da71d4 Patch, Third Party Advisory
- security.netapp.com https://security.netapp.com/advisory/ntap-20181107-0003/ Third Party Advisory
- www.tenable.com https://www.tenable.com/security/tns-2018-12 Third Party Advisory
- nvd.nist.gov Official NVD record