ImageMagick 7.x < 7.0.3-9 ReadSGIImage() SGI File Handling DoS

medium Nessus Plugin ID 95722

Synopsis

An application installed on the remote Windows host is affected by a denial of service vulnerability.

Description

The version of ImageMagick installed on the remote Windows host is 7.x prior to 7.0.3-9. It is, therefore, affected by a denial of service vulnerability due to an out-of-bounds read error in the ReadSGIImage() function within file coders/sgi.c when handling iris info dimensions.
An unauthenticated, remote attacker can exploit this to crash a process linked against the library or possibly disclose memory contents.

Note that CVE-2016-9773 exists due to an incomplete fix for CVE-2016-9556.

Solution

Upgrade to ImageMagick version 7.0.3-9 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/301

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

https://seclists.org/oss-sec/2016/q4/469

https://seclists.org/oss-sec/2016/q4/550

Plugin Details

Severity: Medium

ID: 95722

File Name: imagemagick_7_0_3_9.nasl

Version: 1.10

Type: local

Agent: windows

Family: Windows

Published: 12/12/2016

Updated: 6/4/2024

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-9773

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: 12/5/2016

Vulnerability Publication Date: 11/16/2016

Reference Information

CVE: CVE-2016-9556, CVE-2016-9773

BID: 94492