osCommerce File Manager Directory Traversal Vulnerability

BID:10364

Info

osCommerce File Manager Directory Traversal Vulnerability

Bugtraq ID: 10364
Class: Input Validation Error
CVE: CVE-2004-2021
Remote: Yes
Local: No
Published: May 17 2004 12:00AM
Updated: Sep 17 2010 09:32PM
Credit: Rene <[email protected]> originally disclosed this vulnerability to Bugtraq.
Vulnerable: osCommerce osCommerce 2.2 ms3
osCommerce osCommerce 2.2 ms2
osCommerce osCommerce 2.2 ms1
osCommerce osCommerce 2.2 cvs
osCommerce osCommerce 2.1
osCommerce osCommerce 2.2RC 2a
Fastwebserver Internet Services, Inc. CartXpress 0
Not Vulnerable:

Discussion

osCommerce File Manager Directory Traversal Vulnerability

osCommerce has a directory-traversal vulnerability that allows a remote attacker to possibly obtain sensitive information. The software improperly sanitizes user-supplied input and allows '../' directory-traversal character sequences when serving files.

This allows the attacker to access files outside of the application document root, potentially allowing the attacker to view files that contain sensitive information or aid them in further attacks on the computer.

Exploit / POC

osCommerce File Manager Directory Traversal Vulnerability

No exploit is required, but Rene &lt;[email protected]&gt; suggested that an appropriate request to exploit this vulnerability could be:

file_manager.php?action=download&amp;filename=../../../../../../etc/passwd

An additional exploit was provided by Megasky &lt;[email protected]&gt;:

/admin/file_manager.php?action=read&amp;filename=../../../../

Solution / Fix

osCommerce File Manager Directory Traversal Vulnerability

Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].

References

osCommerce File Manager Directory Traversal Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report