Executive Summary

Summary
Title SWORD: Shell command injection
Informations
Name GLSA-200803-06 First vendor Publication 2008-03-03
Vendor Gentoo Last vendor Modification 2008-03-03
Severity (Vendor) High Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Cvss Base Score 7.5 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

Insufficient input checking in SWORD may allow shell command injection.

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

[ 1 ] CVE-2008-0932 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0932

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

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

Original Source

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

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-20 Improper Input Validation

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:19971
 
Oval ID: oval:org.mitre.oval:def:19971
Title: DSA-1508-1 sword - arbirary shell command execution
Description: Dan Dennison discovered that Diatheke, a CGI program to make a bible website, performs insufficient sanitising of a parameter, allowing a remote attacker to execute arbitrary shell commands as the web server user.
Family: unix Class: patch
Reference(s): DSA-1508-1
CVE-2008-0932
Version: 5
Platform(s): Debian GNU/Linux 4.0
Product(s): sword
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:8157
 
Oval ID: oval:org.mitre.oval:def:8157
Title: DSA-1508 diatheke -- insufficient input sanitising
Description: Dan Dennison discovered that Diatheke, a CGI program to make a bible website, performs insufficient sanitising of a parameter, allowing a remote attacker to execute arbitrary shell commands as the web server user.
Family: unix Class: patch
Reference(s): DSA-1508
CVE-2008-0932
Version: 3
Platform(s): Debian GNU/Linux 4.0
Debian GNU/Linux 3.1
Product(s): diatheke
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 1
Application 1

OpenVAS Exploits

Date Description
2009-02-16 Name : Fedora Update for sword FEDORA-2008-1922
File : nvt/gb_fedora_2008_1922_sword_fc7.nasl
2009-02-16 Name : Fedora Update for sword FEDORA-2008-1951
File : nvt/gb_fedora_2008_1951_sword_fc8.nasl
2008-09-24 Name : Gentoo Security Advisory GLSA 200803-06 (sword)
File : nvt/glsa_200803_06.nasl
2008-02-28 Name : Debian Security Advisory DSA 1508-1 (diatheke)
File : nvt/deb_1508_1.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
42213 Diatheke diatheke.pl Shell Metacharacter Arbitrary Remote Command Execution

Nessus® Vulnerability Scanner

Date Description
2008-03-07 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-200803-06.nasl - Type : ACT_GATHER_INFO
2008-02-26 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-1508.nasl - Type : ACT_GATHER_INFO
2008-02-26 Name : The remote Fedora host is missing a security update.
File : fedora_2008-1922.nasl - Type : ACT_GATHER_INFO
2008-02-26 Name : The remote Fedora host is missing a security update.
File : fedora_2008-1951.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:35:36
  • Multiple Updates