Description
The safe_mode implementation in PHP before 5.2.13 does not properly handle directory pathnames that lack a trailing / (slash) character, which allows context-dependent attackers to bypass intended access restrictions via vectors related to use of the tempnam function.
References
- SSRT100018 vendor-advisory
- ADV-2010-0479 vdb-entry
- http://www.php.net/releases/5_2_13.php
- 40551 third-party-advisory
- APPLE-SA-2010-08-24-1 vendor-advisory
- http://www.php.net/ChangeLog-5.php
- 38708 third-party-advisory
- http://support.apple.com/kb/HT4312
- 1023661 vdb-entry
- ADV-2010-1796 vdb-entry
- 38431 vdb-entry