Joined: 12 May 2004
|Posted: Mon Mar 03, 2008 11:26 pm Post subject: [ GLSA 200803-06 ] SWORD: Shell command injection
|Gentoo Linux Security Advisory
Title: SWORD: Shell command injection (GLSA 200803-06)
Date: March 03, 2008
Insufficient input checking in SWORD may allow shell command injection.
SWORD is a library for Bible study software.
Vulnerable: < 1.5.8-r2
Unaffected: >= 1.5.8-r2
Architectures: All supported architectures
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.
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).
There is no known workaround at this time.
All SWORD users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/sword-1.5.8-r2"