ImageMagick up to 6.9.4-3/7.0.1-4 WPG Parser SetPixelIndex/ScaleCharToQuantum/SetPixelIndex memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.5 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in ImageMagick up to 6.9.4-3/7.0.1-4. This affects the function SetPixelIndex/ScaleCharToQuantum/SetPixelIndex of the component WPG Parser. The manipulation results in memory corruption.
This vulnerability is identified as CVE-2016-5688. The attack can be executed remotely. There is not any exploit available.
The affected component should be upgraded.
Details
A vulnerability was found in ImageMagick up to 6.9.4-3/7.0.1-4 (Image Processing Software). It has been classified as critical. Affected is the function SetPixelIndex/ScaleCharToQuantum/SetPixelIndex of the component WPG Parser. 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 confidentiality, integrity, and availability. CVE summarizes:
The WPG parser in ImageMagick before 6.9.4-4 and 7.x before 7.0.1-5, when a memory limit is set, allows remote attackers to have unspecified impact via vectors related to the SetImageExtent return-value check, which trigger (1) a heap-based buffer overflow in the SetPixelIndex function or an invalid write operation in the (2) ScaleCharToQuantum or (3) SetPixelIndex functions.
The bug was discovered 06/17/2016. The weakness was released 12/13/2016 (Website). The advisory is available at openwall.com. This vulnerability is traded as CVE-2016-5688 since 06/16/2016. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details are known, but there is no available exploit.
The vulnerability was handled as a non-public zero-day exploit for at least 59 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 92981 (openSUSE Security Update : GraphicsMagick (openSUSE-2016-984)), 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 175817 (Debian Security Update for imagemagick (DSA 3652-1)).
Upgrading to version 6.9.4-4 or 7.0.1-5 eliminates this vulnerability. A possible mitigation has been published before and not just after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (92981) and SecurityFocus (BID 91283†). Entries connected to this vulnerability are available at VDB-80763, VDB-87737, VDB-87738 and VDB-87739. If you want to get best quality of vulnerability data, you may have to visit 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.7VulDB Meta Temp Score: 7.5
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.1
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: 92981
Nessus Name: openSUSE Security Update : GraphicsMagick (openSUSE-2016-984)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 803300
OpenVAS Name: SuSE Update for ImageMagick openSUSE-SU-2016:1748-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.9.4-4/7.0.1-5
Patch: github.com
Timeline
06/16/2016 🔍06/17/2016 🔍
06/17/2016 🔍
08/15/2016 🔍
08/16/2016 🔍
12/13/2016 🔍
12/13/2016 🔍
12/13/2016 🔍
10/06/2022 🔍
Sources
Product: imagemagick.orgAdvisory: aecd0ada163a4d6c769cec178955d5f3e9316f2f
Status: Not defined
Confirmation: 🔍
CVE: CVE-2016-5688 (🔍)
GCVE (CVE): GCVE-0-2016-5688
GCVE (VulDB): GCVE-100-94146
OVAL: 🔍
SecurityFocus: 91283 - ImageMagick Multiple Security Vulnerabilities
See also: 🔍
Entry
Created: 12/13/2016 19:47Updated: 10/06/2022 07:17
Changes: 12/13/2016 19:47 (75), 06/25/2019 09:32 (6), 10/06/2022 07:17 (4)
Complete: 🔍
Cache ID: 216:4AF:103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.