发布时间 :2004-12-31 00:00:00
修订时间 :2016-10-17 23:05:00

[原文]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.


        osCommerce包含的'file_manager.php'脚本对'filename'参数缺少充分过滤,攻击者可以提交包含多个'../'字符的数据作为参数,可绕过WEB ROOT限制,以WEB进程权限查看系统任意文件内容。

- CVSS (基础分值)

CVSS分值: 5 [中等(MEDIUM)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

- CPE (受影响的平台与产品)

cpe:/a:oscommerce:oscommerce:2.1osCommerce osCommerce 2.1
cpe:/a:oscommerce:oscommerce:2.2_ms3osCommerce osCommerce 2.2 ms3
cpe:/a:oscommerce:oscommerce:2.2_cvsosCommerce osCommerce 2.2 cvs
cpe:/a:oscommerce:oscommerce:2.2_ms2osCommerce osCommerce 2.2 ms2
cpe:/a:oscommerce:oscommerce:2.2_ms1osCommerce osCommerce 2.2 ms1

- OVAL (用于检测的技术细节)


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(UNKNOWN)  BUGTRAQ  20050322 osCommerce File Manager Directory Traversal Vulnerability
(UNKNOWN)  BUGTRAQ  20040517 oscommerce 2.2 file_manager.php file browsing
(UNKNOWN)  BID  10364
(UNKNOWN)  XF  oscommerce-dotdot-directory-traversal(16174)

- 漏洞信息

中危 输入验证
2004-12-31 00:00:00 2005-10-20 00:00:00
        osCommerce包含的'file_manager.php'脚本对'filename'参数缺少充分过滤,攻击者可以提交包含多个'../'字符的数据作为参数,可绕过WEB ROOT限制,以WEB进程权限查看系统任意文件内容。

- 公告与补丁


- 漏洞信息 (24126)

osCommerce 2.x File Manager Directory Traversal Vulnerability (EDBID:24126)
php webapps
2004-05-17 Verified
0 Rene
N/A [点击下载]

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.


An additional exploit was provided by Megasky <>: 


- 漏洞信息

osCommerce file_manager.php filename Parameter Traversal Arbitrary File Access
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality
Exploit Public

- 漏洞描述

osCommerce contains a flaw that allows a remote attacker to view arbitrary files outside of the web path. The issue is due to the file_manager.php script not properly sanitizing user input, specifically traversal style attacks (../../) supplied via the "filename" parameter.

- 时间线

2004-05-17 Unknow
2004-05-17 Unknow

- 解决方案

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

- 相关参考

- 漏洞作者