|
|
>> PHP Safe Mode Security Bypass and Multiple Function Buffer Overflow Vulnerabilities
|
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.
Affected Products
PHP version 4.4.3 and prior
PHP version 5.1.4 and prior
Solution
Upgrade to PHP version 4.4.4 or 5.1.5 :
http://www.php.net/downloads.php
References
http://www.vupen.com/english/advisories/2006/3318 http://www.php.net/release_4_4_4.php http://www.php.net/release_5_1_5.php
Credits
Vulnerabilities reported by the vendor
ChangeLog
2006-08-18 : Initial release
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. | |
|