CVE-2012-1171

critical

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.

References

https://github.com/php/php-src/blob/master/ext/libxml/tests/bug61367-write.phpt

https://github.com/php/php-src/blob/master/ext/libxml/tests/bug61367-read.phpt

https://bugzilla.redhat.com/show_bug.cgi?id=802591

https://bugs.php.net/bug.php?id=61367

Details

Source: Mitre, NVD

Published: 2014-02-15

Updated: 2014-02-18

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

Severity: Medium

CVSS v3

Base Score: 9.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Severity: Critical