GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Wed Jan 09, 2008 1:26 am Post subject: [ GLSA 200801-01 ] unp: Arbitrary command execution |
|
|
Gentoo Linux Security Advisory
Title: unp: Arbitrary command execution (GLSA 200801-01)
Severity: normal
Exploitable: remote
Date: January 09, 2008
Bug(s): #203106
ID: 200801-01
Synopsis
unp allows execution of arbitrary code via malicious file names.
Background
unp is a script for unpacking various file formats.
Affected Packages
Package: app-arch/unp
Vulnerable: < 1.0.14
Unaffected: >= 1.0.14
Architectures: All supported architectures
Description
Erich Schubert from Debian discovered that unp does not escape file names properly before passing them to calls of the shell.
Impact
A remote attacker could entice a user or automated system to unpack a compressed archive with a specially crafted file name, leading to the execution of shell commands from within the filename. That code will be executed with the privileges of the user running unp.
Workaround
There is no known workaround at this time.
Resolution
All unp users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/unp-1.0.14" |
References
CVE-2007-6610 |
|