设为首页收藏本站

安而遇随-随遇而安

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 1664|回复: 0

揭秘:如何分分钟黑掉你的eBay账号

[复制链接]

 成长值: 48510

发表于 2014-9-28 13:59 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

x
<p style="text-align: center; padding-top: 6px; padding-bottom: 4px; overflow: hidden; color: rgb(102, 102, 102); font-family: 微软雅黑, 'Microsoft YaHei', 'WenQuanYi Micro Hei'; font-size: 13px; line-height: 24px;"><span style="font-size: 18px; color: rgb(0, 0, 0);"><strong> Hacking-ebay-account.png <br></strong></span></p><p style="padding-top: 6px; padding-bottom: 4px; overflow: hidden; color: rgb(102, 102, 102); font-family: 微软雅黑, 'Microsoft YaHei', 'WenQuanYi Micro Hei'; font-size: 13px; line-height: 24px;"><span style="font-size: 18px; color: rgb(0, 0, 0);"><strong>还记得eBay么?还记得那曾经的一“大波”漏洞的事情么?</strong></span></p><p style="padding-top: 6px; padding-bottom: 4px; overflow: hidden;"><span style="font-size: 14px; font-family: 微软雅黑; color: rgb(0, 176, 80); line-height: 24px;"></span><font color="#666666" face="微软雅黑, Microsoft YaHei, WenQuanYi Micro Hei" size="2"><span style="line-height: 24px;">四个月之前,eBay曾经遭遇过“黑色星期五”(</span></font><font color="#238357" face="微软雅黑, Microsoft YaHei, WenQuanYi Micro Hei" size="2"><span style="line-height: 24px;">http://www.aeys.org/thread-1365-1-1.html</span></font><font color="#666666" face="微软雅黑, Microsoft YaHei, WenQuanYi Micro Hei" size="2"><span style="line-height: 24px;">),那次的事件导致大约14500万来自世界各地的用户账户遭到了泄露。没有永远的安全,这次同样是eBay,但是确是不同的漏洞——eBay高危漏洞再度将百万用户账户陷入危险之中。</span></font></p><p style="padding-top: 6px; padding-bottom: 4px; overflow: hidden; color: rgb(102, 102, 102); font-family: 微软雅黑, 'Microsoft YaHei', 'WenQuanYi Micro Hei'; font-size: 13px; line-height: 24px;"><span style="font-size: 14px; font-family: 微软雅黑;"></span><span style="color: rgb(0, 176, 80);"><strong>四个月前,一位埃及的安全研究员“Yasser&nbsp;H.&nbsp;Ali’”报告了这个漏洞,而且表明这个漏洞有可能被用作有针对性的网络犯罪。下面,让我们看一下这个漏洞是怎么回事。</strong></span><span style="font-size: 14px; font-family: 微软雅黑;"></span><span style="font-size: 14px; font-family: 微软雅黑;"></span><span style="font-size: 14px; font-family: 微软雅黑;"></span></p><p style="margin-top: 15px; padding-top: 6px; padding-bottom: 4px; overflow: hidden; color: rgb(102, 102, 102); font-family: 微软雅黑, 'Microsoft YaHei', 'WenQuanYi Micro Hei'; font-size: 13px; line-height: 24px;"><span style="font-size: 18px;"><strong><span style="font-family: 微软雅黑;"></span></strong></span><span style="font-size: 18px; color: rgb(0, 0, 0);"><strong>怎样黑掉任意人eBay账户?</strong></span></p><p style="padding-top: 6px; padding-bottom: 4px; overflow: hidden; color: rgb(102, 102, 102); font-family: 微软雅黑, 'Microsoft YaHei', 'WenQuanYi Micro Hei'; font-size: 13px; line-height: 24px;"><span style="font-size: 14px; font-family: 微软雅黑;"></span>漏洞存在于eBay的重置密码功能,当我们点击“忘记密码”功能的时候,eBay会要求我们提交一个账户名称。<span style="font-size: 14px; font-family: 微软雅黑;"></span><span style="font-size: 14px; font-family: 微软雅黑;"></span><span style="font-size: 14px; font-family: 微软雅黑;"></span></p><p style="padding-top: 6px; padding-bottom: 4px; overflow: hidden; color: rgb(102, 102, 102); font-family: 微软雅黑, 'Microsoft YaHei', 'WenQuanYi Micro Hei'; font-size: 13px; line-height: 24px; text-align: center;"> eBay-Hacked.png </p><p style="padding-top: 6px; padding-bottom: 4px; overflow: hidden; color: rgb(102, 102, 102); font-family: 微软雅黑, 'Microsoft YaHei', 'WenQuanYi Micro Hei'; font-size: 13px; line-height: 24px;"><span style="font-size: 14px; font-family: 微软雅黑;"></span>提交之后,ebay会要求用户选择一种重置密码的方式:获取Gmai邮件或者获取手机短信。<span style="font-size: 14px; font-family: 微软雅黑;"></span></p><p style="padding-top: 6px; padding-bottom: 4px; overflow: hidden; color: rgb(102, 102, 102); font-family: 微软雅黑, 'Microsoft YaHei', 'WenQuanYi Micro Hei'; font-size: 13px; line-height: 24px; text-align: center;"> eBay-Hacked-2.png </p><p style="padding-top: 6px; padding-bottom: 4px; overflow: hidden; color: rgb(102, 102, 102); font-family: 微软雅黑, 'Microsoft YaHei', 'WenQuanYi Micro Hei'; font-size: 13px; line-height: 24px;"><span style="font-size: 14px; font-family: 微软雅黑;"></span>这里我们选择第一种方式,提交之后截包,<strong>我们会在提交之后的url中得到一个reqinput的随机数,而这个随机数就是今天的重点——eBay修改密码的认证字符串——我们将其复制下来,然后Forward一下,受害者就收到了一份带有密码重置链接的邮件。</strong>然后我们就可以等着受害者点击这个链接。</p><p style="padding-top: 6px; padding-bottom: 4px; overflow: hidden; color: rgb(102, 102, 102); font-family: 微软雅黑, 'Microsoft YaHei', 'WenQuanYi Micro Hei'; font-size: 13px; line-height: 24px;"><span style="font-size: 14px; font-family: 微软雅黑;"></span>此时,我们再将这串随机数给我们事先截包的修改密码的POST包的reqinput赋值,然后提交,密码就会被修改。这里有一个条件限制,就是修改密码的时候需要受害者首先点击一下这个重置密码链接,否则提交POST包会出现“未激活”的提示。这里,Yasser提出一种方式:可以写一个脚本对这个POST请求进行3s的重复提交,一直到受害者点击了这个链接。至于怎么让受害者点击这个链接。。。那就是另外一回事了。</p><p style="padding-top: 6px; padding-bottom: 4px; overflow: hidden; color: rgb(102, 102, 102); font-family: 微软雅黑, 'Microsoft YaHei', 'WenQuanYi Micro Hei'; font-size: 13px; line-height: 24px;"><span style="font-size: 14px; font-family: 微软雅黑;"></span><span style="color: rgb(247, 150, 70);"><strong>此处是视频,大家可以看一下:</strong></span></p><p style="padding-top: 6px; padding-bottom: 4px; overflow: hidden; color: rgb(102, 102, 102); font-family: 微软雅黑, 'Microsoft YaHei', 'WenQuanYi Micro Hei'; font-size: 13px; line-height: 24px;"><span style="color: rgb(247, 150, 70);"><strong><br></strong></span></p><p style="margin-top: 15px; padding-top: 6px; padding-bottom: 4px; overflow: hidden; color: rgb(102, 102, 102); font-family: 微软雅黑, 'Microsoft YaHei', 'WenQuanYi Micro Hei'; font-size: 13px; line-height: 24px;"><span style="color: rgb(0, 176, 80); font-size: 18px;"><strong><span style="font-family: 微软雅黑;">总结</span></strong></span></p><p style="padding-top: 6px; padding-bottom: 4px; overflow: hidden; color: rgb(102, 102, 102); font-family: 微软雅黑, 'Microsoft YaHei', 'WenQuanYi Micro Hei'; font-size: 13px; line-height: 24px;"><span style="color: rgb(255, 0, 0); font-size: 14px; font-family: 微软雅黑;"></span></p><pre class="prettyprint lang-html prettyprinted" style="padding: 8px; background-color: rgb(247, 247, 249); border: 1px solid rgb(225, 225, 232); white-space: pre-wrap; word-break: break-all; color: rgb(102, 102, 102); font-size: 13px; line-height: 24px;"><span class="pln" style="color: rgb(72, 72, 76);">1、漏洞的主要原因是eBay将重置密码的关键字符串暴漏在了url之中。这么重要的认证请求是绝不应该给用户看到的。
‍‍2、该漏洞的实践有比较严格的条件限制:首先,我们得先去诱使受害者点击这个修改密码的链接,而我们大多数人看到这种邮件而又不是我们自己的请求的时候会选择置之不理;其次,当我们成功修改密码之后,受害者会立刻收到一份修改密码成功的提示邮件,正常人一看就明白怎么回事了。当然这个对于我们不是事儿,我们可以用垃圾邮件的方式让这封邮件埋没在汪洋大海之中~‍‍
‍‍3、这篇文章,只是给大家在以后的挖洞的时候提供一种思路,大家可以边嗑瓜子边看文。我相信,像eBay这样将关键信息暴漏出来的肯定不止一家,希望这篇文章会对大家有所帮助。</span></pre><p style="margin-top: 10px; padding-top: 6px; padding-bottom: 4px; overflow: hidden; color: rgb(102, 102, 102); font-family: 微软雅黑, 'Microsoft YaHei', 'WenQuanYi Micro Hei'; font-size: 13px; line-height: 24px;"><strong>&nbsp;参考来源</strong><strong style="color: rgb(35, 131, 87); text-decoration: none;"><a href="http://thehackernews.com/2014/09/hacking-ebay-accounts.html">thehackernews.com</a></strong><strong>略有删减。</strong></p><p></p>
随遇而安
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表