Some vulnerabilities have been reported in PHP, where some have unknown impacts, and others can be exploited by malicious, local users to bypass certain security restrictions, or by malicious people to cause a DoS (Denial of Service) or potentially compromise a vulnerable system.
1) Missing safe_mode and open_basedir verification exists in the "file_exists()", "imap_open()", and "imap_reopen()" functions.
2) Some integer overflows exist in the "str_repeat()" and "wordwrap()" functions on 64-bit systems. If these functions are used on untrusted data which can be specified by an attacker, this can be exploited to cause a heap-based buffer overflow.
3) The open_basedir and safe_mode protection mechanisms can be bypassed via the cURL extension and the realpath cache.
4) A boundary error within the "LWZReadByte_()" function in the GD extension can potentially be exploited to execute arbitrary code by e.g. tricking a PHP application to process a specially crafted GIF image file.
5) A boundary error in the "stripos()" function can be exploited to cause an out-of-bounds memory read.
6) Incorrect memory_limit restrictions exists on 64-bit systems, which can be exploited by malicious people to cause a DoS.
Other issues which may be security related have also been reported.
Solution: Update to version 4.4.4, 5.1.5 or 5.2.0.
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to email@example.com
Subject: PHP Multiple Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.