| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical has been found in ImageMagick up to 6.3.5-9. This impacts the function ReadDIBImage. This manipulation causes memory corruption.
This vulnerability is handled as CVE-2007-4988. Additionally, an exploit exists.
It is recommended to upgrade the affected component.
Details
A vulnerability classified as critical was found in ImageMagick up to 6.3.5-9 (Image Processing Software). Affected by this vulnerability is the function ReadDIBImage. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
Sign extension error in the ReadDIBImage function in ImageMagick before 6.3.5-9 allows context-dependent attackers to execute arbitrary code via a crafted width value in an image file, which triggers an integer overflow and a heap-based buffer overflow.
The bug was discovered 09/19/2007. The weakness was released 09/24/2007 by regenrecht (Website). It is possible to read the advisory at studio.imagemagick.org. This vulnerability is known as CVE-2007-4988 since 09/19/2007. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a private exploit are known.
It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 5 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 31995 (CentOS 3 / 4 / 5 : ImageMagick (CESA-2008:0145)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 120302 (Solaris Multiple vulnerabilities in ImageMagick).
Upgrading to version 6.3.5-9 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at imagemagick.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 8 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (36737), Tenable (31995), SecurityFocus (BID 25765†), OSVDB (41325†) and Secunia (SA26926†). Entries connected to this vulnerability are available at VDB-3330, VDB-3329, VDB-3332 and VDB-24106. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
License
Website
- Product: https://www.imagemagick.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.4
VulDB Base Score: 7.3
VulDB Temp Score: 6.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Private
Status: Proof-of-Concept
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 31995
Nessus Name: CentOS 3 / 4 / 5 : ImageMagick (CESA-2008:0145)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 64637
OpenVAS Name: Debian Security Advisory DSA 1858-1 (imagemagick)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: ImageMagick 6.3.5-9
Patch: imagemagick.org
Timeline
09/19/2007 🔍09/19/2007 🔍
09/21/2007 🔍
09/22/2007 🔍
09/24/2007 🔍
09/24/2007 🔍
09/24/2007 🔍
09/24/2007 🔍
09/24/2007 🔍
10/01/2007 🔍
10/14/2007 🔍
04/17/2008 🔍
04/22/2008 🔍
07/27/2019 🔍
Sources
Product: imagemagick.orgAdvisory: studio.imagemagick.org
Researcher: regenrecht
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2007-4988 (🔍)
GCVE (CVE): GCVE-0-2007-4988
GCVE (VulDB): GCVE-100-3331
OVAL: 🔍
X-Force: 36737 - ImageMagick ReadDIBImage function buffer overflow, High Risk
SecurityFocus: 25765 - ImageMagick ReadDIBImage Integer Overflow Vulnerability
Secunia: 26926
OSVDB: 41325 - ImageMagick ReadDIBImage Function Image File Handling Overflow
SecurityTracker: 1018729
Vulnerability Center: 16515 - ImageMagick < 6.3.5-9 ReadDIBImage Sign Extension Error Allows Remote Code Execution, Medium
Vupen: ADV-2007-3245
See also: 🔍
Entry
Created: 10/01/2007 15:25Updated: 07/27/2019 16:39
Changes: 10/01/2007 15:25 (101), 07/27/2019 16:39 (2)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.