October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Redmond desk3 min

Researchers Discovered a Microsoft MFA Code-Guessing Flaw; Microsoft Says It Was Fixed in 2024

Oasis Security said attackers with a valid Microsoft password could continue guessing MFA codes by opening fresh sessions. Its timeline says Microsoft deployed a permanent fix in October 2024.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Oasis Security reported a flaw in Microsoft’s multi-factor authentication (MFA) sign-in flow that let someone with a valid password keep guessing six-digit authenticator codes by opening fresh sign-in sessions. Oasis said the failed attempts did not alert account owners. The researchers’ timeline says Microsoft deployed a permanent fix on October 9, 2024; this is a historical, reportedly resolved issue, not evidence of a currently unpatched Azure vulnerability.

What was the Microsoft Azure MFA flaw?

Despite “Azure” in the report’s title, Oasis described a weakness in Microsoft’s MFA verification flow, affecting sign-ins to Microsoft accounts and services that included Outlook, OneDrive, Teams and Azure Cloud. The available account does not establish that the flaw was isolated to Azure infrastructure.

As an Amazon Associate I earn from qualifying purchases.

In the scenario Oasis described, an attacker first needed a valid email address and password. After that, the sign-in process asked for a six-digit authenticator code. Oasis said up to 10 consecutive incorrect codes were allowed in a single session. By rapidly creating new sessions, researchers could make additional guesses rather than being stopped by the per-session limit. Oasis also reported that the failed attempts did not generate alerts to the account owner.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

This was a weakness in the second-factor verification and its rate limiting—not a way to sign in without a password. Oasis reported researcher demonstrations; the cited account does not establish criminal exploitation or prove that accounts were compromised.

#1 Best Overall
Yubico - Security Key C NFC - Basic Compatibility - Multi-Factor authentication (MFA) Security Key and passkey, Connect via USB-C or NFC, FIDO Certified
  • POWERFUL SECURITY KEY: The Security Key C NFC is the essential physical passkey for protecting your digital life from phishing attacks. It ensures only you can access your accounts.
  • WORKS WITH 1000+ ACCOUNTS: Compatible with Google, Microsoft, and Apple. A single Security Key C NFC secures 100 of your favorite accounts, including email, password managers, and more.
  • FAST & CONVENIENT LOGIN: Plug in your Security Key C NFC via USB-C and tap it, or tap it against your phone (NFC) to authenticate. No batteries, no internet connection, and no extra fees required.
  • TRUSTED PASSKEY TECHNOLOGY: Uses the latest passkey standards (FIDO2/WebAuthn & FIDO U2F) but does not support One-Time Passwords. For complex needs, check out the YubiKey 5 Series.
  • BUILT TO LAST: Made from tough, waterproof, and crush-resistant materials. Manufactured in Sweden and programmed in the USA with the highest security standards.

Why did the code’s validity window matter?

Oasis reported that, in its testing of Microsoft sign-in, a time-based code was tolerated for around three minutes—about 2.5 minutes beyond its expiry according to the report. That is a finding about the sign-in flow Oasis tested, not a general property of authenticator apps or all time-based one-time password systems.

The IETF’s RFC 6238 specifies a default TOTP time-step size of 30 seconds. It also allows a validator to account for transmission delay and cautions that accepting codes over a wider window increases the opportunity for an attacker to guess one. The 30-second time step is not a guarantee that every system accepts a code for exactly 30 seconds; it is distinct from Oasis’s reported observation of Microsoft’s acceptance window.

Rank #2
Yubico - YubiKey 5C NFC - Multi-Factor authentication (MFA) Security Key and passkey, Connect via USB-C or NFC, FIDO Certified - Protect Your Online Accounts
  • POWERFUL SECURITY KEY: The YubiKey 5C NFC is the most versatile physical passkey, protecting your digital life from phishing attacks. It ensures only you can access your accounts
  • WORKS WITH 1000+ ACCOUNTS: Compatible with popular accounts like Google, Microsoft, and Apple. A single YubiKey 5C NFC secures 100+ of your favorite accounts, including email, password managers, and more
  • FAST & CONVENIENT LOGIN: Plug in your YubiKey 5C NFC via USB and tap it, or tap it against your phone (NFC), to authenticate. No batteries, no internet connection, and no extra fees required
  • MOST SECURE PASSKEY: Supports FIDO2/WebAuthn, FIDO U2F, Yubico OTP, OATH-TOTP/HOTP, Smart card (PIV), and OpenPGP. That means it’s versatile, working almost anywhere you need it
  • PRIMARY & SPARE KEYS: Just like having a spare house key, we recommend buying two YubiKeys - one for daily use and one as a spare. That way you’ll never get locked out of your accounts

