Test state-changing GET endpoints for CSRF despite SameSite
<a href="https://target.com/transfer?to=attacker&amount=100">view the invoice</a>Tips
Cross-site request forgery makes a victim’s browser send a state-changing request to the target while they are signed in. SameSite cookies stopped many cases, but not all of them.
Published tips, newest first. Payloads and commands are shown as plain text.
<a href="https://target.com/transfer?to=attacker&amount=100">view the invoice</a>To test for Cross-Site Request Forgery (CSRF) vulnerabilities, identify sensitive state-changing functionality on the target application, such as changing an email address or updating account information. Capture the HTTP request for the functionality using a tool like Burp Suit…
POST /account/email HTTP/1.1Cookie: session=<sessionB>Content-Type: application/x-www-form-urlencodedGive a minimal HTML page that performs the action on a test account when opened, and show the change it made.
Writeups on Cross-site request forgery (CSRF), by hunters and researchers, most with a short summary.