Vulnerability identifier: #VU12348
Vulnerability risk: High
CVSSv3.1: 8.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-119
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
GD Graphics Library
Universal components / Libraries /
Libraries used by multiple products
PHP
Universal components / Libraries /
Scripting languages
Vendor:
Boutell.Com, Inc.
PHP Group
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The weakness exists in the _gdGetColors function in gd_gd.c due to improper verification of a certain colorsTotal structure member. A remote attacker can trick the victim into opening a specially crafted GD file, trigger buffer over-read or buffer overflow and execute arbitrary code.
Successful exploitation of the vulnerability may result in system compromise.
Mitigation
Update GD Graphics Library to 2.0.35 or PHP to 5.3.1.
Vulnerable software versions
GD Graphics Library: 2.0.1 - 2.0.34
PHP: 5.2.11, 5.3.0
External links
http://bugzilla.redhat.com/show_bug.cgi?id=CVE-2009-3546
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.