osCommerce 2.x - File Manager Directory Traversal

EDB-ID:

24126


Author:

Rene

Type:

webapps


Platform:

PHP

Date:

2004-05-17


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=../../../../