What’s Vulnerable › Vulnerabilities
CVE-2018-15132
- Severity: high (CVSS 7.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-08-07 · updated 2026-06-17
- Weakness: CWE-200
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
- NetApp Storage Automation Store: all versions
- PHP: before 5.6.37; from 7.0.0 before 7.0.31; from 7.1.0 before 7.1.20; from 7.2.0 before 7.2.8 — fixed in 5.6.37, 7.0.31, 7.1.20, 7.2.8
How to fix
Upgrade to a fixed version: PHP 5.6.37, 7.0.31, 7.1.20, 7.2.8. Check the vendor advisory for mitigations.
References
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- https://bugs.php.net/bug.php?id=76459
- https://github.com/php/php-src/commit/f151e048ed27f6f4eef729f3310d053ab5da71d4
- https://security.netapp.com/advisory/ntap-20181107-0003/
- https://www.tenable.com/security/tns-2018-12
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- https://bugs.php.net/bug.php?id=76459
- https://github.com/php/php-src/commit/f151e048ed27f6f4eef729f3310d053ab5da71d4
- https://security.netapp.com/advisory/ntap-20181107-0003/
- https://www.tenable.com/security/tns-2018-12
Get alerted when CVE-2018-15132 or the next vulnerability affects your stack