ImageMagick up to 6.9.8/7.0.6-0 coders/png.c ReadOneMNGImage out-of-bounds
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.4 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical has been found in ImageMagick up to 6.9.8/7.0.6-0. This affects the function ReadOneMNGImage of the file coders/png.c. This manipulation causes out-of-bounds.
This vulnerability is registered as CVE-2017-13139. Remote exploitation of the attack is possible. No exploit is available.
It is recommended to upgrade the affected component.
Details
A vulnerability was found in ImageMagick up to 6.9.8/7.0.6-0 (Image Processing Software). It has been declared as critical. Affected by this vulnerability is the function ReadOneMNGImage of the file coders/png.c. The manipulation with an unknown input leads to a out-of-bounds vulnerability. The CWE definition for the vulnerability is CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, the ReadOneMNGImage function in coders/png.c has an out-of-bounds read with the MNG CLIP chunk.
The bug was discovered 07/29/2017. The weakness was published 08/23/2017 by Bastien Roucaries (Website). The advisory is shared at bugs.debian.org. This vulnerability is known as CVE-2017-13139 since 08/23/2017. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 25 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 102889 (Debian DLA-1081-1 : imagemagick security update), 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 170480 (SUSE Enterprise Linux Security Update for ImageMagick (SUSE-SU-2017:2949-1)).
Upgrading to version 6.9.9-0 or 7.0.6-1 eliminates this vulnerability. A possible mitigation has been published 2 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (102889) and SecurityFocus (BID 100494†). Similar entries are available at VDB-104360, VDB-104389, VDB-104390 and VDB-104391. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
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: 8.5VulDB Meta Temp Score: 8.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
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: Out-of-boundsCWE: CWE-125 / 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: 102889
Nessus Name: Debian DLA-1081-1 : imagemagick security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 53380
OpenVAS Name: Debian Security Advisory DSA 4019-1 (imagemagick - security update)
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.9.9-0/7.0.6-1
Patch: github.com
Timeline
07/29/2017 🔍08/23/2017 🔍
08/23/2017 🔍
08/23/2017 🔍
08/23/2017 🔍
08/24/2017 🔍
08/31/2017 🔍
09/01/2017 🔍
12/16/2022 🔍
Sources
Product: imagemagick.orgAdvisory: d072ed6aff835c174e856ce3a428163c0da9e8f4
Researcher: Bastien Roucaries
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-13139 (🔍)
GCVE (CVE): GCVE-0-2017-13139
GCVE (VulDB): GCVE-100-105685
OVAL: 🔍
SecurityFocus: 100494 - ImageMagick CVE-2017-13139 Out-of-Bounds Read Remote Code Execution Vulnerability
See also: 🔍
Entry
Created: 08/24/2017 10:40Updated: 12/16/2022 13:57
Changes: 08/24/2017 10:40 (72), 11/09/2019 20:35 (12), 12/16/2022 13:50 (5), 12/16/2022 13:57 (1)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.