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 Multiple Function and Extension Code Execution and Security Bypass Issues

Title : PHP Multiple Function and Extension Code Execution and Security Bypass Issues
VUPEN ID : VUPEN/ADV-2007-3023
CVE ID : CVE-2007-3996 - CVE-2007-3997 - CVE-2007-3998 - CVE-2007-4652 - CVE-2007-4657 - CVE-2007-4658 - CVE-2007-4659 - CVE-2007-4660 - CVE-2007-4661 - CVE-2007-4662 - CVE-2007-4663
Rated as : Moderate Risk 
Remotely Exploitable : Yes
Locally Exploitable : Yes
Release Date : 2007-08-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  Receive VUPEN Security notifications by SMS 

Multiple vulnerabilities have been identified in PHP, which could be exploited by attackers to bypass security restrictions, disclose sensitive information, cause a denial of service or compromise an affected web server.

The first issue is caused by a floating point exception in "wordwrap()".

The second vulnerability is caused by integer overflow errors in the "gdImageCreate()", "gdImageCreateTrueColor()" and "gdImageCopyResized()" functions within the GD extension, which could be exploited by attackers to crash an affected application or execute arbitrary code.

The third issue is caused by an integer overflow error in the "str[c]spn()" function, which could be exploited by attackers to crash an affected application or execute arbitrary code.

The fourth vulnerability is caused by an unspecified error in the "money_format()" when handling multiple "%i" or "%n" tokens.

The fifth issue is caused by an error in the "zend_alter_ini_entry()" funciton, which could cause a "memory_limit" interruption.

The sixth vulnerability is caused by an error in the MySQL extensions when handling the "INFILE LOCAL" option, which could be exploited to bypass "open_basedir" and "safe_mode" restrictions.

The seventh issue is caused by an error when processing "session.save_path" and "error_log" values, which could be exploited to bypass "open_basedir" and "safe_mode" restrictions.

The eighth vulnerability is caused by a buffer overflow error in the "php_openssl_make_REQ()" function, which could be exploited by attackers to crash an affected application or execute arbitrary code.

The ninth issue is caused by an error when handling arguments passed to the "glob()" function, which could be exploited by attackers to bypass "open_basedir" restrictions.

The tenth vulnerability is caused by an error in the session extension when the session file is a symlink, which could be exploited to bypass "open_basedir" restrictions.

The eleventh issue is caused by a size calculation error in the "chunk_split()" function.

Affected Products

PHP version 5.2.3 and prior

Solution

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

References

http://www.vupen.com/english/advisories/2007/3023
http://www.php.net/releases/5_2_4.php
http://www.secweb.se/en/advisories/php-imagecreatetruecolor-integer-overflow
http://www.secweb.se/en/advisories/php-imagecopyresized-integer-overflow
http://www.secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability

Credits

Vulnerabilities reported by Mattias Bengtsson, Gerhard Wagner, Stanislav Malyshev, Stefan Esser, Maksymilian Arciemowicz, zatanzlatan, dr and c.i.morris.

ChangeLog

2007-08-31 : 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