Description
The spellchecker (spellcheck.php) in DokuWiki 2006/06/04 and earlier allows remote attackers to insert and execute arbitrary PHP code via "complex curly syntax" that is inserted into a regular expression that is processed by preg_replace with the /e (executable) modifier.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | dokuwiki | 0.0.20060309-4 | — |
| Debian 13 | dokuwiki | 0.0.20060309-4 | — |
| Debian 12 | dokuwiki | 0.0.20060309-4 | — |
References
- http://bugs.splitbrain.org/index.php?do=details&id=823
- 18289 vdb-entry
- 20060605 Advisory 04/2006: DokuWiki PHP code execution vulnerability in spellchecker mailing-list
- 1016221 vdb-entry
- 25980 vdb-entry
- 20429 third-party-advisory
- 20060605 Advisory 04/2006: DokuWiki PHP code execution vulnerability in spellchecker mailing-list
- 20669 third-party-advisory
- ADV-2006-2142 vdb-entry
- http://www.hardened-php.net/advisory_042006.119.html
- dokuwiki-spellchecker-code-execution(26913) vdb-entry
- GLSA-200606-16 vendor-advisory