First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 210754
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Pierre-Yves Rofes <py@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
sword_escape_range.patch shell_escape for the range parameter patch Pierre-Yves Rofes 2008-02-19 21:23 0000 540 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 210754 depends on: Show dependency tree
Bug 210754 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-19 20:46 0000
A vulnerability has been discovered in SWORD, which can be exploited by
malicious people to compromise a vulnerable system.

The vulnerability is caused due to an input sanitation error in diatheke.pl and
can be exploited to inject and execute arbitrary shell commands via a specially
crafted "range" parameter.

This is related to:
SA13897

The vulnerability is confirmed in version 1.5.10 and reported in version 1.5.9.
Other versions may also be affected.

Solution:
Filter malicious characters and character sequences in a web proxy.

Provided and/or discovered by:
Reported via a Debian bug report by Dan Dennison.

Original Advisory:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466449

------- Comment #1 From Pierre-Yves Rofes 2008-02-19 21:23:04 0000 -------
Created an attachment (id=144014) [edit]
shell_escape for the range parameter

here's the patch, courtesy of Debian.theology herd, please bump.

------- Comment #2 From Pierre-Yves Rofes 2008-02-19 21:25:16 0000 -------
bah, forgot to set status, sorry fot the bugspam.

------- Comment #3 From Steve Dibb 2008-02-20 04:04:42 0000 -------
Fixed versions in CVS: 1.5.8-r2, 1.5.9-r2, 1.5.10-r2

------- Comment #4 From Sune Kloppenborg Jeppesen 2008-02-20 08:16:57 0000 -------
Thx Steve for the quick fix.

Arches please test and mark stable. Target keywords are:

sword-1.5.8-r2.ebuild:KEYWORDS="amd64 ppc x86"

------- Comment #5 From Christian Faulhammer 2008-02-20 08:53:31 0000 -------
You shall not make wrongful use of the functions of your program....sorry,
could not resist. x86 stable

------- Comment #6 From Peter Weller 2008-02-21 18:51:24 0000 -------
amd64 done

------- Comment #7 From Tobias Scherbaum 2008-02-22 14:23:24 0000 -------
ppc stable

------- Comment #8 From Peter Volkov 2008-02-24 20:38:02 0000 -------
Fixed in release snapshot.

------- Comment #9 From Robert Buchholz 2008-02-26 22:44:41 0000 -------
CVE-2008-0932 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-0932):
  diatheke.pl in The SWORD Project Diatheke 1.5.9 and earlier allows remote
  attackers to execute arbitrary commands via shell metacharacters in an
  unspecified parameter.

------- Comment #10 From Pierre-Yves Rofes 2008-03-03 21:33:40 0000 -------
GLSA 200803-06

First Last Prev Next    No search results available      Search page      Enter new bug