DokuWiki spellchecker PHP code execution
| dokuwiki-spellchecker-code-execution (26913) |
Description:
DokuWiki could allow a remote attacker to execute arbitrary PHP code on the system, caused by improper input validation in the preg_replace() function used by the external spellchecker. A remote attacker could exploit this vulnerability using a specially-crafted URL request to execute arbitrary PHP code on the system.
Consequences:
Gain Access
Remedy:
Upgrade to the latest version of DokuWiki, available from the DokuWiki Web site. See References.
For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2006-06-16 for patch, upgrade, or suggested workaround information. See References.
References:
- DokuWiki Web site: DokuWiki.
- Full-Disclosure Mailing List, Mon Jun 05 2006 - 03:25:17 CDT: Advisory 04/2006: DokuWiki PHP code execution vulnerability in spellchecker.
- BID-18289: DokuWiki Remote PHP Script Code Injection Vulnerability
- CVE-2006-2878: 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.
- GLSA-200606-16: DokuWiki: PHP code injection
- OSVDB ID: 25980: DokuWiki Spell Checker Embedded Link Arbitrary PHP Code Execution
- SA20429: DokuWiki Spell Checker Code Execution Vulnerability
- SECTRACK ID: 1016221: DokuWiki Spellchecking Backend Lets Remote Users Code Execution
- VUPEN/ADV-2006-2142: DokuWiki Spell Checker Link Handling Remote Code Execution Vulnerability
Platforms Affected:
- Andreas Gohr DokuWiki prior to 2006-06-04
- Gentoo Linux
Reported:
Jun 05, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
