Multiple vulnerabilities have been identified in PHP, which could be exploited by attackers or malicious users to bypass security restrictions or execute arbitrary commands.
The first issue is due to missing "safe_mode" and "open_basedir" checks in the "error_log()", "file_exists()", "imap_open()", and "imap_reopen()" functions, which could be exploited by attackers to bypass security restrictions.
The second flaw 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 third vulnerability is due to errors in the cURL extension and the realpath cache, which could be exploited by attackers to bypass "safe_mode" and "open_basedir" restrictions.
The fourth flaw is due to a buffer overflow error in the GD extension when handling malformed GIF images, which could be exploited by attackers or malicious users to execute arbitrary commands.
The fifth vulnerability is due to a buffer overflow error in the "sscanf()" function, which could be exploited by attackers or malicious users to execute arbitrary commands.
The sixth issue is due to an out-of-bounds memory read in the "stripos()" function.
The seventh flaw is due to incorrect "memory_limit" restrictions on 64 bit systems.
Credits
Vulnerabilities reported by the vendor
ChangeLog
2006-08-18 : 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.