====== CSRF Testing ====== Find areas that should have CSRF protection and test if it's actually enforced. ===== 8-Step Test ===== - Standard CSRF test -- remove the token entirely - Change method to GET - Change CSRF token value to ''undefined'' - Delete CSRF token value or entire parameter - Use same CSRF token across two different accounts - Replace CSRF token with same-length random string - Change content-type from ''application/json'' to ''text/plain'' - Use a vulnerable subdomain to bypass CSRF token validation ===== Bypass Techniques ===== ==== Blank Referer ==== ==== iframe data URI ====