Attack Guide

ConsentFix Attacks: How OAuth Token Theft Bypasses MFA

Answer: ConsentFix is a browser-native phishing attack that tricks you into copy-pasting a URL containing an OAuth authorization code into an attacker-controlled page. The attacker redeems that code for an access token to your Microsoft account — without your password and without triggering MFA. It effectively bypasses passkeys and other phishing-resistant authentication.

How does a ConsentFix attack work?

  1. You visit a compromised or malicious website, often through SEO-poisoned search results or malicious ads.
  2. The page displays a fake Cloudflare Turnstile or CAPTCHA and asks for your email address to proceed.
  3. If your email domain is on the attacker\'s target list, the page loads the next stage — a fake verification prompt.
  4. The page instructs you to complete "verification" steps that involve logging in to Azure CLI or a similar app.
  5. After logging in, your browser navigates to a localhost URL containing an OAuth authorization code in the address bar.
  6. The page instructs you to copy that URL and paste it into a form on the phishing page.
  7. The attacker captures the authorization code and redeems it for an access token — gaining programmatic access to your Microsoft 365, Azure, and Entra ID resources.

Sources: Push Security (December 2025), Mitiga Security, Microsoft Learn OAuth documentation.

What are the warning signs of ConsentFix?

  • A webpage instructing you to copy a URL from your browser's address bar and paste it into a form
  • A fake Cloudflare Turnstile or CAPTCHA that requires an email address to proceed
  • Instructions to run Azure CLI or a terminal command as part of "verification"
  • A page that only activates if you provide a specific corporate email domain (conditional loading)
  • A fake verification page that asks you to "complete additional steps" after entering an email

What should you do if you encounter a ConsentFix page?

  1. Do not copy or paste any URL from your browser's address bar into a webpage form.
  2. Close the page immediately if it instructs you to run Azure CLI or paste a localhost URL.
  3. If you already pasted the URL, sign out of all Microsoft sessions and revoke OAuth app permissions.
  4. Check your Microsoft Entra ID sign-in logs for unexpected Azure CLI login events.
  5. Report the incident to your IT or security team immediately.
  6. Scan the suspicious URL or page screenshot with PhishGlass to confirm the risk level.

How does PhishGlass detect ConsentFix?

PhishGlass is specifically trained to recognize ConsentFix attack patterns. When you scan a suspicious URL or screenshot, PhishGlass checks for:

  • Instructions to copy-paste a localhost URL or browser address bar content
  • Fake Cloudflare Turnstile or CAPTCHA used as a pretext for OAuth code theft
  • Conditional loading that only activates for specific email domains
  • Azure CLI or terminal command instructions disguised as verification steps
  • Social-engineering cues designed to extract OAuth authorization codes

PhishGlass by ReverseAI — Your AI phishing bodyguard.

Scan for free