ImageMagick up to 6.9.9-4/7.0.6-4 coders/msl.c WriteMSLImage memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.1 | $0-$5k | 0.00 |
Summary
A vulnerability was found in ImageMagick up to 6.9.9-4/7.0.6-4. It has been declared as problematic. Impacted is the function WriteMSLImage of the file coders/msl.c. Executing a manipulation can lead to memory corruption.
The identification of this vulnerability is CVE-2017-12427. The attack may be launched remotely. There is no exploit available.
It is recommended to upgrade the affected component.
Details
A vulnerability classified as problematic was found in ImageMagick up to 6.9.9-4/7.0.6-4 (Image Processing Software). This vulnerability affects the function WriteMSLImage of the file coders/msl.c. 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 availability. CVE summarizes:
The ProcessMSLScript function in coders/msl.c in ImageMagick before 6.9.9-5 and 7.x before 7.0.6-5 allows remote attackers to cause a denial of service (memory leak) via a crafted file, related to the WriteMSLImage function.
The bug was discovered 07/31/2017. The weakness was shared 08/04/2017 (GitHub Repository). The advisory is shared for download at github.com. This vulnerability was named CVE-2017-12427 since 08/04/2017. The attack can be initiated remotely. No form of authentication is required for a successful 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 4 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 103333 (Fedora 25 : 1:emacs / ImageMagick / WindowMaker / autotrace / converseen / etc (2017-3a568adb31)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 170773 (SUSE Enterprise Linux Security Update for ImageMagick (SUSE-SU-2018:0486-1)).
Upgrading to version 6.9.9-5 or 7.0.6-5 eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (103333). The entries VDB-103302, VDB-104388, VDB-104518 and VDB-104519 are related to this item. 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: 103333
Nessus Name: Fedora 25 : 1:emacs / ImageMagick / WindowMaker / autotrace / converseen / etc (2017-3a568adb31)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 867773
OpenVAS Name: Fedora Update for WindowMaker FEDORA-2017-8f27031c8f
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-5/7.0.6-5
Patch: github.com
Timeline
07/31/2017 🔍08/04/2017 🔍
08/04/2017 🔍
08/04/2017 🔍
08/05/2017 🔍
09/19/2017 🔍
09/20/2017 🔍
12/14/2022 🔍
Sources
Product: imagemagick.orgAdvisory: FEDORA-2017-3a568adb31
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-12427 (🔍)
GCVE (CVE): GCVE-0-2017-12427
GCVE (VulDB): GCVE-100-104824
See also: 🔍
Entry
Created: 08/05/2017 20:10Updated: 12/14/2022 17:17
Changes: 08/05/2017 20:10 (75), 11/03/2019 15:47 (3), 12/14/2022 17:09 (5), 12/14/2022 17:17 (1)
Complete: 🔍
Cache ID: 216:CDF: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.