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.
-
Test WordPress plugin endpoints such as comment posting and profile fields for CSRF.
Seen in 5 reports
-
Bypass a Referer check by crafting the request.
Seen in 3 reports
-
Use a general technique to bypass CSRF protection.
Seen in 3 reports
-
Replay an OAuth callback request without a CSRF token to link an attacker's third-party account to a victim.
Seen in 3 reports
-
Check whether the OAuth state parameter is missing or static across authorisation attempts.
-
Use permissive CORS rules to read responses or execute functions cross-origin.
Seen in 2 reports
-
Check for missing CSRF token validation.
Seen in 2 reports
-
Change the primary account via a GET request without a CSRF token.
-
Reverse or predict CSRF tokens to forge valid ones.
-
Leak the CSRF token through a user-controlled URL parameter.
Seen in 2 reports
-
Use a Flash file with a 307 redirect to send a cross-site request with a custom content type.
-
Use the leanback API to access private videos.
Seen in 2 reports
-
Test Grafana's cross-origin request forgery against authenticated endpoints.
Seen in 2 reports
-
Test Node.js third-party modules such as express-cart and csurf for wide CSRF.
Seen in 2 reports
-
Test whether a logout request can be triggered from another site to end a user's session.
-
Use cross-site flashing to bypass CSRF.
-
Bypass SameSite=Lax with a top-level GET navigation or a method override parameter.
-
Use a same-origin policy bypass or universal XSS to read CSRF tokens from HTML and then perform CSRF.
Seen in 1 report
-
Chain the single sign-on CSRF with an open redirect.
Seen in 1 report
-
Leak the CSRF token to an external origin through a click handler on links that carry a data-method attribute.
-
Use directory traversal in a parameter to reach an OAuth callback endpoint and bypass CSRF.
Seen in 1 report
-
Use type juggling to bypass CSRF token validation.
-
Bypass an anti-CSRF library's IP restriction when the application sits behind a reverse proxy or WAF.
-
Bypass Django CSRF protection via Google Analytics.
-
Bypass the CSRF token on account deletion.
Seen in 1 report
-
Bypass CSRF protection to delete a source translation from dictionaries.
Seen in 1 report
-
Bypass CSRF using cross-frame scripting.
Seen in 1 report
-
The CSRF token is stored in cookies without the HttpOnly flag, so scripts can read it.
Seen in 1 report
-
Manipulate the CSRF token in every form submission and check whether the server validates it.
-
Bypass login CSRF protection.
Seen in 1 report
-
Reuse a CSRF token taken from another valid user session.
Seen in 1 report
-
The CSRF token stays the same after login.
Seen in 1 report
-
The CSRF token is not tied to the user session and is not rotated.
Seen in 1 report
-
Input any value for the CSRF token and check whether it is accepted.
Seen in 1 report
-
Remove the CSRF middleware token from a password change request and see whether it is validated server-side.
-
Cancel a group or private show via a GET request that lacks CSRF protection.
Seen in 1 report
-
Report an emoticon via a GET request without a CSRF token.
Seen in 1 report
-
$250 Low
-
-
Change a video thumbnail via a GET request without a CSRF token.
Seen in 1 report
-
Add unlimited items to a saved list via a GET request without a CSRF token.
Seen in 1 report
-
Change the full name or add a secondary email identity via a GET request.
-
Change a victim's JIRA integration settings via a malicious link that carries a JWT token.
Seen in 1 report
-
Reuse an authenticity token from one account to enable two-step verification on another account.
Seen in 1 report
-
Send a message as another editor using a shared CSRF token derived from the group ID.
Seen in 1 report
-
Use a lookalike domain with a trailing brace that the flawed Referer regex accepts.
Seen in 1 report
-
Reuse an authenticity token after it has already been used once.
Seen in 1 report
-
Obtain the expected state value from the error response and bypass CSRF protection.
Seen in 1 report
-
$500 Medium
-
-
Reuse a valid CSRF token from your own session to bind a victim's account.
-
Craft a multipart boundary that the header parser rejects so the content type is treated as absent.
Seen in 1 report
-
Send a postMessage command from a web page to a browser extension's background page.
-
Use a browser-level CSRF bypass against the token check.
Seen in 1 report
-
$500 Medium
-