Name | CVE-2018-15132 |
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. |
Source | CVE (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 Package | Release | Version | Status |
---|
php5 (PTS) | jessie, jessie (lts) | 5.6.40+dfsg-0+deb8u21 | fixed |
php7.0 (PTS) | stretch (security) | 7.0.33-0+deb9u12 | fixed |
| stretch (lts), stretch | 7.0.33-0+deb9u19 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
php5 | source | (unstable) | (not affected) | | | |
php7.0 | source | (unstable) | (not affected) | | | |
php7.1 | source | (unstable) | (not affected) | | | |
php7.2 | source | (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