Date: Tue, 18 Aug 2009 23:37:46 +0200
From: Alex Legler <a3li@gentoo.org.>
To: [email protected]Subject: [ GLSA 200908-09 ] DokuWiki: Local file inclusion
Message-ID: <20090818233746.24f1b1b6@neon.>
X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=PGP-SHA1;
boundary="Sig_/e+mJOxdiaUASgXX4ltutb3W"; protocol="application/pgp-signature"
X-Virus-Scanned: antivirus-gw at tyumen.ru
--Sig_/e+mJOxdiaUASgXX4ltutb3W
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200908-09
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: High
Title: DokuWiki: Local file inclusion
Date: August 18, 2009
Bugs: #272431
ID: 200908-09
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D
An input sanitation error in DokuWiki might lead to the dislosure of
local files or even the remote execution of arbitrary code.
Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
DokuWiki is a standards compliant Wiki system written in PHP.
Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 www-apps/dokuwiki < 2009-02-14b >=3D 2009-02-14b
Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
girex reported that data from the "config_cascade" parameter in
inc/init.php is not properly sanitized before being used.
Impact
=3D=3D=3D=3D=3D=3D
A remote attacker could exploit this vulnerability to execute PHP code
from arbitrary local, or, when the used PHP version supports ftp://
URLs, also from remote files via FTP. Furthermore, it is possible to
disclose the contents of local files. NOTE: Successful exploitation
requires the PHP option "register_globals" to be enabled.
Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Disable "register_globals" in php.ini.
Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
All DokuWiki users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose =3Dwww-apps/dokuwiki-2009-02-14b
References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[ 1 ] CVE-2009-1960
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2009-1960
Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200908-09.xml
Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.
License
=3D=3D=3D=3D=3D=3D=3D
Copyright 2009 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/2.5
--Sig_/e+mJOxdiaUASgXX4ltutb3W
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
iEYEARECAAYFAkqLHy0ACgkQk+oqhfPAZGnBQACdGnm2YSs7UWSYVDaO0tOPUIeV
D5QAnivhOmdXAq9Gt5UBQvCQwAm2APvQ
=GB8H
-----END PGP SIGNATURE-----
--Sig_/e+mJOxdiaUASgXX4ltutb3W--