Contact | Site en Français               

 


 

Vulnerabilities & Threats

 
  VUPEN Security Advisories
  Linux Security Advisories

  Malware Advisories

  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
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  Receive VUPEN Security notifications by SMS 

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 e-mail and SMS alerts 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.

 

Vulnerability Alerting

Free 14-Day Trial

 
  Latest News

 

  >> 2009-06-10

     

  VUPEN Security Research
  Discovered Critical Flaws
  in Adobe Acrobat and MS

  Office Word


  >> 2009-06-02

     

  VUPEN Security Research
  Discovered Critical Flaws
  in ACDSee Products


  >> 2009-05-22

     

  VUPEN Discovered Two
  Critical Vulnerabilities in
  Novell GroupWise 8 / 7


  >> 2009-05-12

     

  Microsoft Patched 14
  Office PowerPoint Flaws

 

  >> 2009-04-28

     

  Adobe Reader / Acrobat
  Vulnerabilities
Disclosed

 

 

More Informations    
    








Copyright 2003-2009 © VUPEN.COM - Privacy Policy