Skip to content

In-depth lesson · Second-factor bypass

Root causes

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

Back to the lesson 1 to 18 of 18
  1. The application did not revoke existing sessions when MFA was enabled.

    Seen in 3 reports
  2. The server did not re-check that the destination wallet belonged to the account when processing an internal transfer.

    Seen in 1 report
  3. The verification endpoint skipped server-side validation of the one-time code for accounts in the denied state and trusted the client.

    Seen in 1 report
  4. The 2FA implementation allowed repeated guessing without effective throttling.

    Seen in 1 report
  5. The external login flow did not enforce the existing 2FA requirement and cleared the 2FA setting when used.

    Seen in 1 report
  6. The grant token had no expiry and was not tied to whether 2FA was enabled or sessions had been reset.

    Seen in 1 report
  7. The endpoint that disables 2FA did not require or verify the current account password.

    Seen in 1 report
  8. The 2FA secret token was generated once per account and reused for every setup attempt until 2FA was finally enabled.

    Seen in 1 report
  9. The OAuth2 authorisation endpoint did not enforce the pending 2FA setup requirement.

    Seen in 1 report
  10. The server tied the 2FA enforcement state to a session cookie value that could be swapped between sessions.

    Seen in 1 report
  11. The library compared the consumed time step with the current time step instead of the matched one, so a reused code still passed.

    Seen in 1 report
  12. The Apple ID login flow treated a matching email address as proof of ownership and did not enforce the configured 2FA.

    Seen in 1 report
  13. The destroy endpoint authenticated only on a client-computed password-derived value and omitted the session authorisation header and second-factor check.

    Seen in 1 report
  14. The email change flow neither re-verified ownership of the new address nor invalidated the trusted-device session.

    Seen in 1 report
  15. The XPath query used to extract the AuthnContext searched the whole document instead of only the signed Assertion.

    Seen in 1 report
  16. The server decided whether OTP verification succeeded based on a client-returned value instead of checking the OTP itself.

    Seen in 1 report
  17. The server kept a pending two-factor state tied to the browser session rather than to the account being authenticated.

    Seen in 1 report
  18. The caller of the passkey verification function ignored its return value, so failed validation skipped the cryptographic checks but still signed the user in.

    Seen in 1 report