ImageMagick EXIF image file buffer overflow

imagemagick-exif-image-bo (17903) The risk level is classified as HighHigh Risk

Description:

ImageMagick is vulnerable to a buffer overflow, caused by improper bounds checking in the EXIF parsing routine. By sending a specially-crafted image file containing malicious EXIF data, a remote attacker could overflow a buffer and execute arbitrary code on the system, once the malicious file is processed.

Platforms Affected:

  • Canonical, Ubuntu 4.10
  • Debian, Debian Linux 3.0
  • Gentoo, Linux
  • ImageMagick, ImageMagick prior to 6.1.2
  • MandrakeSoft, Mandrake Linux 10.0
  • MandrakeSoft, Mandrake Linux 10.0 AMD64
  • MandrakeSoft, Mandrake Linux 10.1 X86_64
  • MandrakeSoft, Mandrake Linux 10.1
  • MandrakeSoft, Mandrake Linux 9.2 AMD64
  • MandrakeSoft, Mandrake Linux 9.2
  • MandrakeSoft, Mandrake Linux Corporate Server 2.1
  • MandrakeSoft, Mandrake Linux Corporate Server 2.1 X86_64
  • RedHat, Enterprise Linux 2.1 WS
  • RedHat, Enterprise Linux 2.1 AS
  • RedHat, Enterprise Linux 2.1 ES
  • RedHat, Enterprise Linux 2.1 AW
  • RedHat, Enterprise Linux 3 Desktop
  • RedHat, Enterprise Linux 3 ES
  • RedHat, Enterprise Linux 3 AS
  • RedHat, Enterprise Linux 3 WS
  • RedHat, Linux Advanced Workstation 2.1 Itanium
  • Turbolinux, Turbolinux 10 Desktop
  • Turbolinux, Turbolinux 10 F...
  • Turbolinux, Turbolinux 10 Server
  • Turbolinux, Turbolinux Home

Remedy:

Upgrade to the latest version of ImageMagick (6.1.2 or later), available from the ImageMagick Web site. See References.

For Ubuntu Linux:
Upgrade to the latest libmagick6 package (5:6.0.2.5-1ubuntu1.1 or later), as listed in USN-7-1 October 27, 2004. See References.

For Gentoo Linux:
Upgrade to the latest version of imagemagick (6.1.3.2 or later), as listed in GLSA 200411-11. See References.

For Debian GNU/Linux 3.0 (alias woody):
Upgrade to the latest imagemagick package (5.4.4.5-1woody4 or later), as listed in DSA-593-1. See References.

For Mandrake Linux:
Upgrade to the latest ImageMagick package, as listed below. Refer to Mandrakesoft Security Advisory MDKSA-2004:143. See References.

For Mandrake Linux 9.2: 5.5.7.10-7.2.92mdk or later
For Mandrake Linux 9.2/AMD64: 5.5.7.10-7.2.92mdk or later
For Mandrake Linux 10.0: 5.5.7.15-6.2.100mdk or later
For Mandrake Linux 10.0/AMD64: 5.5.7.15-6.2.100mdk or later
For Mandrake Linux 10.1: 6.0.4.4-5.1.101mdk or later
For Mandrake Linux 10.1/X86_64: 6.0.4.4-5.1.101mdk or later
For Mandrake Corporate Server 2.1: 5.4.8.3-2.2.C21mdk or later
For Mandrake Corporate Server 2.1/X86_64: 5.4.8.3-2.2.C21mdk or later

For Red Hat Linux:
Upgrade to the latest ImageMagick package, as listed below. Refer to RHSA-2004:636-03 for more information. See References.

Red Hat Enterprise Linux AS (v. 3), ES (v. 3), WS (v. 3), Desktop: 5.5.6-7 or later

Red Hat Enterprise Linux AS (v. 2.1), ES (v. 2.1), WS (v. 2.1), and Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor: 5.3.8-6 or later

For SGI Linux:
Upgrade to the latest imlib package, as listed in SGI Security Advisory 20041203-01-U. See References.

For Turbolinux:
Upgrade to the latest imlib package, as listed below. Refer to Turbolinux Security Advisory TLSA-2005-6 for more information. See References.

Turbolinux 10 Server: 6.0.5-6 or later
Turbolinux Home: 6.0.5-6 or later
Turbolinux 10 Desktop: 6.0.5-6 or later

For other distributions:
Contact your vendor for upgrade or patch information.

Consequences:

Gain Access

References:

Reported:

Oct 27, 2004

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page