GLSA-200602-06 : ImageMagick: Format string vulnerability

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


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200602-06
(ImageMagick: Format string vulnerability)

The SetImageInfo function was found vulnerable to a format string
mishandling. Daniel Kobras discovered that the handling of '%'-escaped
sequences in filenames passed to the function is inadequate. This is a
new vulnerability that is not addressed by GLSA 200503-11.

Impact :

By feeding specially crafted file names to ImageMagick, an
attacker can crash the program and possibly execute arbitrary code with
the privileges of the user running ImageMagick.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200503-11.xml
http://www.gentoo.org/security/en/glsa/glsa-200602-06.xml

Solution :

All ImageMagick users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=media-gfx/imagemagick-6.2.5.5'

Risk factor :

Medium / CVSS Base Score : 5.1
(CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 20896 (gentoo_GLSA-200602-06.nasl)

Bugtraq ID:

CVE ID: CVE-2006-0082