ImageMagick up to 7.0.3 Image File MagickCore/quantum.c AcquireQuantumPixels memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.2 | $0-$5k | 0.00 |
Summary
A vulnerability was found in ImageMagick up to 7.0.3. It has been classified as critical. Affected is the function AcquireQuantumPixels of the file MagickCore/quantum.c of the component Image File Handler. This manipulation causes memory corruption.
This vulnerability is tracked as CVE-2016-8677. The attack is possible to be carried out remotely. No exploit exists.
Upgrading the affected component is recommended.
Details
A vulnerability has been found in ImageMagick up to 7.0.3 (Image Processing Software) and classified as critical. Affected by this vulnerability is the function AcquireQuantumPixels of the file MagickCore/quantum.c of the component Image File Handler. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
The AcquireQuantumPixels function in MagickCore/quantum.c in ImageMagick before 7.0.3-1 allows remote attackers to have unspecified impact via a crafted image file, which triggers a memory allocation failure.
The bug was discovered 09/16/2016. The weakness was disclosed 02/15/2017 by Agostino Sarubbo with Gentoo (oss-sec). The advisory is shared at openwall.com. This vulnerability is known as CVE-2016-8677 since 10/15/2016. 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 75 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 95427 (Ubuntu 12.04 LTS / 14.04 LTS / 16.04 LTS / 16.10 : imagemagick vulnerabilities (USN-3142-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 196638 (Ubuntu Security Notification for Imagemagick Vulnerabilities (USN-3142-1)).
Upgrading to version 7.0.3-1 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 Tenable (95427) and SecurityFocus (BID 93598†). The entries VDB-95515, VDB-95516 and VDB-98463 are pretty similar. 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: 7.5VulDB Meta Temp Score: 7.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.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: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
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: 95427
Nessus Name: Ubuntu 12.04 LTS / 14.04 LTS / 16.04 LTS / 16.10 : imagemagick vulnerabilities (USN-3142-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 703726
OpenVAS Name: Debian Security Advisory DSA 3726-1 (imagemagick - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: ImageMagick 7.0.3-1
Timeline
09/16/2016 🔍10/15/2016 🔍
10/17/2016 🔍
11/30/2016 🔍
12/01/2016 🔍
02/15/2017 🔍
02/15/2017 🔍
02/16/2017 🔍
08/15/2020 🔍
Sources
Product: imagemagick.orgAdvisory: openwall.com
Researcher: Agostino Sarubbo
Organization: Gentoo
Status: Not defined
Confirmation: 🔍
CVE: CVE-2016-8677 (🔍)
GCVE (CVE): GCVE-0-2016-8677
GCVE (VulDB): GCVE-100-96997
OVAL: 🔍
SecurityFocus: 93598 - ImageMagick 'coders/tiff.c' Memory Corruption Vulnerability
OSVDB: - CVE-2016-8677 - ImageMagick - Memory Corruption Issue
See also: 🔍
Entry
Created: 02/16/2017 08:59Updated: 08/15/2020 08:16
Changes: 02/16/2017 08:59 (79), 08/15/2020 08:16 (7)
Complete: 🔍
Cache ID: 216:556: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.