[] NeoSense

osCommerce 2.x - File Manager Directory Traversal

Author: Rene
type: webapps
platform: php
port: 
date_added: 2004-05-17 
date_updated: 2013-01-15 
verified: 1 
codes: CVE-2004-2021;OSVDB-6308 
tags: 
aliases:  
screenshot_url:  
application_url: 

source: https://www.securityfocus.com/bid/10364/info

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.

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

An additional exploit was provided by Megasky <magasky@hotmail.com>:

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