FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

dokuwiki -- spellchecker remote PHP code execution

Affected packages
dokuwiki < 20060309_1


VuXML ID af8dba15-f4cc-11da-87a1-000c6ec775d9
Discovery 2006-06-05
Entry 2006-06-05

Stefan Esser reports:

During the evaluation of DokuWiki for a german/korean wiki of mine a flaw in DokuWiki's spellchecker was discovered, that allows injecting arbitrary PHP commands, by requesting a spellcheck on PHP commands in 'complex curly syntax'.

Because the spellchecker is written as part of the AJAX functionality of DokuWiki, it can be directly called by any website visitor, without the need for a wiki account.