ImageMagick 6.x < 6.9.7-5 / 7.x < 7.0.4-5 tga.c WriteTGAImage() Assertion Failure DoS

medium Nessus Plugin ID 97891

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 6.x prior to 6.9.7-5 or 7.x prior to 7.0.4-5. It is, therefore, affected by a denial of service vulnerability in the WriteTGAImage() function in coders/tga.c due to improper handling of TGA files. An unauthenticated, remote attacker can exploit this, by convincing a user to convert a specially crafted image to a TGA file, to cause a denial of service condition.

Solution

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

See Also

https://github.com/ImageMagick/ImageMagick/pull/359

Plugin Details

Severity: Medium

ID: 97891

File Name: imagemagick_7_0_4_5.nasl

Version: 1.6

Type: local

Agent: windows

Family: Windows

Published: 3/22/2017

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-2017-6498

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: 1/21/2017

Vulnerability Publication Date: 1/20/2017

Reference Information

CVE: CVE-2017-6498

BID: 96591