What is the reported fix timeline?

Date Action reported by Oasis Security
June 24, 2024 Microsoft acknowledged the issue.
July 4, 2024 Microsoft deployed a temporary fix.
October 9, 2024 Microsoft deployed a permanent fix.

Oasis says the specific technical changes are confidential. It reports that Microsoft introduced a stricter rate limit after a number of failed attempts, with the strict limit lasting around half a day. The report says the issue had been fixed before it was published on December 11, 2024. These remediation details and dates are Oasis’s account.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What should Microsoft 365 and Entra administrators do?

Oasis’s recommendations are useful as general account-security practices, not as evidence that any particular tenant was affected or compromised:

Rank #3
Yubico - YubiKey 5 NFC - Multi-Factor authentication (MFA) Security Key and passkey, Connect via USB-A or NFC, FIDO Certified - Protect Your Online Accounts
  • POWERFUL SECURITY KEY: The YubiKey 5 NFC is the most versatile physical passkey, protecting your digital life from phishing attacks. It ensures only you can access your accounts
  • WORKS WITH 1000+ ACCOUNTS: Compatible with popular accounts like Google, Microsoft, and Apple. A single YubiKey 5 NFC secures 100+ of your favorite accounts, including email, password managers, and more
  • FAST & CONVENIENT LOGIN: Plug in your YubiKey 5 NFC via USB and tap it, or tap it against your phone (NFC), to authenticate. No batteries, no internet connection, and no extra fees required
  • MOST SECURE PASSKEY: Supports FIDO2/WebAuthn, FIDO U2F, Yubico OTP, OATH-TOTP/HOTP, Smart card (PIV), and OpenPGP. That means it’s versatile, working almost anywhere you need it
  • PRIMARY & SPARE KEYS: Just like having a spare house key, we recommend buying two YubiKeys - one for daily use and one as a spare. That way you’ll never get locked out of your accounts
  • Keep MFA enabled for user accounts.
  • Monitor failed second-factor attempts and configure alerts for suspicious patterns where your identity and logging setup supports them.
  • Consider passwordless sign-in methods where they fit your organization’s policies, devices and recovery processes. Microsoft’s Entra authentication-method guidance is the place to check current options and policy requirements.
  • Ensure users have a workable account-recovery and support path before changing sign-in methods.

Passwordless authentication can reduce reliance on manually entered, short-lived codes, but the right method depends on configured Entra policies, user devices and recovery needs. A hardware security key is not a repair for this historical server-side rate-limit weakness; it is one possible authentication method to evaluate against your environment.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How widespread was the potential exposure?

Microsoft CEO Satya Nadella said on the January 30, 2024 FY2024 Q2 earnings call, “We now have more than 400 million paid Office 365 seats.” That figure describes Microsoft’s paid Office 365 seat base at that time. It is not a count of accounts shown to be vulnerable, attacked or compromised, and should not be treated as one.

Rank #4
Yubico - Security Key NFC - Basic Compatibility - Multi-Factor Authentication (MFA) Key, Connect via USB-A or NFC, FIDO Certified
  • POWERFUL SECURITY KEY: The Security Key NFC is the essential physical passkey for protecting your digital life from phishing attacks. It ensures only you can access your accounts.
  • WORKS WITH 1000+ ACCOUNTS: Compatible with Google, Microsoft, and Apple. A single Security Key NFC secures 100 of your favorite accounts, including email, password managers, and more.
  • FAST & CONVENIENT LOGIN: Plug in your Security Key NFC via USB-A and tap it, or tap it against your phone (NFC) to authenticate. No batteries, no internet connection, and no extra fees required.
  • TRUSTED PASSKEY TECHNOLOGY: Uses the latest passkey standards (FIDO2/WebAuthn & FIDO U2F) but does not support One-Time Passwords. For complex needs, check out the YubiKey 5 Series.
  • BUILT TO LAST: Made from tough, waterproof, and crush-resistant materials. Manufactured in Sweden and programmed in the USA with the highest security standards.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.