Description
The safe mode checks in PHP 4.x to 4.3.9 and PHP 5.x to 5.0.2 truncate the file path before passing the data to the realpath function, which could allow attackers to bypass safe mode. NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute. This candidate may change significantly in the future as a result of further discussion.
References
- MDKSA-2005:072 vendor-advisory
- 11964 vdb-entry
- http://www.php.net/release_4_3_10.php
- MDKSA-2004:151 vendor-advisory
- http://www.hardened-php.net/advisories/012004.txt
- php-realpath-safemode-bypass(18512) vdb-entry
- CLA-2005:915 vendor-advisory
- GLSA-200412-14 vendor-advisory
- 20041215 Advisory 01/2004: Multiple vulnerabilities in PHP 4/5 mailing-list
- USN-99-2 vendor-advisory
- HPSBMA01212 vendor-advisory
- USN-99-1 vendor-advisory