Skip to content

In-depth lesson · CSRF

Bypasses and variations

Every point the CSRF reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 1 to 50 of 86
  1. Test WordPress plugin endpoints such as comment posting and profile fields for CSRF.

    Seen in 5 reports
  2. Bypass a Referer check by crafting the request.

    Seen in 3 reports
  3. Use a general technique to bypass CSRF protection.

    Seen in 3 reports
  4. Replay an OAuth callback request without a CSRF token to link an attacker's third-party account to a victim.

    Seen in 3 reports
  5. Check whether the OAuth state parameter is missing or static across authorisation attempts.

    Seen in 2 reports
  6. Use permissive CORS rules to read responses or execute functions cross-origin.

    Seen in 2 reports
  7. Check for missing CSRF token validation.

    Seen in 2 reports
  8. Change the primary account via a GET request without a CSRF token.

    Seen in 2 reports
  9. Reverse or predict CSRF tokens to forge valid ones.

    Seen in 2 reports
  10. Leak the CSRF token through a user-controlled URL parameter.

    Seen in 2 reports
  11. Use a Flash file with a 307 redirect to send a cross-site request with a custom content type.

    Seen in 2 reports
  12. Use the leanback API to access private videos.

    Seen in 2 reports
  13. Test Grafana's cross-origin request forgery against authenticated endpoints.

    Seen in 2 reports
  14. Test Node.js third-party modules such as express-cart and csurf for wide CSRF.

    Seen in 2 reports
  15. Test whether a logout request can be triggered from another site to end a user's session.

    Seen in 2 reports
  16. Use cross-site flashing to bypass CSRF.

    Seen in 1 report
  17. Bypass SameSite=Lax with a top-level GET navigation or a method override parameter.

    Seen in 1 report
  18. Use a same-origin policy bypass or universal XSS to read CSRF tokens from HTML and then perform CSRF.

    Seen in 1 report
  19. Chain the single sign-on CSRF with an open redirect.

    Seen in 1 report
  20. Leak the CSRF token to an external origin through a click handler on links that carry a data-method attribute.

    Seen in 1 report
  21. Use directory traversal in a parameter to reach an OAuth callback endpoint and bypass CSRF.

    Seen in 1 report
  22. Use type juggling to bypass CSRF token validation.

    Seen in 1 report
  23. Bypass an anti-CSRF library's IP restriction when the application sits behind a reverse proxy or WAF.

    Seen in 1 report
  24. Bypass Django CSRF protection via Google Analytics.

    Seen in 1 report
  25. Bypass the CSRF token on account deletion.

    Seen in 1 report
  26. Bypass CSRF protection to delete a source translation from dictionaries.

    Seen in 1 report
  27. Bypass CSRF using cross-frame scripting.

    Seen in 1 report
  28. The CSRF token is stored in cookies without the HttpOnly flag, so scripts can read it.

    Seen in 1 report
  29. Manipulate the CSRF token in every form submission and check whether the server validates it.

    Seen in 1 report
  30. Bypass login CSRF protection.

    Seen in 1 report
  31. Reuse a CSRF token taken from another valid user session.

    Seen in 1 report
  32. The CSRF token stays the same after login.

    Seen in 1 report
  33. The CSRF token is not tied to the user session and is not rotated.

    Seen in 1 report
  34. Input any value for the CSRF token and check whether it is accepted.

    Seen in 1 report
  35. Remove the CSRF middleware token from a password change request and see whether it is validated server-side.

    Seen in 1 report
  36. Cancel a group or private show via a GET request that lacks CSRF protection.

    Seen in 1 report
  37. Report an emoticon via a GET request without a CSRF token.

    Seen in 1 report
  38. Change a video thumbnail via a GET request without a CSRF token.

    Seen in 1 report
  39. Add unlimited items to a saved list via a GET request without a CSRF token.

    Seen in 1 report
  40. Change the full name or add a secondary email identity via a GET request.

    Seen in 1 report
  41. Change a victim's JIRA integration settings via a malicious link that carries a JWT token.

    Seen in 1 report
  42. Reuse an authenticity token from one account to enable two-step verification on another account.

    Seen in 1 report
  43. Send a message as another editor using a shared CSRF token derived from the group ID.

    Seen in 1 report
  44. Use a lookalike domain with a trailing brace that the flawed Referer regex accepts.

    Seen in 1 report
  45. Reuse an authenticity token after it has already been used once.

    Seen in 1 report
  46. Obtain the expected state value from the error response and bypass CSRF protection.

    Seen in 1 report
  47. Reuse a valid CSRF token from your own session to bind a victim's account.

    Seen in 1 report
  48. Craft a multipart boundary that the header parser rejects so the content type is treated as absent.

    Seen in 1 report
  49. Send a postMessage command from a web page to a browser extension's background page.

    Seen in 1 report
  50. Use a browser-level CSRF bypass against the token check.

    Seen in 1 report