CVE-2018-15132

NameCVE-2018-15132
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php5 (PTS)jessie, jessie (lts)5.6.40+dfsg-0+deb8u21fixed
php7.0 (PTS)stretch (security)7.0.33-0+deb9u12fixed
stretch (lts), stretch7.0.33-0+deb9u19fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php5source(unstable)(not affected)
php7.0source(unstable)(not affected)
php7.1source(unstable)(not affected)
php7.2source(unstable)(not affected)

Notes

- php7.2 <not-affected> (Windows-specific)
- php7.1 <not-affected> (Windows-specific)
- php7.0 <not-affected> (Windows-specific)
- php5 <not-affected> (Windows-specific)
Fixed in 5.6.37, 7.0.31, 7.1.20, 7.2.8
PHP Bug: https://bugs.php.net/bug.php?id=76459
https://github.com/php/php-src/commit/f151e048ed27f6f4eef729f3310d053ab5da71d4

Search for package or bug name: Reporting problems