ImageMagick 7.0.7-12 XPM Image coders/xpm.c ReadXPMImage memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.1 | $0-$5k | 0.00 |
Summary
A vulnerability described as problematic has been identified in ImageMagick 7.0.7-12. This vulnerability affects the function ReadXPMImage of the file coders/xpm.c of the component XPM Image Handler. Such manipulation leads to memory corruption.
This vulnerability is documented as CVE-2017-17680. The attack can be executed remotely. There is not any exploit available.
Upgrading the affected component is recommended.
Details
A vulnerability was found in ImageMagick 7.0.7-12 (Image Processing Software) and classified as problematic. Affected by this issue is the function ReadXPMImage of the file coders/xpm.c of the component XPM Image Handler. The manipulation 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 availability. CVE summarizes:
In ImageMagick 7.0.7-12 Q16, a memory leak vulnerability was found in the function ReadXPMImage in coders/xpm.c, which allows attackers to cause a denial of service via a crafted xpm image file.
The bug was discovered 11/20/2017. The weakness was released 12/14/2017 by Security Team (GitHub Repository). The advisory is shared for download at github.com. This vulnerability is handled as CVE-2017-17680 since 12/13/2017. The attack may be launched remotely. No form of authentication is required for exploitation. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 24 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 105721 (SUSE SLED12 / SLES12 Security Update : ImageMagick (SUSE-SU-2018:0055-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 170639 (SUSE Enterprise Linux Security Update for ImageMagick (SUSE-SU-2018:0055-1)).
Upgrading eliminates this vulnerability. A possible mitigation has been published 4 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (105721) and SecurityFocus (BID 102203†). Entries connected to this vulnerability are available at VDB-104639, VDB-104952, VDB-106339 and VDB-111076. VulDB is the best source for vulnerability data and more expert information about this specific topic.
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: 5.4VulDB Meta Temp Score: 5.1
VulDB Base Score: 4.3
VulDB Temp Score: 3.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.5
NVD Vector: 🔍
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: 🔍
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: 105721
Nessus Name: SUSE SLED12 / SLES12 Security Update : ImageMagick (SUSE-SU-2018:0055-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Timeline
11/20/2017 🔍12/13/2017 🔍
12/14/2017 🔍
12/14/2017 🔍
12/14/2017 🔍
12/14/2017 🔍
01/09/2018 🔍
01/10/2018 🔍
01/18/2023 🔍
Sources
Product: imagemagick.orgAdvisory: 873
Researcher: Security Team
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-17680 (🔍)
GCVE (CVE): GCVE-0-2017-17680
GCVE (VulDB): GCVE-100-110696
SecurityFocus: 102203 - ImageMagick 'coders/xpm.c' Denial of Service Vulnerability
See also: 🔍
Entry
Created: 12/14/2017 19:59Updated: 01/18/2023 09:09
Changes: 12/14/2017 19:59 (72), 12/15/2019 10:53 (10), 01/18/2023 09:05 (4), 01/18/2023 09:09 (1)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.