Secunia Logo
 
PHP "open_basedir" Symlink Security Bypass Vulnerability
Secunia Advisory: SA22235
Release Date: 2006-10-04
Last Update: 2006-10-13
Popularity: 12,430 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

Today
New advisories: 9
New vulnerabilities: 13
Updated advisories: 17

Moderately // 101 views
Rumpus Multiple Vulnerabilities
Moderately // 159 views
Ubuntu update for imagemagick
Moderately // 145 views
Ubuntu update for libvorbis
Less // 142 views
Debian update for phpmyadmin

1st Dec, 2008
New advisories: 33
New vulnerabilities: 55
Updated advisories: 56


Solutions | More...  


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. bcoos "cid" SQL Injection Vulnerability // 102 views
2. Rumpus Multiple Vulnerabilities // 95 views
3. ASP Portal "ASPPortal.mdb" Database Disclosure Security Issue // 94 views
4. ClamAV "cli_check_jpeg_exploit()" Denial of Service Vulnerability // 85 views
5. Zaptel "ZT_SPANCONFIG" IOCTL Privilege Escalation Vulnerabilities // 82 views
6. DAHDI "ZT_SPANCONFIG" IOCTL Privilege Escalation Vulnerability // 79 views
7. Sun Java JDK / JRE Multiple Vulnerabilities // 56 views
8. Debian update for phpmyadmin // 39 views
9. Ubuntu update for imagemagick // 39 views
10. Microsoft Office Communications Server SIP INVITE Denial of Service // 37 views