News for hackers. Stuff that matters.
Re:Hacker News CSRF Vulnerability by Osiris on Thursday February 25, 2016 @06:03PM (#11178559)
I have implemented CSRF for the public API I work on and all PUT/POST requests require the CSRF token, not GET requests. In this case, the login form uses a POST request and thus must require a CSRF token to avoid an attack on users that aren't logged in.
Re:Hacker News CSRF Vulnerability by kogir on Thursday February 25, 2016 @07:51PM (#11179125)
What stops an attacker from requesting the CSRF token?
Re:Hacker News CSRF Vulnerability by r1ch on Thursday February 25, 2016 @08:10PM (#11179204)
Same-origin policy.
Re:Hacker News CSRF Vulnerability by kogir on Thursday February 25, 2016 @08:52PM (#11179350)
That only applies to browsers. I can request it from my server just fine. See https://news.ycombinator.com/item?id=11178922