hunt-mfa-bypass
A security testing skill for hunting MFA/2FA bypass vulnerabilities across seven attack patterns including OTP replay, missing rate limits, workflow skips, and race conditions.
What it does
Hunt MFA / 2FA bypass — 7 distinct patterns. (1) MFA not enforced on sensitive endpoints (password change, email change accept without MFA challenge), (2) MFA-step skip via direct navigation to post-login URL, (3) MFA-token replay (same code accepted twice), (4) brute-force the 6-digit OTP without rate limit (10^6 attempts at server speed), (5) race condition on OTP validation, (6) recovery-code dump via /api/me, (7) backup factor downgrade (SMS factor with no rate limit). Plus the chain: cookie theft + password oracle + no step-up = ATO without MFA challenge. Detection: trace auth flow in Burp, find every state transition, check if MFA is middleware-gated vs per-endpoint, check OTP entropy and rate limit on OTP-validate. Validate: attacker session reaching post-MFA state. Use when hunting auth bypass, MFA flows, chaining primitives toward ATO.
Quality judgment
The document provides comprehensive coverage of 7 distinct MFA bypass patterns with clear descriptions, code snippets, and detection/validation guidance. It effectively bridges individual primitives to ATO chains and references related skills. However, the structure is dense with mixed formatting (markdown code blocks, bash, python), some patterns lack concrete validation steps beyond the bypass itself, and the brute-force pattern includes a full 1M request example which is operationally risky without explicit rate-limit caveats. The content is highly practical but could benefit from more cons