Contact | Site en Français               

 


 

VUPEN VNS v4.0

 
  Features and Options
  Free 14-Day Trial

  Partner Program

  Receive More Information
 
   
 

Latest Intelligence

 
  VUPEN Security Advisories

  Virus and Malware Alerts

  VUPEN Security Research
  Threat Watch Blog
  Zero-Day Monitor
  Search Engine
  Mailing List & RSS
 
   

>> PHP "symlink()" and "session_save_path" Local Restrictions Bypass Vulnerabilities

Title : PHP "symlink()" and "session_save_path" Local Restrictions Bypass Vulnerabilities
VUPEN ID : VUPEN/ADV-2006-3901
CVE ID : CVE-2006-5178 - CVE-2006-6383
CWE ID : VUPEN VNS Only
CVSS V2 : VUPEN VNS Only
Rated as : Low Risk 
Remotely Exploitable : Yes
Locally Exploitable : Yes
Release Date : 2006-10-04


Technical Description    Receive VUPEN Security alerts in a Text format  Receive VUPEN Security alerts in a PDF format  Receive VUPEN Security alerts in an XML format 

A vulnerability has been identified in PHP, which could be exploited by local attackers to bypass security restrictions. This issue is due to a race condition between the time that "open_basedir" access controls for a symbolic link are verified and the time the requested file is accessed by certain functions, which could be exploited by malicious users to gain unauthorized access to restricted files via a PHP script containing "symlink()", "mkdir()", "unlink()", and "fopen()" calls.

It is also possible to bypass "safe_mode" and "open_basedir" restrictions via a malicious path and a NULL byte before a ";" in a "session_save_path" argument, followed by an allowed path.

Affected Products

PHP versions 5.x
PHP versions 4.x

Solution

VUPEN Security is not aware of any vendor-supplied patch.

References

http://www.vupen.com/english/advisories/2006/3901
http://www.hardened-php.net/advisory_082006.132.html
http://securityreason.com/achievement_securityalert/43

Credits

Vulnerabilities reported by Stefan Esser and Maksymilian Arciemowicz

ChangeLog

2006-10-04 : Initial release
2007-02-06 : Updated Advisory

Vulnerability Management

Subscribe to VUPEN VNS and receive real-time alerts with CVE, CWE, and CVSS when new advisories or patches relevant to your systems and network configurations are available.

Feedback

If you have additional information or corrections for this security advisory please submit them via our contact form.

 

VUPEN Vulnerability
Notification Service

 

Latest Advisories

  

   
    





Copyright VUPEN © 2004-2010 - Privacy Policy