TUCoPS :: Web :: Wiki, Collaborationware :: b06-3013.htm

DokuWiki: PHP code injection
DokuWiki: PHP code injection
DokuWiki: PHP code injection



--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
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 

--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--

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH