Sign in with Apple works on existing accounts, bypasses 2FA
Cloudflare's Sign in with Apple flow allowed an attacker to bypass configured two-factor authentication by creating an Apple ID with the same email address as the victim's Cloudflare account. This could let the attacker access the targeted Cloudflare account without completing the second factor.
- Triaged in 28 hours
- Fixed in 28 hours
- Paid in 12 hours
- Disclosed after 20 days
Summary by the program
It was possible to bypass configured Cloudflare 2FA when logging in to a Cloudflare account using Apple ID authentication flow. A malicious actor could access a Cloudflare account by setting up an Apple ID account using e-mail address matching the one used to set up the targeted account. The issue could affect customers who did not have an Apple ID account created with an e-mail address that was linked to their Cloudflare profile or whose Apple ID account was compromised by an attacker. The fix was released by the relevant engineering team that prevents such 2FA bypass attempts.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Apple ID login flow treated a matching email address as sufficient proof of account ownership and did not enforce the account's configured 2FA requirement.
Impact
An attacker could access a targeted Cloudflare account without passing 2FA, but only if the victim had no Apple ID linked to their profile or if the attacker controlled an Apple ID with the victim's email.
What the attacker needed
2FA configured on account; attacker can create Apple ID with victim's email; victim has no Apple ID linked to profile
The fix
The engineering team released a fix that prevents such 2FA bypass attempts.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Two-factor authentication (2FA) is a second check, like a code on your phone, after your password. Here, logging in with an Apple ID skipped that second check if the Apple ID used the same email address as the Cloudflare account. An attacker who could make an Apple ID with the victim's email could get in without the extra code.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.