GLSA-200510-26 : XLI, Xloadimage: Buffer overflow

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-200510-26
(XLI, Xloadimage: Buffer overflow)

When XLI or Xloadimage process an image, they create a new image
object to contain the new image, copying the title from the old image
to the newly created image. Ariel Berkman reported that the 'zoom',
'reduce', and 'rotate' functions use a fixed length buffer to contain
the new title, which could be overwritten by the NIFF or XPM image
processors.

Impact :

A malicious user could craft a malicious XPM or NIFF file and
entice a user to view it using XLI, or manipulate it using Xloadimage,
potentially resulting in the execution of arbitrary code with the
permissions of the user running XLI or Xloadimage.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200510-26.xml

Solution :

All XLI users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=media-gfx/xli-1.17.0-r2'
All Xloadimage users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=media-gfx/xloadimage-4.1-r4'

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: 21275 (gentoo_GLSA-200510-26.nasl)

Bugtraq ID:

CVE ID: CVE-2005-3178