Vulnerabilities · 2012 · Php
CVE-2012-1171
Php vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/php/php-src/blob/master/ext/libxml/tests/bug61367-read.phpt · Vendor Advisory
- bugs.php.net/bug.php?id=61367
- bugzilla.redhat.com/show_bug.cgi?id=802591
- github.com/php/php-src/blob/master/ext/libxml/tests/bug61367-write.phpt
- nvd.nist.gov/vuln/detail/CVE-2012-1171
- cve.org/CVERecord?id=CVE-2012-1171
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.