GLSA 200801-21: Xdg-Utils: Arbitrary command execution

Severity:normal
Title:Xdg-Utils: Arbitrary command execution
Date:01/30/2008
Bugs: #207331
ID:200801-21

Synopsis

A vulnerability has been discovered in Xdg-Utils, allowing for the remote execution of arbitrary commands.

Background

Xdg-Utils is a set of tools allowing all applications to easily integrate with the Free Desktop configuration.

Affected packages

Package Vulnerable Unaffected Architecture(s)
x11-misc/xdg-utils < 1.0.2-r1 >= 1.0.2-r1 All supported architectures

Description

Miroslav Lichvar discovered that the "xdg-open" and "xdg-email" shell scripts do not properly sanitize their input before processing it.

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All Xdg-Utils users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=x11-misc/xdg-utils-1.0.2-r1"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200801-21.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!