漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2015-0121304
漏洞标题:某政府建设工程质量监督系统20处SQL注入打包和任意用户密码重置(下篇)
相关厂商:中国建筑科学研究院建研科技股份有限公司
漏洞作者: 独孤求败
提交时间:2015-06-18 11:32
修复时间:2015-09-21 08:52
公开时间:2015-09-21 08:52
漏洞类型:SQL注射漏洞
危害等级:高
自评Rank:20
漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2015-06-18: 细节已通知厂商并且等待厂商处理中
2015-06-23: 厂商已经确认,细节仅向厂商公开
2015-06-26: 细节向第三方安全合作伙伴开放
2015-08-17: 细节向核心白帽子及相关领域专家公开
2015-08-27: 细节向普通白帽子公开
2015-09-06: 细节向实习白帽子公开
2015-09-21: 细节向公众公开
简要描述:
rt:还有个中篇忘记发了,
详细说明:
某政府建设工程质量监督系统20处SQL注入打包和任意用户密码重置(下篇)。
20处SQL注入,包含16处POST注入,4处GET注入。
案例如下所示:
http://www.ccjdw.com/INFOBLXX.aspx
http://218.7.239.170:81/INFOBLXX.aspx
http://www.jljszj.gov.cn/INFOBLXX.aspx
http://www.thszjz.com/INFOBLXX.aspx
http://www.spjdz.com/INFOBLXX.aspx
http://www.ccjdw.com/pkpmbs/jdmanage/TJdSgyuanList.aspx
http://218.7.239.170:81/pkpmbs/jdmanage/TJdSgyuanList.aspx
http://www.jljszj.gov.cn/pkpmbs/jdmanage/TJdSgyuanList.aspx
http://www.thszjz.com/pkpmbs/jdmanage/TJdSgyuanList.aspx
http://www.spjdz.com/pkpmbs/jdmanage/TJdSgyuanList.aspx
http://www.ccjdw.com/pkpmbs/jdmanage/TJdShejidanweiList.aspx
http://218.7.239.170:81/pkpmbs/jdmanage/TJdShejidanweiList.aspx
http://www.jljszj.gov.cn/pkpmbs/jdmanage/TJdShejidanweiList.aspx
http://www.thszjz.com/pkpmbs/jdmanage/TJdShejidanweiList.aspx
http://www.spjdz.com/pkpmbs/jdmanage/TJdShejidanweiList.aspx
http://www.ccjdw.com/pkpmbs/jdmanage/TJdShentudanweiList.aspx
http://218.7.239.170:81/pkpmbs/jdmanage/TJdShentudanweiList.aspx
http://www.jljszj.gov.cn/pkpmbs/jdmanage/TJdShentudanweiList.aspx
http://www.thszjz.com/pkpmbs/jdmanage/TJdShentudanweiList.aspx
http://www.spjdz.com/pkpmbs/jdmanage/TJdShentudanweiList.aspx
http://www.ccjdw.com/pkpmbs/jdmanage/TJdShigongdanweiList.aspx
http://218.7.239.170:81/pkpmbs/jdmanage/TJdShigongdanweiList.aspx
http://www.jljszj.gov.cn/pkpmbs/jdmanage/TJdShigongdanweiList.aspx
http://www.thszjz.com/pkpmbs/jdmanage/TJdShigongdanweiList.aspx
http://www.spjdz.com/pkpmbs/jdmanage/TJdShigongdanweiList.aspx
http://www.ccjdw.com/pkpmbs/jdmanage/TJdXmjlList.aspx
http://218.7.239.170:81/pkpmbs/jdmanage/TJdXmjlList.aspx
http://www.jljszj.gov.cn/pkpmbs/jdmanage/TJdXmjlList.aspx
http://www.thszjz.com/pkpmbs/jdmanage/TJdXmjlList.aspx
http://www.spjdz.com/pkpmbs/jdmanage/TJdXmjlList.aspx
http://www.ccjdw.com/pkpmbs/jdmanage/TJdZjyuanList.aspx
http://218.7.239.170:81/pkpmbs/jdmanage/TJdZjyuanList.aspx
http://www.jljszj.gov.cn/pkpmbs/jdmanage/TJdZjyuanList.aspx
http://www.thszjz.com/pkpmbs/jdmanage/TJdZjyuanList.aspx
http://www.spjdz.com/pkpmbs/jdmanage/TJdZjyuanList.aspx
http://www.ccjdw.com/pkpmbs/manager/userfolderlist.aspx
http://218.7.239.170:81/pkpmbs/manager/userfolderlist.aspx
http://www.jljszj.gov.cn/pkpmbs/manager/userfolderlist.aspx
http://www.thszjz.com/pkpmbs/manager/userfolderlist.aspx
http://www.spjdz.com/pkpmbs/manager/userfolderlist.aspx
http://www.ccjdw.com//pkpmbs/portal/InfocontentList.aspx
http://218.7.239.170:81//pkpmbs/portal/InfocontentList.aspx
http://www.jljszj.gov.cn//pkpmbs/portal/InfocontentList.aspx
http://www.thszjz.com//pkpmbs/portal/InfocontentList.aspx
http://www.spjdz.com//pkpmbs/portal/InfocontentList.aspx
http://www.ccjdw.com//pkpmbs/portal/InfoContentTreeList.aspx
http://218.7.239.170:81/pkpmbs/portal/InfoContentTreeList.aspx
http://www.jljszj.gov.cn/pkpmbs/portal/InfoContentTreeList.aspx
http://www.thszjz.com/pkpmbs/portal/InfoContentTreeList.aspx
http://www.spjdz.com/pkpmbs/portal/InfoContentTreeList.aspx
http://www.ccjdw.com//pkpmbs/portal/YzgcList.aspx
http://218.7.239.170:81//pkpmbs/portal/YzgcList.aspx
http://www.jljszj.gov.cn/pkpmbs/portal/YzgcList.aspx
http://www.thszjz.com/pkpmbs/portal/YzgcList.aspx
http://www.spjdz.com/pkpmbs/portal/YzgcList.aspx
http://www.ccjdw.com/pkpmbs//jdmanage/jdprojarchivesmenulist.aspx
http://218.7.239.170:81/pkpmbs//jdmanage/jdprojarchivesmenulist.aspx
http://www.jljszj.gov.cn/pkpmbs//jdmanage/jdprojarchivesmenulist.aspx
http://www.thszjz.com/pkpmbs//jdmanage/jdprojarchivesmenulist.aspx
http://www.spjdz.com/pkpmbs//jdmanage/jdprojarchivesmenulist.aspx
http://www.ccjdw.com/pkpmbs//jdmanage/GlobalItmViewOutColList.aspx
http://218.7.239.170:81/pkpmbs//jdmanage/GlobalItmViewOutColList.aspx
http://www.jljszj.gov.cn/pkpmbs//jdmanage/GlobalItmViewOutColList.aspx
http://www.thszjz.com/pkpmbs//jdmanage/GlobalItmViewOutColList.aspx
http://www.spjdz.com/pkpmbs//jdmanage/GlobalItmViewOutColList.aspx
http://www.ccjdw.com//pkpmbs/jddoc/googlemap/addProjectLocation.aspx
http://218.7.239.170:81/pkpmbs/jddoc/googlemap/addProjectLocation.aspx
http://www.jljszj.gov.cn/pkpmbs/jddoc/googlemap/addProjectLocation.aspx
http://www.thszjz.com/pkpmbs/jddoc/googlemap/addProjectLocation.aspx
http://www.spjdz.com/pkpmbs/jddoc/googlemap/addProjectLocation.aspx
http://www.ccjdw.com//pkpmbs/jddoc/googlemap/AddGPS.aspx
http://218.7.239.170:81//pkpmbs/jddoc/googlemap/AddGPS.aspx
http://www.jljszj.gov.cn//pkpmbs/jddoc/googlemap/AddGPS.aspx
http://www.thszjz.com//pkpmbs/jddoc/googlemap/AddGPS.aspx
http://www.spjdz.com//pkpmbs/jddoc/googlemap/AddGPS.aspx
http://www.ccjdw.com/pkpmbs/manager/sysuserlist.aspx
http://218.7.239.170:81/pkpmbs/manager/sysuserlist.aspx
http://www.jljszj.gov.cn/pkpmbs/manager/sysuserlist.aspx
http://www.thszjz.com/pkpmbs/manager/sysuserlist.aspx
http://www.spjdz.com/pkpmbs/manager/sysuserlist.aspx
http://www.ccjdw.com//pkpmbs/consmodel/TBpModifyLogList.aspx?ClassName=CESC
http://www.jljszj.gov.cn//pkpmbs/consmodel/TBpModifyLogList.aspx?ClassName=CESC
http://www.thszjz.com//pkpmbs/consmodel/TBpModifyLogList.aspx?ClassName=CESC
http://www.spjdz.com//pkpmbs/consmodel/TBpModifyLogList.aspx?ClassName=CESC
http://218.7.239.170:81//pkpmbs/consmodel/TBpModifyLogList.aspx?ClassName=CESC
http://www.ccjdw.com/pkpmbs/jddoc/iSignature/Signature_DocEdit.aspx?exist=&page=1&ITMID=&CODE=
http://218.7.239.170:81/pkpmbs/jddoc/iSignature/Signature_DocEdit.aspx?exist=&page=1&ITMID=&CODE=
http://www.jljszj.gov.cn/pkpmbs/jddoc/iSignature/Signature_DocEdit.aspx?exist=&page=1&ITMID=&CODE=
http://www.thszjz.com/pkpmbs/jddoc/iSignature/Signature_DocEdit.aspx?exist=&page=1&ITMID=&CODE=
http://www.spjdz.com/pkpmbs/jddoc/iSignature/Signature_DocEdit.aspx?exist=&page=1&ITMID=&CODE=
http://www.ccjdw.com/pkpmbs/CMQuery/CommonManager/QueryParameterList.aspx?queryid=1
http://www.jljszj.gov.cn//pkpmbs/CMQuery/CommonManager/QueryParameterList.aspx?queryid=1
http://www.thszjz.com//pkpmbs/CMQuery/CommonManager/QueryParameterList.aspx?queryid=1
http://www.spjdz.com//pkpmbs/CMQuery/CommonManager/QueryParameterList.aspx?queryid=1
http://218.7.239.170:81//pkpmbs/CMQuery/CommonManager/QueryParameterList.aspx?queryid=1
http://www.ccjdw.com/pkpmbs/CMQuery/QueryParameter.aspx?__queryid__=VdCc%2biXrsP0%3d
http://218.27.1.143//pkpmbs/CMQuery/QueryParameter.aspx?__queryid__=VdCc%2biXrsP0%3d
http://www.jljszj.gov.cn//pkpmbs/CMQuery/QueryParameter.aspx?__queryid__=VdCc%2biXrsP0%3d
http://www.thszjz.com/pkpmbs/CMQuery/QueryParameter.aspx?__queryid__=VdCc%2biXrsP0%3d
http://www.spjdz.com/pkpmbs/CMQuery/QueryParameter.aspx?__queryid__=VdCc%2biXrsP0%3d
漏洞证明:
SQL注入漏洞证明:
POST例:http://www.ccjdw.com/INFOBLXX.aspx
搜索:单引号注入报错
手工注入:搜索 1' and @@version=1 and '%'=' 报错曝出数据库版本
搜索 1' and db_name()=1 and '%'=' 报错曝出数据库表名
GET注入例:http://www.ccjdw.com//pkpmbs/consmodel/TBpModifyLogList.aspx?ClassName=CESC
全站任意用户密码重置:
越权查看:http://www.ccjdw.com/pkpmbs/manager/sysuserlist.aspx
越权修改密码:http://www.ccjdw.com/pkpmbs/manager/modiuserpwd.aspx
两处越权综合利用,可修改任意会员密码等其他信息。
证明如下:
修复方案:
.....
版权声明:转载请注明来源 独孤求败@乌云
漏洞回应
厂商回应:
危害等级:高
漏洞Rank:15
确认时间:2015-06-23 08:50
厂商回复:
CNVD确认并复现所述情况,根据实测案例,已经转由CNCERT下发给吉林和黑龙江分中心,由其后续协调网站管理单位处置.
最新状态:
暂无