GLSA 200606-16: DokuWiki: PHP code injection

Severity:high
Title:DokuWiki: PHP code injection
Date:06/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 Architecture(s)
www-apps/dokuwiki < 20060309-r1 >= 20060309-r1 All supported architectures

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

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 https://bugs.gentoo.org.

License

Copyright 2010 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.

Thank you!