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

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

缺陷编号:wooyun-2015-0121058

漏洞标题:某政府建设工程质量监督系统20处SQL注入打包(上篇)

相关厂商:中国建筑科学研究院建研科技股份有限公司

漏洞作者: 独孤求败

提交时间:2015-06-17 17:42

修复时间:2015-09-20 10:08

公开时间:2015-09-20 10:08

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:11

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-06-17: 细节已通知厂商并且等待厂商处理中
2015-06-22: 厂商已经确认,细节仅向厂商公开
2015-06-25: 细节向第三方安全合作伙伴开放
2015-08-16: 细节向核心白帽子及相关领域专家公开
2015-08-26: 细节向普通白帽子公开
2015-09-05: 细节向实习白帽子公开
2015-09-20: 细节向公众公开

简要描述:

rt

详细说明:

某政府建设工程质量监督系统20处SQL注入打包(上篇)。
上首页ok?
20处注入案例如下:
http://www.ccjdw.com/pkpmbs/CMQuery/CommonManager/QueryDefineList.aspx
http://www.jljszj.gov.cn//pkpmbs/CMQuery/CommonManager/QueryDefineList.aspx
http://www.thszjz.com//pkpmbs/CMQuery/CommonManager/QueryDefineList.aspx
http://www.spjdz.com///pkpmbs/CMQuery/CommonManager/QueryDefineList.aspx
http://218.7.239.170:81//pkpmbs/CMQuery/CommonManager/QueryDefineList.aspx
http://www.csjszj.cn/pkpmbs/CMQuery/CommonManager/QueryDefineList.aspx
http://www.ccjdw.com/pkpmbs//common/MessageManageList.aspx
http://www.hyjsjd.cn/pkpmbs//common/MessageManageList.aspx
http://www.csjszj.cn//pkpmbs//common/MessageManageList.aspx
http://218.7.239.170:81//pkpmbs//common/MessageManageList.aspx
http://www.spjdz.com//pkpmbs//common/MessageManageList.aspx
http://www.ccjdw.com//pkpmbs/consmodel/TBpAreaList.aspx
http://www.jljszj.gov.cn//pkpmbs/consmodel/TBpAreaList.aspx
http://www.thszjz.com//pkpmbs/consmodel/TBpAreaList.aspx
http://www.spjdz.com//pkpmbs/consmodel/TBpAreaList.aspx
http://218.7.239.170:81//pkpmbs/consmodel/TBpAreaList.aspx
http://www.csjszj.cn//pkpmbs/consmodel/TBpAreaList.aspx
http://www.ccjdw.com/pkpmbs/jddoc/DocRightsUserList.aspx
http://www.jljszj.gov.cn//pkpmbs/jddoc/DocRightsUserList.aspx
http://www.thszjz.com//pkpmbs/jddoc/DocRightsUserList.aspx
http://www.spjdz.com//pkpmbs/jddoc/DocRightsUserList.aspx
http://218.7.239.170:81//pkpmbs/jddoc/DocRightsUserList.aspx
http://www.ccjdw.com/pkpmbs//jdmanage/AccountQueryList.aspx
http://218.7.239.170:81/pkpmbs//jdmanage/AccountQueryList.aspx
http://www.jljszj.gov.cn/pkpmbs//jdmanage/AccountQueryList.aspx
http://www.thszjz.com/pkpmbs//jdmanage/AccountQueryList.aspx
http://www.spjdz.com/pkpmbs//jdmanage/AccountQueryList.aspx
http://www.ccjdw.com/pkpmbs//jdmanage/CCStandLibList.aspx
http://218.7.239.170:81//pkpmbs//jdmanage/CCStandLibList.aspx
http://www.jljszj.gov.cn//pkpmbs//jdmanage/CCStandLibList.aspx
http://www.thszjz.com//pkpmbs//jdmanage/CCStandLibList.aspx
http://www.spjdz.com//pkpmbs//jdmanage/CCStandLibList.aspx
http://www.ccjdw.com/pkpmbs//jdmanage/DepartmentList.aspx
http://218.7.239.170:81/pkpmbs//jdmanage/DepartmentList.aspx
http://www.jljszj.gov.cn/pkpmbs//jdmanage/DepartmentList.aspx
http://www.thszjz.com/pkpmbs//jdmanage/DepartmentList.aspx
http://www.spjdz.com/pkpmbs//jdmanage/DepartmentList.aspx
http://www.ccjdw.com/pkpmbs//jdmanage/JTdCustomList.aspx
http://218.7.239.170:81/pkpmbs//jdmanage/JTdCustomList.aspx
http://www.jljszj.gov.cn/pkpmbs//jdmanage/JTdCustomList.aspx
http://www.thszjz.com/pkpmbs//jdmanage/JTdCustomList.aspx
http://www.spjdz.com/pkpmbs//jdmanage/JTdCustomList.aspx
http://www.ccjdw.com/pkpmbs//jdmanage/RptRightsUserList.aspx
http://218.7.239.170:81/pkpmbs//jdmanage/RptRightsUserList.aspx
http://www.jljszj.gov.cn/pkpmbs//jdmanage/RptRightsUserList.aspx
http://www.thszjz.com/pkpmbs//jdmanage/RptRightsUserList.aspx
http://www.spjdz.com/pkpmbs//jdmanage/RptRightsUserList.aspx
http://www.ccjdw.com/pkpmbs//jdmanage/RptRightsUserList.aspx
http://218.7.239.170:81/pkpmbs//jdmanage/SNList.aspx
http://www.jljszj.gov.cn/pkpmbs//jdmanage/SNList.aspx
http://www.thszjz.com/pkpmbs//jdmanage/SNList.aspx
http://www.spjdz.com/pkpmbs//jdmanage/SNList.aspx
http://www.ccjdw.com/pkpmbs/jdmanage/TJdAjyuanList.aspx
http://218.7.239.170:81/pkpmbs/jdmanage/TJdAjyuanList.aspx
http://www.jljszj.gov.cn/pkpmbs/jdmanage/TJdAjyuanList.aspx
http://www.thszjz.com/pkpmbs/jdmanage/TJdAjyuanList.aspx
http://www.spjdz.com/pkpmbs/jdmanage/TJdAjyuanList.aspx
http://www.ccjdw.com/pkpmbs/jdmanage/TJdIdformatList.aspx
http://218.7.239.170:81/pkpmbs/jdmanage/TJdIdformatList.aspx
http://www.jljszj.gov.cn/pkpmbs/jdmanage/TJdIdformatList.aspx
http://www.thszjz.com/pkpmbs/jdmanage/TJdIdformatList.aspx
http://www.spjdz.com/pkpmbs/jdmanage/TJdIdformatList.aspx
http://www.ccjdw.com/pkpmbs/jdmanage/TJdJgsjsList.aspx
http://218.7.239.170:81/pkpmbs/jdmanage/TJdJgsjsList.aspx
http://www.jljszj.gov.cn/pkpmbs/jdmanage/TJdJgsjsList.aspx
http://www.thszjz.com/pkpmbs/jdmanage/TJdJgsjsList.aspx
http://www.spjdz.com/pkpmbs/jdmanage/TJdJgsjsList.aspx
http://www.ccjdw.com/pkpmbs/jdmanage/TJdJiancedanweiList.aspx
http://218.7.239.170:81/pkpmbs/jdmanage/TJdJiancedanweiList.aspx
http://www.jljszj.gov.cn/pkpmbs/jdmanage/TJdJiancedanweiList.aspx
http://www.thszjz.com/pkpmbs/jdmanage/TJdJiancedanweiList.aspx
http://www.spjdz.com/pkpmbs/jdmanage/TJdJiancedanweiList.aspx
http://www.ccjdw.com/pkpmbs/jdmanage/TJdJianlidanweiList.aspx
http://218.7.239.170:81/pkpmbs/jdmanage/TJdJianlidanweiList.aspx
http://www.jljszj.gov.cn/pkpmbs/jdmanage/TJdJianlidanweiList.aspx
http://www.thszjz.com/pkpmbs/jdmanage/TJdJianlidanweiList.aspx
http://www.spjdz.com/pkpmbs/jdmanage/TJdJianlidanweiList.aspx
http://www.ccjdw.com/pkpmbs/jdmanage/TJdJianshedanweList.aspx
http://218.7.239.170:81/pkpmbs/jdmanage/TJdJianshedanweList.aspx
http://www.jljszj.gov.cn/pkpmbs/jdmanage/TJdJianshedanweList.aspx
http://www.thszjz.com/pkpmbs/jdmanage/TJdJianshedanweList.aspx
http://www.spjdz.com/pkpmbs/jdmanage/TJdJianshedanweList.aspx
http://www.ccjdw.com/pkpmbs/jdmanage/TJdJlgcsList.aspx
http://218.7.239.170:81/pkpmbs/jdmanage/TJdJlgcsList.aspx
http://www.jljszj.gov.cn/pkpmbs/jdmanage/TJdJlgcsList.aspx
http://www.thszjz.com/pkpmbs/jdmanage/TJdJlgcsList.aspx
http://www.spjdz.com/pkpmbs/jdmanage/TJdJlgcsList.aspx
http://www.ccjdw.com/pkpmbs/jdmanage/TJdJzsjsList.aspx
http://218.7.239.170:81/pkpmbs/jdmanage/TJdJzsjsList.aspx
http://www.jljszj.gov.cn/pkpmbs/jdmanage/TJdJzsjsList.aspx
http://www.thszjz.com/pkpmbs/jdmanage/TJdJzsjsList.aspx
http://www.spjdz.com/pkpmbs/jdmanage/TJdJzsjsList.aspx
http://www.ccjdw.com/pkpmbs/jdmanage/TJdKanchadanweiList.aspx
http://218.7.239.170:81/pkpmbs/jdmanage/TJdKanchadanweiList.aspx
http://www.jljszj.gov.cn/pkpmbs/jdmanage/TJdKanchadanweiList.aspx
http://www.thszjz.com/pkpmbs/jdmanage/TJdKanchadanweiList.aspx
http://www.spjdz.com/pkpmbs/jdmanage/TJdKanchadanweiList.aspx
http://www.ccjdw.com/pkpmbs/jdmanage/TJdKcgcsList.aspx
http://218.7.239.170:81/pkpmbs/jdmanage/TJdKcgcsList.aspx
http://www.jljszj.gov.cn/pkpmbs/jdmanage/TJdKcgcsList.aspx
http://www.thszjz.com/pkpmbs/jdmanage/TJdKcgcsList.aspx
http://www.spjdz.com/pkpmbs/jdmanage/TJdKcgcsList.aspx

漏洞证明:

POST注入证明:
http://www.ccjdw.com/pkpmbs/CMQuery/CommonManager/QueryDefineList.aspx
搜索:单引号注入报错

QQ图片20150617092611.png


搜索 1' and @@version=1 and '%'=' 报错曝出数据库版本

QQ图片20150617092637.png


抓包获取注入参数,可进行get注入:

QQ图片20150617093002.jpg

QQ图片20150617093025.jpg


其他案例均是如此。。。

修复方案:

....

版权声明:转载请注明来源 独孤求败@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-06-22 10:08

厂商回复:

cnvd确认并复现所述情况,已经由cnvd通过公开渠道向软件生产厂商通报,由其后续协调网站管理单位处置。

最新状态:

暂无


漏洞评价:

评论