CVE Catalog

CVE-2006-2878

High
Published: Translated: NVD NIST

Summary

In DokuWiki 2006/06/04 and earlier, the spellchecker (spellcheck.php) allows remote attackers to inject and execute arbitrary PHP code via complex curly syntax processed by preg_replace with the /e (executable) modifier.

Risk Assessment

An attacker can remotely execute arbitrary PHP code on the server, leading to full compromise of the application and potentially the entire server.

Recommendation

Immediately upgrade DokuWiki to the latest available version that fixes this vulnerability, and avoid using the /e modifier in preg_replace.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS