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.
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 FrSIRT VNS and receive real-time e-mail and SMS alerts when new vulnerabilities, exploits, 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 or by email to updates@frsirt.com.