What’s Vulnerable › Vulnerabilities
CVE-2012-1171
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2014-02-15 · updated 2026-06-16
- Weakness: CWE-200
Description
The libxml RSHUTDOWN function in PHP 5.x allows remote attackers to bypass the open_basedir protection mechanism and read arbitrary files via vectors involving a stream_close method call during use of a custom stream wrapper.
Affected products
- PHP: 5.0.0, 5.0.0-beta1, 5.0.0-beta2, 5.0.0-beta3, 5.0.0-beta4, 5.0.0-rc1 (+106)
References
- https://bugs.php.net/bug.php?id=61367
- https://bugzilla.redhat.com/show_bug.cgi?id=802591
- https://github.com/php/php-src/blob/master/ext/libxml/tests/bug61367-read.phpt
- https://github.com/php/php-src/blob/master/ext/libxml/tests/bug61367-write.phpt
- https://bugs.php.net/bug.php?id=61367
- https://bugzilla.redhat.com/show_bug.cgi?id=802591
- https://github.com/php/php-src/blob/master/ext/libxml/tests/bug61367-read.phpt
- https://github.com/php/php-src/blob/master/ext/libxml/tests/bug61367-write.phpt
Get alerted when CVE-2012-1171 or the next vulnerability affects your stack