Common Vulnerabilities and Exposures assigned an identifier CVE-2010-1864 to the following vulnerability: The addcslashes function in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allows context-dependent attackers to obtain sensitive information (memory contents) by causing a userspace interruption of an internal function, related to the call time pass by reference feature. Reference: http://php-security.org/2010/05/03/mops-2010-006-php-addcslashes-interruption-information-leak-vulnerability/index.html
Created attachment 433953 [details] Reproducer from MOPS-2010-006
Fixed upstream in Zend / zend_parse_parameters via: http://svn.php.net/viewvc?view=revision&revision=298945 Fix included in upstream version 5.3.3: http://www.php.net/releases/5_3_3.php
Interruption vulnerabilities allow untrusted script author to bypass restrictions such as safe_mode or open_basedir. Due to the limitations of the implementation of these mechanisms, they can not be relied on as security features. Therefore flaws bypass of there restrictions are not considered security sensitive. For additional details, refer to bug #169857, comment #1. *** This bug has been marked as a duplicate of bug 169857 ***
Statement: Red Hat does not consider interruption issues allowing safe_mode / open_basedir restriction bypass to be security sensitive. For more details see https://bugzilla.redhat.com/show_bug.cgi?id=169857#c1 and http://www.php.net/security-note.php
Additional note on MOPS reproducers using __toString() method to interrupt internal PHP function is available in bug #617211, comment #7.