A vulnerability has been identified in PHP, which could be exploited by malicious users to bypass security policies. This flaw is due to an error in "fopen_wrappers.c" that does not properly restrict access to other directories when the "open_basedir" directive includes a trailing slash, which could allow certain scripts in a directory (e.g. "/user/test2/) to access files in other directories whose names are substrings of the original directory (e.g. "/user/test22/).
Credits
Vulnerability reported by thorben
ChangeLog
2005-09-27 : Initial release
2005-10-31 : Updated Solution
Vulnerability Management
Subscribe to FrSIRT VNS and receive real-time e-mail and SMS alerts when new vulnerabilities, exploits, or patches relevant to your systems and network configurations are available.
Feedback
If you have additional information or corrections for this security advisory please submit them via our contact form or by email to updates@frsirt.com.