Secunia Logo
Netsikker nu! 2008
 
PHP "error_log()" Safe Mode Bypass Weakness
Secunia Advisory: SA20818
Release Date: 2006-06-26
Last Update: 2006-08-18
Popularity: 10,783 views

Critical:
Not critical
Impact: Security Bypass
Where: Local system
Solution Status: Vendor Patch

Software:PHP 4.4.x
PHP 5.1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-3011


Description:
Maksymilian Arciemowicz has discovered a weakness in PHP, which can be exploited by malicious, local users to bypass certain security restrictions.

The weakness is caused due to an input validation error in the "error_log()" PHP function in the processing of the destination parameter. This can be exploited to bypass the safe mode protection via directory traversal attacks in the "php://" wrapper.

The weakness has been confirmed in version 5.1.4 and has also been reported in version 4.4.2. Other versions may also be affected.

Solution:
Update to version 4.4.3 or 5.1.5.
http://www.php.net/downloads.php

Provided and/or discovered by:
Maksymilian Arciemowicz

Changelog:
2006-07-13: Updated "Solution" section.
2006-08-03: Updated "Solution" section.
2006-08-18: Updated "Solution" section.

Original Advisory:
http://securityreason.com/achievement_securityalert/41


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. Oracle Products Multiple Vulnerabilities // 53 views
2. Sun Solaris "sadmind" Buffer Overflow Vulnerability // 42 views
3. BEA WebLogic Server Multiple Vulnerabilities // 40 views
4. Elxis mod_language.php Cross-Site Scripting Vulnerability // 39 views
5. WordPress WP Comment Remix Plugin Multiple Vulnerabilities // 36 views
6. VLC Media Player XSPF Processing Memory Corruption Vulnerability // 35 views
7. MyPHPDating "id" SQL Injection Vulnerability // 35 views
8. BEA WebLogic Workshop NetUI Pageflow Information Disclosure Vulnerability // 34 views
9. Webscene eCommerce "level" SQL Injection Vulnerability // 32 views
10. BEA WebLogic Server Multiple Authorizers Security Bypass // 30 views