CVE-2008-6018 Path traversal in n/a

Medium 6.8 Published Updated

Remote attackers can read arbitrary files via path traversal in MyPHPSite when magic_quotes_gpc is disabled.

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-2008-6018?

CVE-2008-6018 is a medium-severity path traversal vulnerability in n/a, published on 2 Feb 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in index.php in MyPHPSite, when magic_quotes_gpc is disabled, allows remote attackers to read arbitrary files via a .. (dot dot) in the mod parameter.

Weakness: CWE-22

Which versions are affected by CVE-2008-6018?

It affects 1 product.

Products include Myphpsite Myphpsite.

How do I fix CVE-2008-6018?

No fix has been published for CVE-2008-6018 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-2008-6018 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-vm3j-frhc-9m3c.

Is CVE-2008-6018 in your software?

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

Check your SBOMs for free