portage-ng / portage / app-text / sword / 1.9.0-r2
portage-ng glsa
1 advisory reference app-text/sword · none place version 1.9.0-r2 in a vulnerable range
▸ GLSA 200803-06 SWORD: Shell command injection this version unaffected high remote 2008-03-03

Insufficient input checking in SWORD may allow shell command injection.

Announced
2008-03-03
Revised
2008-03-03
Access
remote
Bugs
#210754
Advisory
https://security.gentoo.org/glsa/200803-06

Affected packages

PackageArchVulnerableUnaffected
app-text/sword*< 1.5.8-r2>= 1.5.8-r2

Background

SWORD is a library for Bible study software.

Description

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.

Resolution

All SWORD users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/sword-1.5.8-r2"

References