ImageMagick 7.0.6-1 coders/wmf.c ReadWMFImage use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.1$0-$5k0.00

Summaryinfo

A vulnerability labeled as problematic has been found in ImageMagick 7.0.6-1. This impacts the function ReadWMFImage of the file coders/wmf.c. Such manipulation leads to use after free. This vulnerability is listed as CVE-2017-12431. The attack may be performed from remote. There is no available exploit. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in ImageMagick 7.0.6-1 (Image Processing Software) and classified as problematic. Affected by this issue is the function ReadWMFImage of the file coders/wmf.c. The manipulation with an unknown input leads to a use after free vulnerability. Using CWE to declare the problem leads to CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. Impacted is availability. CVE summarizes:

In ImageMagick 7.0.6-1, a use-after-free vulnerability was found in the function ReadWMFImage in coders/wmf.c, which allows attackers to cause a denial of service.

The bug was discovered 07/08/2017. The weakness was presented 08/04/2017 (GitHub Repository). The advisory is shared for download at github.com. This vulnerability is handled as CVE-2017-12431 since 08/04/2017. The attack may be launched remotely. No form of authentication is required for 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 27 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 104528 (openSUSE Security Update : ImageMagick (openSUSE-2017-1270)), 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 170480 (SUSE Enterprise Linux Security Update for ImageMagick (SUSE-SU-2017:2949-1)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 4 months after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (104528). See VDB-103774, VDB-104399, VDB-104825 and VDB-104830 for similar entries. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.4
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 104528
Nessus Name: openSUSE Security Update : ImageMagick (openSUSE-2017-1270)
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 Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Timelineinfo

07/08/2017 🔍
08/04/2017 +27 days 🔍
08/04/2017 +0 days 🔍
08/04/2017 +0 days 🔍
08/05/2017 +1 days 🔍
11/12/2017 +99 days 🔍
11/13/2017 +1 days 🔍
12/14/2022 +1857 days 🔍

Sourcesinfo

Product: imagemagick.org

Advisory: 555
Status: Not defined
Confirmation: 🔍

CVE: CVE-2017-12431 (🔍)
GCVE (CVE): GCVE-0-2017-12431
GCVE (VulDB): GCVE-100-104828

OVAL: 🔍
See also: 🔍

Entryinfo

Created: 08/05/2017 20:11
Updated: 12/14/2022 18:10
Changes: 08/05/2017 20:11 (74), 11/03/2019 16:03 (4), 12/14/2022 18:03 (4), 12/14/2022 18:10 (1)
Complete: 🔍
Cache ID: 216:674:103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!