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

medium Nessus Plugin ID 30138

Synopsis

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

Description

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.

Solution

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

https://security.gentoo.org/glsa/200801-21

Plugin Details

Severity: Medium

ID: 30138

File Name: gentoo_GLSA-200801-21.nasl

Version: 1.14

Type: local

Published: 2/1/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

CVSS v2

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: 1/30/2008

Reference Information

CVE: CVE-2008-0386

CWE: 20

GLSA: 200801-21