GLSA-200803-06 : SWORD: Shell command injection

This script is Copyright (C) 2008-2014 Tenable Network Security, Inc.


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-200803-06
(SWORD: Shell command injection)

Dan Dennison reported that the diatheke.pl script used in SWORD does
not properly sanitize shell meta-characters in the 'range' parameter
before processing it.

Impact :

A remote attacker could provide specially crafted input to a vulnerable
application, possibly resulting in the remote execution of arbitrary
shell commands with the privileges of the user running SWORD (generally
the web server account).

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200803-06.xml

Solution :

All SWORD users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=app-text/sword-1.5.8-r2'

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 31381 (gentoo_GLSA-200803-06.nasl)

Bugtraq ID:

CVE ID: CVE-2008-0932