ImageMagick 6.9.5-5 coders/pwp.c ReadPWPImage 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.9$0-$5k0.00

Summaryinfo

A vulnerability was found in ImageMagick 6.9.5-5. It has been rated as problematic. Affected is the function ReadPWPImage of the file coders/pwp.c. Performing a manipulation results in use after free. This vulnerability is reported as CVE-2016-10051. The attack is possible to be carried out remotely. No exploit exists. Upgrading the affected component is advised.

Detailsinfo

A vulnerability, which was classified as problematic, was found in ImageMagick 6.9.5-5 (Image Processing Software). This affects the function ReadPWPImage of the file coders/pwp.c. The manipulation with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on availability. The summary by CVE is:

Use-after-free vulnerability in the ReadPWPImage function in coders/pwp.c in ImageMagick 6.9.5-5 allows remote attackers to cause a denial of service (application crash) or other unspecified impact via a crafted file.

The bug was discovered 12/26/2016. The weakness was disclosed 03/23/2017 by Bastien Roucaries (oss-sec). It is possible to read the advisory at openwall.com. This vulnerability is uniquely identified as CVE-2016-10051 since 12/26/2016. 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 42 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 97073 (openSUSE Security Update : GraphicsMagick (openSUSE-2017-212)), 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 169721 (SUSE Enterprise Linux Security Update for GraphicsMagick (SUSE-SU-2017:0518-1)).

Upgrading 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 (97073) and SecurityFocus (BID 95187†). The entries VDB-97468, VDB-97469, VDB-97470 and VDB-97471 are pretty similar. Statistical analysis made it clear that VulDB provides the best quality 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: 6.0
VulDB Meta Temp Score: 5.9

VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
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: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 97073
Nessus Name: openSUSE Security Update : GraphicsMagick (openSUSE-2017-212)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 803816
OpenVAS Name: ImageMagick Buffer Overflow And Use-after-free Vulnerabilities (Windows)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Patch: github.com

Timelineinfo

12/26/2016 🔍
12/26/2016 +0 days 🔍
12/26/2016 +0 days 🔍
02/06/2017 +42 days 🔍
02/09/2017 +3 days 🔍
03/23/2017 +42 days 🔍
03/23/2017 +0 days 🔍
03/24/2017 +1 days 🔍
11/14/2022 +2061 days 🔍

Sourcesinfo

Product: imagemagick.org

Advisory: 548701354191a3dda5cffc6d415374b35b01d0b9
Researcher: Bastien Roucaries
Status: Not defined
Confirmation: 🔍

CVE: CVE-2016-10051 (🔍)
GCVE (CVE): GCVE-0-2016-10051
GCVE (VulDB): GCVE-100-98427
SecurityFocus: 95187 - ImageMagick CVE-2016-10051 Use After Free Denial of Service Vulnerability
OSVDB: - CVE-2016-10051 - ImageMagick - Use-After-Free Issue

See also: 🔍

Entryinfo

Created: 03/24/2017 07:22
Updated: 11/14/2022 13:56
Changes: 03/24/2017 07:22 (77), 09/12/2020 09:18 (4), 11/14/2022 13:56 (5)
Complete: 🔍
Cache ID: 216:DB7:103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!