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

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

缺陷编号:wooyun-2015-0100611

漏洞标题:中国国际航空股份有限公司旗下某站存在SQL注入(数百万信息数据)之二

相关厂商:中国国际航空股份有限公司

漏洞作者: Ch4r0n

提交时间:2015-03-11 10:07

修复时间:2015-04-25 10:08

公开时间:2015-04-25 10:08

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

提交中国国际航空股份有限公司某站存在SQL注入(数百万信息数据)后,原本以为没有参数存在注入了,没想到就在它旁边还有一个,就简单提交一下吧。rank随便给吧。

详细说明:

民航快递有限责任公司
http://www.cae.com.cn/Default.aspx
大客户登录处存在SQL注入,Oracle数据库,就单单看了CAE一个数据库就可以获取数百万数据信息,同时也可以获取客户信息,公司信息,管理员信息等。
存在SQL注入的地址

http://www.cae.com.cn/webfunction/customerinquiries/CusLogin.aspx?


随便输入,然后登录抓包
========================================================

POST http://www.cae.com.cn/webfunction/customerinquiries/CusLogin.aspx HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; QQBrowser/8.0.3345.400)
Referer: http://www.cae.com.cn/webfunction/customerinquiries/CusLogin.aspx?
Accept-Language: zh-CN
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Host: www.cae.com.cn
Content-Length: 9081
Connection: Keep-Alive
Pragma: no-cache
Cookie: ASP.NET_SessionId=ymj0s43y1agbpb45zt3y2g45
__VIEWSTATE=%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uiNo%2BiqieWllumhuTwvYT48L2xpPjxsaT4mbmJzcDsmbmJzcDsmbmJzcDt8Jm5ic3A7Jm5ic3A7Jm5ic3A7PC9saT48bGk%2BPGEgaHJlZj0iL3dlYmZ1bmN0aW9uL3dlYnBhZ2UuYXNweD9uaWQ9NDM3MTdhMzhkZTJlNGFmNGFkZjRiYzBjMjRmNGM1M2EiPuekvuS8mui0o%2BS7uzwvYT48L2xpPjxsaT4mbmJzcDsmbmJzcDsmbmJzcDt8Jm5ic3A7Jm5ic3A7Jm5ic3A7PC9saT48bGk%2BPGEgaHJlZj0iL3dlYmZ1bmN0aW9uL3RwYyI%2B6IGM5bel5pGE5b2xPC9hPjwvbGk%2BPC91bD48L3RkPjwvdHI%2BPC90YWJsZT48L3RkPjwvdHI%2BPC90YWJsZT5kZGT0mAfcvqhDKQI2kzBu9UyObtsaDA%3D%3D&__VIEWSTATEGENERATOR=AE5782F1&__EVENTVALIDATION=%2FwEWBAK%2Bi5q8CQKzw6qfBwKitfm4CgKugbOqA1lvp1DFBSSWXxhoONbn0wk7MTt3&ctl00%24Content_Body%24Cp_User=admin&ctl00%24Content_Body%24Cp_Pass=123456&ctl00%24Content_Body%24Button1=%E7%99%BB+%E5%BD%95


===================================================
ctl00%24Content_Body%24Cp_Pass(也就是sqlmap处显示的ctl00$Content_Body$Cp_Pass)参数也存在注入
直接看神器sqlmap的测试过程吧,使用--tamper "between.py,space2comment.py,randomcase.py" --level 3
直接看sqlmap的结果吧!~~~

1.jpg


2.jpg


3.jpg


4.jpg


漏洞证明:

3.jpg

修复方案:

过滤修复
你们比我懂得多。

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-03-13 21:42

厂商回复:

感谢对快递公司的帮助!

最新状态:

暂无


漏洞评价:

评论