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 Remote Command Execution and Multiple Security Bypass Vulnerabilities

Title : PHP Remote Command Execution and Multiple Security Bypass Vulnerabilities
VUPEN ID : VUPEN/ADV-2006-4317
CVE ID : CVE-2006-5465
CWE ID : VUPEN VNS Only
CVSS V2 : VUPEN VNS Only
Rated as : Critical 
Remotely Exploitable : Yes
Locally Exploitable : Yes
Release Date : 2006-11-03


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 

Multiple vulnerabilities have been identified in PHP, which could be exploited by remote attackers to execute arbitrary commands or bypass security restrictions.

The first flaw is due to buffer overflow errors in the HTML entity encoder when handling malformed data passed to the "htmlentities()" and "htmlspecialchars()" functions, which could be exploited by remote attackers to cause a denial of service or compromise a vulnerable server by passing specially crafted characters to an affected script or application.

The second issue is due to an error in the cURL extension, which could be exploited by attackers or malicious users to bypass "safe_mode" and "open_basedir" restrictions.

The third vulnerability is due to buffer overflow errors in the "str_repeat()" and "wordwrap()" functions on 64bit systems, which could be exploited by attackers or malicious users to execute arbitrary commands.

The fourth flaw is due to an input validation error when processing overly long argument passed to the "tempnam()" function, which could be exploited by attackers to bypass "open_basedir" restrictions and create temporary files in an arbitrary directory.

Other security and stability issues have been reported.

Affected Products

PHP version 5.1.6 and prior
PHP version 4.4.4 and prior

Solution

Upgrade to PHP version 5.2.0 :
http://www.php.net/downloads.php

References

http://www.vupen.com/english/advisories/2006/4317
http://www.php.net/releases/5_2_0.php
http://www.hardened-php.net/advisory_132006.138.html

Credits

Vulnerabilities reported by the vendor and Stefan Esser

ChangeLog

2006-11-03 : Initial release

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