FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

xloadimage -- arbitrary command execution when handling compressed files

Affected packages
xli <= 1.17.0_1
xloadimage <= 4.1.10

Details

VuXML ID 310d0087-0fde-4929-a41f-96f17c5adffe
Discovery 2005-02-18
Entry 2005-06-03

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.

References

CVE Name CVE-2005-0638
URL http://bugs.gentoo.org/show_bug.cgi?id=79762