News for hackers. Stuff that matters.
Re:Flash + 307 redirect = Game Over by rst on Thursday February 10, 2011 @05:31PM (#2204136)
The bug was that Rails didn't check for the authenticity token in case of requests that were labeled as XmlHttpRequest (i.e., Ajax), and the redirect-from-flash game allows the attacker to forge the label. The fix makes it check in all cases; this is why it comes with stuff that you're supposed to patch into your layouts and application.js to put authenticity tokens into all your Ajax calls.

There are no comments on this comment yet.