Multiple vulnerabilities have been identified in PHP, which could be exploited by attackers to bypass security restrictions, cause a denial of service or compromise a vulnerable web server.
The first issue is caused by an integer overflow error in the "chunk_split()" function, which could be exploited by attackers to crash an affected application or execute arbitrary code.
The second vulnerability is caused by an integer overflow error in the "strspn()" and "strcspn()" functions, which could be exploited by attackers to crash an affected application or execute arbitrary code.
The third issue is caused by a regression in "glob()" when "open_basedir" is enabled.
The fourth vulnerability is caused by an error in the "money_format()" function when handling multiple "%i" or "%n" tokens.
The fifth issue is caused by an error within the handling of the "INFILE LOCAL" option with MySQL, which could be exploited to bypass "open_basedir" and "safe_mode" restrictions.
The sixth vulnerability is caused by an error within the handling of the "session.save_path" and "error_log" values, which could be exploited to bypass "open_basedir" and "safe_mode" restrictions.
Credits
Vulnerabilities reported by Gerhard Wagner and the vendor.
ChangeLog
2008-01-08 : 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.