ImageMagick 6.x < 6.9.7-8 / 7.x < 7.0.4-8 Multiple DoS

high Nessus Plugin ID 97892
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

An application installed on the remote Windows host is affected by multiple denial of service vulnerabilities.

Description

The version of ImageMagick installed on the remote Windows host is 6.x prior to 6.9.7-8 or 7.x prior to 7.0.4-8. It is, therefore, affected by multiple denial of service vulnerabilities :

- A NULL pointer dereference flaw exists in the ReadPSDChannel() function in coders/psd.c due to improper handling of PSD files. An unauthenticated, remote attacker can exploit this, by convincing a user to open a specially crafted PSD file, to cause a denial of service condition. (CVE-2017-6497)

- A flaw exists in Magick++/lib/Exception.cpp due to improper handling of nested exceptions. An unauthenticated, remote attacker can exploit this to cause the application to consume excessive resources, resulting in a denial of service condition.
(CVE-2017-6499)

- A NULL pointer dereference flaw exists in the ReadXCFImage() function in coders/xcf.c due to improper handling of XCF files. An unauthenticated, remote attacker can exploit this, by convincing a user to open a specially crafted XCF file, to cause a denial of service condition. (CVE-2017-6501)

Solution

Upgrade to ImageMagick version 6.9.7-8 / 7.0.4-8 or later. Note that you may also need to manually uninstall the vulnerable version from the system.

See Also

http://www.nessus.org/u?764ccdd1

http://www.nessus.org/u?47ca94a9

http://www.nessus.org/u?762e4c8b

http://www.nessus.org/u?07868ede

Plugin Details

Severity: High

ID: 97892

File Name: imagemagick_7_0_4_8.nasl

Version: 1.4

Type: local

Agent: windows

Family: Windows

Published: 3/22/2017

Updated: 11/13/2019

Dependencies: imagemagick_installed.nasl

Risk Information

CVSS Score Source: CVE-2017-6497

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P

Temporal Vector: E:U/RL:OF/RC:C

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:imagemagick:imagemagick

Required KB Items: installed_sw/ImageMagick

Exploit Ease: No known exploits are available

Patch Publication Date: 2/12/2017

Vulnerability Publication Date: 2/9/2017

Reference Information

CVE: CVE-2017-6497, CVE-2017-6499, CVE-2017-6501

BID: 96589, 96590, 96594