CVE-2006-5894 Path traversal in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary code via directory traversal in lang.php when register_globals is enabled, requiring an upgrade.

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

What is CVE-2006-5894?

CVE-2006-5894 is a medium-severity path traversal vulnerability in n/a, published on 14 Nov 2006. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in lang.php in Rama CMS 0.68 and earlier, when register_globals is enabled, allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the lang cookie, as demonstrated by injecting PHP sequences into an Apache HTTP Server log file, which is then included by lang.php.

Which versions are affected by CVE-2006-5894?

It affects 1 product.

Products include Rama Cms Rama Cms.

How do I fix CVE-2006-5894?

No fix has been published for CVE-2006-5894 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2006-5894 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-jvq8-r2rx-mv65.

Is CVE-2006-5894 in your software?

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

Check your SBOMs for free