Ubuntu 5.04 / 5.10 / 6.06 LTS / 6.10 : imagemagick vulnerability (USN-372-1)

Medium Nessus Plugin ID 27953


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


M. Joonas Pihlaja discovered that ImageMagick did not sufficiently verify the validity of PALM and DCM images. When processing a specially crafted image with an application that uses imagemagick, this could be exploited to execute arbitrary code with the application's privileges.

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.


Update the affected packages.

Plugin Details

Severity: Medium

ID: 27953

File Name: ubuntu_USN-372-1.nasl

Version: $Revision: 1.12 $

Type: local

Agent: unix

Published: 2007/11/10

Modified: 2016/05/27

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 5.1

Temporal Score: 4.4

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:ND/RL:OF/RC:ND

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:imagemagick, p-cpe:/a:canonical:ubuntu_linux:libmagick++6, p-cpe:/a:canonical:ubuntu_linux:libmagick++6-dev, p-cpe:/a:canonical:ubuntu_linux:libmagick++6c2, p-cpe:/a:canonical:ubuntu_linux:libmagick++9-dev, p-cpe:/a:canonical:ubuntu_linux:libmagick++9c2a, p-cpe:/a:canonical:ubuntu_linux:libmagick6, p-cpe:/a:canonical:ubuntu_linux:libmagick6-dev, p-cpe:/a:canonical:ubuntu_linux:libmagick9, p-cpe:/a:canonical:ubuntu_linux:libmagick9-dev, p-cpe:/a:canonical:ubuntu_linux:perlmagick, cpe:/o:canonical:ubuntu_linux:5.04, cpe:/o:canonical:ubuntu_linux:5.10, cpe:/o:canonical:ubuntu_linux:6.06:-:lts, cpe:/o:canonical:ubuntu_linux:6.10

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2006/11/01

Vulnerability Publication Date: 2006/09/29

Reference Information

CVE: CVE-2006-5456

BID: 20707

OSVDB: 29989, 29990

USN: 372-1