<<< Date Index >>>     <<< Thread Index >>>

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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200801-21
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Xdg-Utils: Arbitrary command execution
      Date: January 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
    -------------------------------------------------------------------
  1  x11-misc/xdg-utils     < 1.0.2-r1                     >= 1.0.2-r1

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
==========

  [ 1 ] CVE-2008-0386
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0386

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@xxxxxxxxxx or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2008 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.

http://creativecommons.org/licenses/by-sa/2.5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHoQGWuhJ+ozIKI5gRAr09AJ9a4Kq+tiATG8uAue5yZFv/WChG1QCfbiyC
Nn5LZMgA1KVZFgLYHYX6pgo=
=IkQ6
-----END PGP SIGNATURE-----