BlogSafe.org

PHP CVEs

Vulnerabilities in the PHP language itself, and which PHP versions they affect.

← Back to CVE list

CVE-2018-15132

HIGH 7.5 CVSS 3.0
Published
August 7, 2018
Last modified
June 17, 2026
NVD status
Modified
Reported by
cve@mitre.org
Weakness
CWE-200
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

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