ImageMagick 5.2/5.3/5.4/5.5 image.c setimageinfo filename memory corruption
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
7.0 | $0-$5k | 0.00 |
A vulnerability was found in ImageMagick 5.2/5.3/5.4/5.5 (Image Processing Software) and classified as critical. This issue affects the function setimageinfo
of the file image.c. The manipulation of the argument filename
with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to 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. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
Format string vulnerability in the SetImageInfo function in image.c for ImageMagick before 6.0.2.5 may allow remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via format string specifiers in a filename argument to convert, which may be called by other web applications.
The bug was discovered 03/03/2005. The weakness was shared 05/02/2005 by Tavis Ormandy (Website). The advisory is shared at marc.info. The identification of this vulnerability is CVE-2005-0397 since 02/14/2005. The exploitation is known to be easy. 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.
The vulnerability was handled as a non-public zero-day exploit for at least 29 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 17673 (Debian DSA-702-1 : imagemagick - several vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian 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.0.2.5 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (19586) and Tenable (17673). The entries 3330, 3329, 3331 and 3332 are related to this item.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 7.0
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
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
ATT&CK: Unknown
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 17673
Nessus Name: Debian DSA-702-1 : imagemagick - several vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 53749
OpenVAS Name: Debian Security Advisory DSA 702-1 (imagemagick)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: ImageMagick 6.0.2.5
Timeline
02/14/2005 🔍03/03/2005 🔍
03/03/2005 🔍
03/03/2005 🔍
03/29/2005 🔍
04/01/2005 🔍
04/02/2005 🔍
05/02/2005 🔍
05/02/2005 🔍
03/10/2015 🔍
05/31/2019 🔍
Sources
Product: imagemagick.orgAdvisory: marc.info
Researcher: Tavis Ormandy
Status: Not defined
Confirmation: 🔍
CVE: CVE-2005-0397 (🔍)
OVAL: 🔍
X-Force: 19586
Vulnerability Center: 7457 - Format String Vulnerability in ImageMagick <6.0.2.5 via Malformed File Names, Medium
SecurityFocus: 12717 - ImageMagick File Name Handling Remote Format String Vulnerability
OSVDB: 14372 - Imagemagick - Remote Privilege Escalation
See also: 🔍
Entry
Created: 03/10/2015 23:05Updated: 05/31/2019 06:59
Changes: 03/10/2015 23:05 (80), 05/31/2019 06:59 (4)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.