CVE-2007-6604 Path traversal in n/a

Medium 5.0 Published Updated

Remote attackers can read arbitrary files and execute PHP code via directory traversal in XCMS, potentially leading to full system compromise.

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-2007-6604?

CVE-2007-6604 is a medium-severity path traversal vulnerability in n/a, published on 31 Dec 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Multiple directory traversal vulnerabilities in index.php in XCMS 1.82 and earlier allow remote attackers to read arbitrary files via a .. (dot dot) in (1) the s parameter to the admin page or (2) the pg parameter to an arbitrary module, as demonstrated by reading a password hash in a .dtb file under dati/membri/ or by executing embedded PHP code in images under uploads/avatar/.

Weakness: CWE-22

Which versions are affected by CVE-2007-6604?

It affects 1 product.

Products include Xcms Xcms.

How do I fix CVE-2007-6604?

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

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-777g-xq74-4w6p.

Is CVE-2007-6604 in your software?

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

Check your SBOMs for free