Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Not critical

PHP Trailing Slash "open_basedir" Security Bypass

-

Release Date:  2005-09-27    Last Update:  2005-11-28    Views:  21,701

Secunia Advisory SA16971

Where:

Local system

Impact:

Security Bypass

Solution Status:

Vendor Patch

CVE Reference(s):

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.


Solution:
Update to version 4.4.1 or 5.1.0.

Further details available to Secunia VIM customers

Provided and/or discovered by:
thorben

Original Advisory:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323585

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: PHP Trailing Slash "open_basedir" Security Bypass

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability