News for hackers. Stuff that matters.
Re:#1 CSRF Is A Vulnerability In All Browsers by eurleif on Friday March 30, 2012 @08:19PM (#3778783)
Why shouldn't you trust user-provided data to secure the same user's data? The potential attack is someone forging their own referer header in order to attack themself.
Re:#1 CSRF Is A Vulnerability In All Browsers by sdevlin on Friday March 30, 2012 @08:53PM (#3778880)
The referer header can easily be forged. The whole point of a CSRF attack is to turn a user's credentials against him.
Re:#1 CSRF Is A Vulnerability In All Browsers by eurleif on Friday March 30, 2012 @08:53PM (#3778881)
How do you forge the referer header as a third-party site?
Re:#1 CSRF Is A Vulnerability In All Browsers by sdevlin on Friday March 30, 2012 @09:16PM (#3778944)
Ha, I'm wrong. I thought you could set the referer with setRequestHeader on an XHR. Mea maxima culpa.