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 Security Update Fixes Multiple Restriction Bypass Vulnerabilities

Title : PHP Security Update Fixes Multiple Restriction Bypass Vulnerabilities
VUPEN ID : VUPEN/ADV-2005-2254
CVE ID : CVE-2005-2491 - CVE-2005-3054 - CVE-2005-3388 - CVE-2005-3389 - CVE-2005-3390 - CVE-2005-3391 - CVE-2005-3392
Rated as : High Risk 
Remotely Exploitable : Yes
Locally Exploitable : Yes
Release Date : 2005-10-31


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 were identified in PHP, which could be exploited by remote attackers to bypass security restrictions or conduct cross site scripting attacks.

The first issue is due to an error in "GLOBALS" when handling file upload, "extract()" and "import_request_variables()" functions, which could be exploited to conduct and facilitate attacks against third-party scripts assumed secure.

The second flaw is due to unspecified errors in "ext/curl" and "ext/gd", which could lead to exposure of files normally not accessible due to "safe_mode" or "open_basedir" restrictions.

The third vulnerability is due to an input validation error in the "phpinfo()" function when handling specially crafted parameters, which may be exploited by attackers to cause arbitrary scripting code to be executed by the user's browser.

The fourth problem occurs when a request is terminated due to "memory_limit" constraints during certain "parse_str()" calls, which can result in "register_globals" being turned on.

The fifth flaw is due to an error when the "open_basedir" directive includes a trailing slash, which could allow certain scripts in a directory (e.g. "/user/test2/) to access files in other directories whose names are substrings of the original directory (e.g. "/user/test22/). For additional information, see : VUPEN/ADV-2005-1862

The sixth issue is due to an error when calling "virtual()" on Apache 2, which could be exploited to bypass certain configuration directives (e.g. "safe_mode" and "open_basedir").

The seventh vulnerability is due to an integer overflow error in the PCRELib when handling specially crafted regular expressions, which could be exploited by remote attackers (able to send regular expressions) to execute arbitrary commands. For additional information, see : VUPEN/ADV-2005-1511

The eighth issue is due to an input validation error in the "mb_send_mail()" function, which could be exploited by attackers to inject malicious headers via the "To" field.

Affected Products

PHP version 4.4.0 and prior
PHP version 5.0.5 and prior

Solution

Upgrade to PHP version 4.4.1 or 5.1.0 :
http://www.php.net/downloads.php

References

http://www.vupen.com/english/advisories/2005/2254
http://www.php.net/release_4_4_1.php
http://www.php.net/release_5_1_0.php
http://www.hardened-php.net/advisory_202005.79.html
http://www.hardened-php.net/advisory_192005.78.html
http://www.hardened-php.net/advisory_182005.77.html

Credits

Vulnerabilities reported by the vendor and Stefan Esser

ChangeLog

2005-10-31 : Initial release
2005-11-25 : PHP 5.1.0 released

Vulnerability Management

Subscribe to VUPEN VNS and receive real-time 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-07-06

     

  Microsoft Windows 0-Day
  Flaw Exploited in the Wild


  >> 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

 

 

More Informations    
    








Copyright 2003-2009 © VUPEN.COM - Privacy Policy