CVE-2006-2878 Code injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary PHP code in DokuWiki via complex curly syntax in the spellchecker, requiring immediate upgrade.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2006-2878?

CVE-2006-2878 is a high-severity code injection vulnerability in n/a, published on 7 Jun 2006. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Which versions are affected by CVE-2006-2878?

It affects 1 product.

Products include Andreas Gohr Dokuwiki.

How do I fix CVE-2006-2878?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2006-2878 being exploited?

There is no known exploitation of CVE-2006-2878 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2006-2878, GHSA-9h77-xrgv-4cw7.

Is CVE-2006-2878 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free