ImageMagick < 6.7.8-8 gif.c Memory Corruption

This script is Copyright (C) 2013-2014 Tenable Network Security, Inc.


Synopsis :

The remote Windows host contains an application that is affected by a
memory corruption vulnerability.

Description :

The remote Windows host is running a version of ImageMagick prior to
version 6.7.8-8. It is, therefore, affected by a memory corruption
vulnerability in 'gif.c' while processing GIF comments because a null
character is used to terminate comments. Exploitation of this issue
could result in a denial of service or arbitrary code execution. To fix
this issue, raw memory handling is replaced with a 'ConcatenateString'
function.

See also :

http://www.imagemagick.org/script/changelog.php
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1218248
http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23921
http://seclists.org/oss-sec/2013/q3/532
http://www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=24081

Solution :

Upgrade to ImageMagick 6.7.8-8 or later.

Risk factor :

High / CVSS Base Score : 9.3
(CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 8.1
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : true

Family: Windows

Nessus Plugin ID: 70739 ()

Bugtraq ID: 62080

CVE ID: CVE-2013-4298