FreeBSD : xloadimage -- arbitrary command execution when handling compressed files (310d0087-0fde-4929-a41f-96f17c5adffe)

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


Synopsis :

The remote FreeBSD host is missing one or more security-related
updates.

Description :

Tavis Ormandy discovered that xli and xloadimage attempt to decompress
images by piping them through gunzip or similar decompression tools.
Unfortunately, the unsanitized file name is included as part of the
command. This is dangerous, as in some situations, such as mailcap
processing, an attacker may control the input file name. As a result,
an attacker may be able to cause arbitrary command execution.

See also :

http://bugs.gentoo.org/show_bug.cgi?id=79762
http://www.nessus.org/u?f8ce5393

Solution :

Update the affected packages.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: FreeBSD Local Security Checks

Nessus Plugin ID: 18892 (freebsd_pkg_310d00870fde4929a41f96f17c5adffe.nasl)

Bugtraq ID:

CVE ID: CVE-2005-0638

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now