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: 15,585 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. Internet Explorer Charset Inheritance Cross-Site Scripting Vulnerability // 63 views
2. Microsoft DirectShow Streaming Video ActiveX Control Vulnerabilities // 50 views
3. Adobe Flash Player Multiple Vulnerabilities // 47 views
4. Apache Modules Client Disconnect Denial of Service // 30 views
5. Nwahy Products Security Bypass Vulnerability // 29 views
6. Universe CMS "id" SQL Injection Vulnerability // 25 views
7. Red Hat update for httpd // 23 views
8. PatPlayer M3U Playlist Parsing Buffer Overflow // 22 views
9. Apple Safari Two WebKit Component Vulnerabilities // 19 views
10. Sun Solaris Tomcat Multiple Vulnerabilities // 19 views