Skip to content

In-depth lesson · CSRF

Root causes

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

Back to the lesson 51 to 100 of 135
  1. The stock alert endpoint performs a state-changing action on a GET request and lacks CSRF protection.

    Seen in 1 report
  2. The Yahoo account connection callback used a GET request and did not include a CSRF token.

    Seen in 1 report
  3. The cancel-show endpoints enforced CSRF protection only on POST requests, so the same action performed via GET bypassed the check.

    Seen in 1 report
  4. The endpoint performed a state-changing action via GET and did not validate a CSRF token.

    Seen in 1 report
  5. The thumbnail-change action was implemented as a state-changing GET request with no CSRF token or origin check.

    Seen in 1 report
  6. The image upload endpoint did not require a CSRF token or any other anti-CSRF protection.

    Seen in 1 report
  7. The CSRF token for group instant-messaging actions was derived from the group identifier, so every user with access to that group's IM shared the same token.

    Seen in 1 report
  8. The endpoint performed the Twitter post action without verifying a CSRF token or confirming the request originated from the user.

    Seen in 1 report
  9. The CSRF token is stored in cookies without the HttpOnly flag.

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

    Seen in 1 report
  11. The login form had no anti-CSRF protection.

    Seen in 1 report
  12. The registration form had no CSRF protection.

    Seen in 1 report
  13. The session token was not verified when changing account settings.

    Seen in 1 report
  14. The CSRF token from another valid user session was accepted.

    Seen in 1 report
  15. The authenticity token is not random across page loads.

    Seen in 1 report
  16. The CSRF token validation is bypassable via type juggling.

    Seen in 1 report
  17. The application accepts any value for the CSRF token.

    Seen in 1 report
  18. The server did not validate the CSRF middleware token in the password change request.

    Seen in 1 report
  19. The CSRF token validation is missing.

    Seen in 1 report
  20. There is no server-side validation of the CSRF token.

    Seen in 1 report
  21. The password-setting endpoint did not require the existing password and lacked a working CSRF check.

    Seen in 1 report
  22. The API key regeneration endpoint accepted POST requests without a CSRF token.

    Seen in 1 report
  23. The OAuth completion endpoint used a GET request and a static per-store identifier as its anti-CSRF token.

    Seen in 1 report
  24. The domain transfer endpoint lacked CSRF protection.

    Seen in 1 report
  25. The server compared the authenticity token loosely instead of verifying it against the session.

    Seen in 1 report
  26. The collaboration WebSocket trusted client-supplied element selectors and values.

    Seen in 1 report
  27. The hook test API endpoint used the GET method.

    Seen in 1 report
  28. The feedback endpoint lacked CSRF protection.

    Seen in 1 report
  29. The forwarding test endpoint lacked CSRF protection.

    Seen in 1 report
  30. The newsletter form lacked CSRF protection.

    Seen in 1 report
  31. The friend request deletion endpoint lacked a CSRF token.

    Seen in 1 report
  32. The encryption settings endpoint lacked CSRF protection.

    Seen in 1 report
  33. The bank account addition form lacked CSRF protection.

    Seen in 1 report
  34. The donation settings endpoint lacked CSRF protection.

    Seen in 1 report
  35. The support ticket endpoint lacked CSRF protection.

    Seen in 1 report
  36. The SMS captcha step lacked CSRF protection.

    Seen in 1 report
  37. The security question change flow lacked CSRF protection.

    Seen in 1 report
  38. The deletion endpoint accepted sequential user identifiers without CSRF protection.

    Seen in 1 report
  39. The endpoint trusted an object identifier without checking ownership and lacked CSRF protection.

    Seen in 1 report
  40. The Referer validation regex was flawed and accepted a lookalike domain.

    Seen in 1 report
  41. The authenticity token did not expire after a single use.

    Seen in 1 report
  42. A debug leftover caused the error response to include the expected state value.

    Seen in 1 report
  43. The OAuth2 authorisation endpoint did not properly validate the CSRF token.

    Seen in 1 report
  44. The CSRF filter compared the raw Content-Type header against a blacklist while the parser could treat a malformed value as absent.

    Seen in 1 report
  45. The content script accepted postMessage commands from any page and passed them to the background page.

    Seen in 1 report
  46. The browser-level CSRF bypass defeated the token check.

    Seen in 1 report
  47. The logout endpoint accepted an empty CSRF token.

    Seen in 1 report
  48. The desktop client handled a malicious link without confirmation.

    Seen in 1 report
  49. The debug adapter protocol accepted requests from a web page.

    Seen in 1 report
  50. The default branch name for a group was not validated, allowing path traversal.

    Seen in 1 report