Joined: 12 May 2004
|Posted: Thu Jan 31, 2008 2:26 am Post subject: [ GLSA 200801-21 ] Xdg-Utils: Arbitrary command execution
|Gentoo Linux Security Advisory
Title: Xdg-Utils: Arbitrary command execution (GLSA 200801-21)
Date: January 30, 2008
A vulnerability has been discovered in Xdg-Utils, allowing for the remote execution of arbitrary commands.
Xdg-Utils is a set of tools allowing all applications to easily integrate with the Free Desktop configuration.
Vulnerable: < 1.0.2-r1
Unaffected: >= 1.0.2-r1
Architectures: All supported architectures
Miroslav Lichvar discovered that the "xdg-open" and "xdg-email" shell scripts do not properly sanitize their input before processing it.
A remote attacker could entice a user to open a specially crafted link with a vulnerable application using Xdg-Utils (e.g. an email client), resulting in the execution of arbitrary code with the privileges of the user running the application.
There is no known workaround at this time.
All Xdg-Utils users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=x11-misc/xdg-utils-1.0.2-r1"