CVE-2004-2021 Path traversal in n/a

Medium 5.0 Published Updated

Remote attackers can view arbitrary files on the server via directory traversal in osCommerce's file manager.

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

What is CVE-2004-2021?

CVE-2004-2021 is a medium-severity path traversal vulnerability in Oscommerce Oscommerce, published on 10 May 2005. It can be exploited over the network, with no action from the victim.

Official description

Directory traversal vulnerability in file_manager.php in osCommerce 2.2 allows remote attackers to view arbitrary files via a .. (dot dot) in the filename argument.

Which versions are affected by CVE-2004-2021?

It affects 1 product.

Products include Oscommerce Oscommerce.

How do I fix CVE-2004-2021?

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

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

Public exploit code: 1 Exploit-DB entry.

All Oscommerce Oscommerce vulnerabilities

Sources

Also known as GHSA-x38v-xq6h-466m.

Is CVE-2004-2021 in your software?

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

Check your SBOMs for free