CVE-2009-1960 Code injection in n/a

Critical 9.3 Published Updated

Remote attackers can execute arbitrary code via local file inclusion in DokuWiki when register_globals is enabled.

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

What is CVE-2009-1960?

CVE-2009-1960 is a critical code injection vulnerability in n/a, published on 6 Jun 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

inc/init.php in DokuWiki 2009-02-14, rc2009-02-06, and rc2009-01-30, when register_globals is enabled, allows remote attackers to include and execute arbitrary local files via the config_cascade[main][default][] parameter to doku.php. NOTE: PHP remote file inclusion is also possible in PHP 5 using ftp:// URLs.

Weakness: CWE-94

Which versions are affected by CVE-2009-1960?

It affects 1 product.

Products include Dokuwiki Dokuwiki.

How do I fix CVE-2009-1960?

Upgrade to a fixed version.

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

Is CVE-2009-1960 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-1960 exists.

Public exploit code: 2 Exploit-DB entries.

Sources

Also known as DEBIAN-CVE-2009-1960, GHSA-hm24-p578-9g92.

Is CVE-2009-1960 in your software?

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

Check your SBOMs for free