ImageMagick 7.x < 7.0.3-6 WaveletDenoiseImage() Heap Buffer Overflow RCE

medium Nessus Plugin ID 95319

Synopsis

An application installed on the remote Windows host is affected by a remote code execution vulnerability.

Description

The version of ImageMagick installed on the remote Windows host is 7.x prior to 7.0.3-6. It is, therefore, affected by a heap buffer overflow condition in the WaveletDenoiseImage() function within file MagicCore/fx.c. An unauthenticated, remote attacker can exploit this to cause a denial of service condition or the execution of arbitrary code.

Solution

Upgrade to ImageMagick version 7.0.3-6 or later. Note that you may also need to manually uninstall the vulnerable version from the system.

See Also

https://github.com/ImageMagick/ImageMagick/issues/296

http://seclists.org/oss-sec/2016/q4/413

Plugin Details

Severity: Medium

ID: 95319

File Name: imagemagick_7_0_3_6.nasl

Version: 1.7

Type: local

Agent: windows

Family: Windows

Published: 11/25/2016

Updated: 7/7/2023

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2016-9298

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

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

Temporal Vector: CVSS:3.0/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: 11/8/2016

Vulnerability Publication Date: 10/31/2016

Reference Information

CVE: CVE-2016-9298

BID: 94310