Secunia Logo  


Secunia PSI WorldMap
 
PHP Trailing Slash "open_basedir" Security Bypass
Secunia Advisory: SA16971
Release Date: 2005-09-27
Last Update: 2005-11-28
Popularity: 16,477 views

Critical:
Not critical
Impact: Security Bypass
Where: Local system
Solution Status: Vendor Patch

Software:PHP 4.4.x
PHP 5.0.x

Secunia CVSS-2 Score: Available in Secunia business solutions

Subscribe: Instant alerts on relevant vulnerabilities


Advisory Content (Page 1 of 3)[ 1 ] [ 2 ] [ 3 ]

Description:
thorben has discovered a security issue in PHP, which can be exploited by malicious, local users to access certain files outside the "open_basedir" root.

The security issue is caused due to fopen wrappers not correctly obeying the "open_basedir" directive, which is designed to restrict PHP scripts in certain environments from accessing files outside the defined prefix. This can be exploited to access files in directories outside the "open_basedir" root as if a trailing slash on the "open_basedir" value is not taken into account.

Example:
Files in the "/user/test11/" directory can be accessed with the "open_basedir" root set to "/user/test1/", but not files in the "/user/test2/" directory.

The security issue has been confirmed in version 4.4.0 and 5.0.5. Other versions may also be affected.

Change Page:
[ 1 ] [ 2 ] [ 3 ]



Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Sun Java JDK / JRE Multiple Vulnerabilities // 54 views
2. Internet Explorer Charset Inheritance Cross-Site Scripting Vulnerability // 39 views
3. Microsoft Windows Win32k Kernel-Mode Driver Multiple Vulnerabilities // 35 views
4. Adobe Flash Player Multiple Vulnerabilities // 31 views
5. Adobe Reader/Acrobat Multiple Vulnerabilities // 29 views
6. Debian update for pidgin // 24 views
7. Apple Safari Multiple Vulnerabilities // 18 views
8. Mozilla Firefox Multiple Vulnerabilities // 14 views
9. Google Chrome Two Vulnerabilities // 13 views
10. Windows Web Services on Devices API Memory Corruption Vulnerability // 13 views