PHP "open_basedir" Symlink Security Bypass Vulnerability
Secunia Advisory: SA22235
Release Date: 2006-10-04
Last Update: 2006-10-13
Popularity: 11,634 views

Critical:
Less critical
Impact: Security Bypass
Where: Local system
Solution Status: Unpatched

Software:PHP 4.0.x
PHP 4.1.x
PHP 4.2.x
PHP 4.3.x
PHP 4.4.x
PHP 5.0.x
PHP 5.1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-5178


Description:
Stefan Esser has reported a vulnerability in PHP, which can be exploited by malicious, local users to bypass certain security restrictions.

The vulnerability is caused due to a race condition in the handling of symlinks and can be exploited to bypass the open_basedir protection mechanism.

The vulnerability has been reported in PHP4 and PHP5.

Solution:
Disable the "symlink()" function in php.ini.

Provided and/or discovered by:
Stefan Esser

Changelog:
2006-10-12: Added CVE reference.

Original Advisory:
http://www.hardened-php.net/advisory_082006.132.html


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. Subdreamer Light Global Variables SQL Injection Vulnerability // 82 views
2. Adobe Flash Player Multiple Vulnerabilities // 33 views
3. Sun Java System Web Proxy Server SOCKS Module Buffer Overflows // 24 views
4. Microsoft Office Two Code Execution Vulnerabilities // 22 views
5. Sun Java JDK / JRE Multiple Vulnerabilities // 21 views
6. VLC Media Player Multiple Vulnerabilities // 20 views
7. Microsoft Word Malformed Object Pointer Vulnerability // 18 views
8. Apple QuickTime Multiple Vulnerabilities // 16 views
9. Opera Multiple Vulnerabilities // 16 views
10. WMNews Cross-Site Scripting Vulnerabilities // 14 views