GLSA 200606-16 DokuWiki: PHP code injection
Posted on: 06/14/2006 07:32 PM

A new security update has been released for Gentoo Linux - DokuWiki: PHP code injection. Here the announcement:

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 lt; 20060309-r1 gt;= 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 "gt;=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
security@gentoo.org 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



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/glsa_200606_16_dokuwiki_php_code_injection.html)