某政务类办事软件系统存在通用性SQL注入可跨库2-3

漏洞详情

披露状态:

2014-02-26: 细节已通知厂商并且等待厂商处理中
2014-03-03: 厂商已经确认,细节仅向厂商公开
2014-03-06: 细节向第三方安全合作伙伴开放
2014-03-13: 细节向核心白帽子及相关领域专家公开
2014-03-23: 细节向普通白帽子公开
2014-04-12: 细节向实习白帽子公开
2014-05-27: 细节向公众公开

简要描述:

楼顶继续卖摔炮、棒棒糖

详细说明:

某行政权力办公系统存在通用sql注入,且均可垮裤,涉及网站无所幸免。

注入点一:

google inurl:celerityAlleywayDetail.do



列几个例子

港闸
http://222.184.252.158:9080/riseapprove_web/secondPage/celerityAlleywayDetail.do?type=6&codeID=0001000146&nowPage=47
如皋
http://58.221.206.243:9080/riseapprove_web/secondPage/celerityAlleywayDetail.do?codeID=0001000147&type=1
通州
http://zwdt.tz.gov.cn/riseapprove_web/secondPage/celerityAlleywayDetail.do?type=1&codeID=0001000147&nowPage=2





参数type存在sql注入,可跨库



221.png





222.png





223.png

漏洞证明:

注入点二:这是个post注入

同样可以

google inurl:celerityAlleywayDetail.do



不过是在页面左下角【事项搜索】看示例:

POST /riseapprove_web/secondPage/celerityAlleywayDetail.do HTTP/1.1
Content-Length: 33
Content-Type: application/x-www-form-urlencoded
Referer: http://58.221.172.27:9080/riseapprove_web/
Cookie: JSESSIONID=00006wGF622CPh1Lhvsi2aVj6ze:-1
Host: 58.221.172.27:9080
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36
Accept: */*

approveName=1&submit=1&type=1







POST /riseapprove_web/secondPage/celerityAlleywayDetail.do HTTP/1.1
Host: 58.221.232.44:9080
Proxy-Connection: keep-alive
Content-Length: 31
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://58.221.232.44:9080
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36
Content-Type: application/x-www-form-urlencoded
DNT: 1
Referer: http://58.221.232.44:9080/riseapprove_web/secondPage/celerityAlleywayDetail.do?type=1&codeID=0001000146&nowPage=3
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8,en;q=0.6
Cookie: JSESSIONID=0000f_XsrkjIvbP2nZG5DwbCgfc:-1

approveName=1111&type=1&submit=



post参数approveName和参数type存在sql注入,可跨库



331.png





332.png



修复方案:

持续关注

版权声明:转载请注明来源 zzR@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:13

确认时间:2014-03-03 09:02

厂商回复:

已经转由CNCERT下发给江苏分中心处置。

最新状态:

暂无


漏洞评价: