[ GLSA 200606-16 ] DokuWiki: PHP code injection
From: Sune Kloppenborg Jeppesen <jaervosz@gentoo.org.>
To: [email protected]
Subject: [ GLSA 200606-16 ] DokuWiki: PHP code injection
Date: Wed, 14 Jun 2006 19:55:03 +0200
User-Agent: KMail/1.9.3
Cc: [email protected], [email protected],
[email protected]
Organization: Gentoo Linux Security Team
X-GPG-Key: http://home.coming.dk/skj.pub.gpg
MIME-Version: 1.0
Content-Type: multipart/signed;
boundary="nextPart1224027.gAkLHTFzup";
protocol="application/pgp-signature";
micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200606141955.03894.jaervosz@gentoo.org.>
X-Virus-Scanned: antivirus-gw at tyumen.ru
--nextPart1224027.gAkLHTFzup
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200606-16
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: High
Title: DokuWiki: PHP code injection
Date: June 14, 2006
Bugs: #135623
ID: 200606-16
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
A flaw in DokuWiki's spell checker allows for the execution of
arbitrary PHP commands, even without proper authentication.
Background
==========
DokuWiki is a simple to use wiki targeted at developer teams,
workgroups and small companies.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 www-apps/dokuwiki < 20060309-r1 >= 20060309-r1
Description
===========
Stefan Esser discovered that the DokuWiki spell checker fails to
properly sanitize PHP's "complex curly syntax".
Impact
======
A unauthenticated remote attacker may execute arbitrary PHP commands -
and thus possibly arbitrary system commands - with the permissions of
the user running the webserver that serves DokuWiki pages.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All DokuWiki users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=www-apps/dokuwiki-20060309-r1"
References
==========
[ 1 ] Hardened-PHP advisory
http://www.hardened-php.net/advisory_042006.119.html
[ 2 ] CVE-2006-2878
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2878
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200606-16.xml
Concerns?
=========
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
http://bugs.gentoo.org.
License
=======
Copyright 2006 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
--nextPart1224027.gAkLHTFzup
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQBEkE13zKC5hMHO6rkRAjg5AJ9pa31M7PHyn96KbPb3EHWnLKRM5ACfd+tU
QYZB7fWP33y32keDJMPlZYU=
=aflA
-----END PGP SIGNATURE-----
--nextPart1224027.gAkLHTFzup--