GLSA-200803-06 : SWORD: Shell command injection

high Nessus Plugin ID 31381

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.

Solution

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

See Also

https://security.gentoo.org/glsa/200803-06

Plugin Details

Severity: High

ID: 31381

File Name: gentoo_GLSA-200803-06.nasl

Version: 1.14

Type: local

Published: 3/7/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:sword, cpe:/o:gentoo:linux

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

Patch Publication Date: 3/3/2008

Reference Information

CVE: CVE-2008-0932

CWE: 20

GLSA: 200803-06