ImageMagick 7.0.7-0 Q16 coders/ps.c ReadPSImage Header resource management

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 described as problematic has been identified in ImageMagick 7.0.7-0 Q16. Impacted is the function ReadPSImage of the file coders/ps.c. The manipulation as part of Header results in resource management. This vulnerability was named CVE-2017-14172. The attack may be performed from remote. There is no available exploit. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in ImageMagick 7.0.7-0 Q16 (Image Processing Software). It has been classified as problematic. Affected is the function ReadPSImage of the file coders/ps.c. The manipulation as part of a Header leads to a resource management vulnerability. CWE is classifying the issue as CWE-399. This is going to have an impact on availability. CVE summarizes:

In coders/ps.c in ImageMagick 7.0.7-0 Q16, a DoS in ReadPSImage() due to lack of an EOF (End of File) check might cause huge CPU consumption. When a crafted PSD file, which claims a large "extent" field in the header but does not contain sufficient backing data, is provided, the loop over "length" would consume huge CPU resources, since there is no EOF check inside the loop.

The bug was discovered 08/31/2017. The weakness was presented 09/07/2017 (GitHub Repository). The advisory is shared for download at github.com. This vulnerability is traded as CVE-2017-14172 since 09/07/2017. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. 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 7 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 103756 (Debian DLA-1131-1 : imagemagick security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 170610 (SUSE Enterprise Linux Security Update for ImageMagick (SUSE-SU-2017:3378-1)).

Upgrading 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 (103756). See VDB-104392, VDB-104640, VDB-104972 and VDB-105917 for similar entries. VulDB is the best source for vulnerability data and more expert information about this specific topic.

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: Resource management
CWE: CWE-399 / CWE-404
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: 103756
Nessus Name: Debian DLA-1131-1 : imagemagick security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 870971
OpenVAS Name: SuSE Update for ImageMagick openSUSE-SU-2017:3420-1 (ImageMagick)
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: 🔍

Patch: github.com

Timelineinfo

08/31/2017 🔍
09/07/2017 +7 days 🔍
09/07/2017 +0 days 🔍
09/07/2017 +0 days 🔍
09/08/2017 +1 days 🔍
10/10/2017 +32 days 🔍
10/11/2017 +1 days 🔍
12/28/2022 +1904 days 🔍

Sourcesinfo

Product: imagemagick.org

Advisory: bdbbb13f1fe9b7e2465502c500561720f7456aac
Status: Not defined
Confirmation: 🔍

CVE: CVE-2017-14172 (🔍)
GCVE (CVE): GCVE-0-2017-14172
GCVE (VulDB): GCVE-100-106188
See also: 🔍

Entryinfo

Created: 09/08/2017 09:12
Updated: 12/28/2022 08:17
Changes: 09/08/2017 09:12 (68), 11/13/2019 13:46 (10), 12/28/2022 08:12 (5), 12/28/2022 08:17 (1)
Complete: 🔍
Cache ID: 216:4A7:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!