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

Medium Nessus Plugin ID 30138


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200801-21 (Xdg-Utils: Arbitrary command execution)

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.


All Xdg-Utils users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=x11-misc/xdg-utils-1.0.2-r1'

See Also

Plugin Details

Severity: Medium

ID: 30138

File Name: gentoo_GLSA-200801-21.nasl

Version: $Revision: 1.11 $

Type: local

Published: 2008/02/01

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:xdg-utils, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2008/01/30

Reference Information

CVE: CVE-2008-0386

OSVDB: 42838, 42839

GLSA: 200801-21

CWE: 20