ImageMagick up to 6.9.9-3/7.0.6-3 coders/png.c ReadOnePNGImage memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, has been found in ImageMagick up to 6.9.9-3/7.0.6-3. Affected is the function ReadOnePNGImage of the file coders/png.c. Performing a manipulation results in memory corruption.
This vulnerability is reported as CVE-2017-13141. The attack is possible to be carried out remotely. No exploit exists.
It is advisable to upgrade the affected component.
Details
A vulnerability classified as problematic has been found in ImageMagick up to 6.9.9-3/7.0.6-3 (Image Processing Software). This affects the function ReadOnePNGImage of the file coders/png.c. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as 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. This is going to have an impact on availability. The summary by CVE is:
In ImageMagick before 6.9.9-4 and 7.x before 7.0.6-4, a crafted file could trigger a memory leak in ReadOnePNGImage in coders/png.c.
The bug was discovered 07/23/2017. The weakness was disclosed 08/23/2017 (Website). It is possible to read the advisory at bugs.debian.org. This vulnerability is uniquely identified as CVE-2017-13141 since 08/23/2017. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability was handled as a non-public zero-day exploit for at least 31 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 104515 (GLSA-201711-07 : ImageMagick: Multiple vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 170739 (SUSE Enterprise Linux Security Update for ImageMagick (SUSE-SU-2018:0350-1)).
Upgrading to version 6.9.9-4 or 7.0.6-4 eliminates this vulnerability. A possible mitigation has been published 3 months after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (104515). The entries VDB-104360, VDB-104390, VDB-104391 and VDB-104404 are pretty similar. Be aware that VulDB is the high quality source 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: 5.4VulDB Meta Temp Score: 5.3
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
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: 104515
Nessus Name: GLSA-201711-07 : ImageMagick: Multiple vulnerabilities
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-4/7.0.6-4
Timeline
07/23/2017 🔍08/23/2017 🔍
08/23/2017 🔍
08/23/2017 🔍
08/24/2017 🔍
11/11/2017 🔍
11/13/2017 🔍
12/16/2022 🔍
Sources
Product: imagemagick.orgAdvisory: 600
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-13141 (🔍)
GCVE (CVE): GCVE-0-2017-13141
GCVE (VulDB): GCVE-100-105687
OVAL: 🔍
See also: 🔍
Entry
Created: 08/24/2017 10:40Updated: 12/16/2022 14:08
Changes: 08/24/2017 10:40 (70), 11/09/2019 20:50 (9), 12/16/2022 14:08 (4)
Complete: 🔍
Cache ID: 216:060:103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.