Gentoo Archives: gentoo-announce

From: Pierre-Yves Rofes <py@g.o>
To: gentoo-announce@l.g.o
Cc: full-disclosure@××××××××××××××.uk, bugtraq@×××××××××××××.com, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200803-06 ] SWORD: Shell command injection
Date: Mon, 03 Mar 2008 21:31:01
Message-Id: 47CC74EA.40401@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5 Gentoo Linux Security Advisory GLSA 200803-06
6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
7 http://security.gentoo.org/
8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
9
10 Severity: High
11 Title: SWORD: Shell command injection
12 Date: March 03, 2008
13 Bugs: #210754
14 ID: 200803-06
15
16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
17
18 Synopsis
19 ========
20
21 Insufficient input checking in SWORD may allow shell command injection.
22
23 Background
24 ==========
25
26 SWORD is a library for Bible study software.
27
28 Affected packages
29 =================
30
31 -------------------------------------------------------------------
32 Package / Vulnerable / Unaffected
33 -------------------------------------------------------------------
34 1 app-text/sword < 1.5.8-r2 >= 1.5.8-r2
35
36 Description
37 ===========
38
39 Dan Dennison reported that the diatheke.pl script used in SWORD does
40 not properly sanitize shell meta-characters in the "range" parameter
41 before processing it.
42
43 Impact
44 ======
45
46 A remote attacker could provide specially crafted input to a vulnerable
47 application, possibly resulting in the remote execution of arbitrary
48 shell commands with the privileges of the user running SWORD (generally
49 the web server account).
50
51 Workaround
52 ==========
53
54 There is no known workaround at this time.
55
56 Resolution
57 ==========
58
59 All SWORD users should upgrade to the latest version:
60
61 # emerge --sync
62 # emerge --ask --oneshot --verbose ">=app-text/sword-1.5.8-r2"
63
64 References
65 ==========
66
67 [ 1 ] CVE-2008-0932
68 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0932
69
70 Availability
71 ============
72
73 This GLSA and any updates to it are available for viewing at
74 the Gentoo Security Website:
75
76 http://security.gentoo.org/glsa/glsa-200803-06.xml
77
78 Concerns?
79 =========
80
81 Security is a primary focus of Gentoo Linux and ensuring the
82 confidentiality and security of our users machines is of utmost
83 importance to us. Any security concerns should be addressed to
84 security@g.o or alternatively, you may file a bug at
85 http://bugs.gentoo.org.
86
87 License
88 =======
89
90 Copyright 2008 Gentoo Foundation, Inc; referenced text
91 belongs to its owner(s).
92
93 The contents of this document are licensed under the
94 Creative Commons - Attribution / Share Alike license.
95
96 http://creativecommons.org/licenses/by-sa/2.5
97 -----BEGIN PGP SIGNATURE-----
98 Version: GnuPG v2.0.7 (GNU/Linux)
99 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
100
101 iD8DBQFHzHTpuhJ+ozIKI5gRAmOTAJ93/DdAiuRV8JbRq/phHYIzTomn4wCfYaJT
102 cEFjYtpok7uJPUNj8t52thY=
103 =h+WR
104 -----END PGP SIGNATURE-----
105 --
106 gentoo-announce@l.g.o mailing list