Gentoo Archives: gentoo-announce

From: Alex Legler <a3li@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200908-09 ] DokuWiki: Local file inclusion
Date: Tue, 18 Aug 2009 22:01:15
Message-Id: 20090818233746.24f1b1b6@neon
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200908-09
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: High
8 Title: DokuWiki: Local file inclusion
9 Date: August 18, 2009
10 Bugs: #272431
11 ID: 200908-09
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 An input sanitation error in DokuWiki might lead to the dislosure of
19 local files or even the remote execution of arbitrary code.
20
21 Background
22 ==========
23
24 DokuWiki is a standards compliant Wiki system written in PHP.
25
26 Affected packages
27 =================
28
29 -------------------------------------------------------------------
30 Package / Vulnerable / Unaffected
31 -------------------------------------------------------------------
32 1 www-apps/dokuwiki < 2009-02-14b >= 2009-02-14b
33
34 Description
35 ===========
36
37 girex reported that data from the "config_cascade" parameter in
38 inc/init.php is not properly sanitized before being used.
39
40 Impact
41 ======
42
43 A remote attacker could exploit this vulnerability to execute PHP code
44 from arbitrary local, or, when the used PHP version supports ftp://
45 URLs, also from remote files via FTP. Furthermore, it is possible to
46 disclose the contents of local files. NOTE: Successful exploitation
47 requires the PHP option "register_globals" to be enabled.
48
49 Workaround
50 ==========
51
52 Disable "register_globals" in php.ini.
53
54 Resolution
55 ==========
56
57 All DokuWiki users should upgrade to the latest version:
58
59 # emerge --sync
60 # emerge --ask --oneshot --verbose =www-apps/dokuwiki-2009-02-14b
61
62 References
63 ==========
64
65 [ 1 ] CVE-2009-1960
66 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1960
67
68 Availability
69 ============
70
71 This GLSA and any updates to it are available for viewing at
72 the Gentoo Security Website:
73
74 http://security.gentoo.org/glsa/glsa-200908-09.xml
75
76 Concerns?
77 =========
78
79 Security is a primary focus of Gentoo Linux and ensuring the
80 confidentiality and security of our users machines is of utmost
81 importance to us. Any security concerns should be addressed to
82 security@g.o or alternatively, you may file a bug at
83 https://bugs.gentoo.org.
84
85 License
86 =======
87
88 Copyright 2009 Gentoo Foundation, Inc; referenced text
89 belongs to its owner(s).
90
91 The contents of this document are licensed under the
92 Creative Commons - Attribution / Share Alike license.
93
94 http://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
signature.asc application/pgp-signature