xloadimage -- arbitrary command execution when handling compressed files

2005-02-18T00:00:00
ID 310D0087-0FDE-4929-A41F-96F17C5ADFFE
Type freebsd
Reporter FreeBSD
Modified 2005-02-18T00:00:00

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.