ImageMagick up to 6.3.5-9 AllocateImageColormap resource management

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.2$0-$5k0.00

Summaryinfo

A vulnerability marked as critical has been reported in ImageMagick up to 6.3.5-9. The impacted element is the function AllocateImageColormap. The manipulation leads to resource management. This vulnerability is traded as CVE-2007-4985. There is no exploit available. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in ImageMagick up to 6.3.5-9 (Image Processing Software). It has been rated as critical. This issue affects the function AllocateImageColormap. The manipulation with an unknown input leads to a resource management vulnerability. Using CWE to declare the problem leads to CWE-399. Impacted is availability. The summary by CVE is:

ImageMagick before 6.3.5-9 allows context-dependent attackers to cause a denial of service via a crafted image file that triggers (1) an infinite loop in the ReadDCMImage function, related to ReadBlobByte function calls; or (2) an infinite loop in the ReadXCFImage function, related to ReadBlobMSBLong function calls.

The weakness was shared 09/24/2007 by regenrecht with iDefense (Website). The advisory is shared at studio.imagemagick.org. The identification of this vulnerability is CVE-2007-4985 since 09/19/2007. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available.

It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 26978 (FreeBSD : ImageMagick -- multiple vulnerabilities (f5b29ec0-71f9-11dc-8c6a-00304881ac9a)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD 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 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 3 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (36740), Tenable (26978), SecurityFocus (BID 25764†), OSVDB (41332†) and Secunia (SA28721†). The entries VDB-3330, VDB-3331, VDB-3332 and VDB-24106 are related to this item. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.9
VulDB Meta Temp Score: 5.2

VulDB Base Score: 5.9
VulDB Temp Score: 5.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Resource management
CWE: CWE-399 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 26978
Nessus Name: FreeBSD : ImageMagick -- multiple vulnerabilities (f5b29ec0-71f9-11dc-8c6a-00304881ac9a)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 64637
OpenVAS Name: Debian Security Advisory DSA 1858-1 (imagemagick)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: imagemagick.org

Timelineinfo

09/19/2007 🔍
09/21/2007 +2 days 🔍
09/22/2007 +1 days 🔍
09/24/2007 +2 days 🔍
09/24/2007 +0 days 🔍
09/24/2007 +0 days 🔍
10/01/2007 +6 days 🔍
10/10/2007 +9 days 🔍
10/12/2007 +2 days 🔍
02/06/2008 +117 days 🔍
04/28/2019 +4099 days 🔍

Sourcesinfo

Product: imagemagick.org

Advisory: studio.imagemagick.org
Researcher: regenrecht
Organization: iDefense
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2007-4985 (🔍)
GCVE (CVE): GCVE-0-2007-4985
GCVE (VulDB): GCVE-100-3329

OVAL: 🔍

X-Force: 36740 - ImageMagick ReadDCMImage and ReadXCFImage function denial of service, Medium Risk
SecurityFocus: 25764 - ImageMagick ReadBlob Multiple Remote Denial Of Service Vulnerabilities
Secunia: 28721 - Mandriva update for ImageMagick, Highly Critical
OSVDB: 41332 - ImageMagick ReadDCMImage / ReadXCFImage Crafted Image Handling DoS
SecurityTracker: 1018729
Vupen: ADV-2007-3245

See also: 🔍

Entryinfo

Created: 10/01/2007 15:25
Updated: 04/28/2019 09:21
Changes: 10/01/2007 15:25 (96), 04/28/2019 09:21 (1)
Complete: 🔍
Cache ID: 216:D3B:103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!