Skip to content
Account takeover Write-up Advanced

CVE-2024-9956 – PassKey Account Takeover in All Mobile Browsers

Mobile browsers allowed a page to navigate to a FIDO:/ URI, which starts a PassKey authentication intent. An attacker within Bluetooth range could use this to phish a victim's PassKey and take over their account on a relying party.

mastersplinter.work

Published on mastersplinter.work

In this blogpost I will go over a vulnerability I found in all major mobile browsers that allowed an attacker within Bluetooth range to take over PassKeys accounts by triggering FIDO:/ intents.

Me, on mastersplinter.work

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Mobile browsers allowed web pages to navigate to FIDO:/ URIs, which are meant to be handled only by the operating system's PassKey manager.

Impact

An attacker within Bluetooth range could take over a victim's account on a relying party that uses PassKeys, provided the victim visits an attacker-controlled page and approves the authentication prompt.

What the attacker needed

Attacker within Bluetooth range; victim visits attacker-controlled page; victim approves authentication prompt

The fix

Browsers fixed the issue by blacklisting FIDO:/ URIs from being navigable by web pages.

How it was found

  1. Victim clicks on link in the attacker controlled page
  2. The attacker’s device visits the login page of the RP the account should be stolen for, and initiates a WebAuthn authentication
  3. The attacker’s device extracts the fresh `FIDO:/` link from the QR code and redirects the victim to it
  4. The victim’s PassKey manager pops up and the background page gets redirected to the legitimate RP site
  5. The victim’s Authenticator connects to the attacker’s Client
  6. The victim presses “Ok” or “Continue”

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 write-up has not been written yet. The Original tab links to the source.

PassKeys are a way to log in without a password, using a fingerprint or face scan on your phone. Normally they are thought to be safe from phishing because they only work on the real website. This bug showed that a malicious website could trick your phone into starting a PassKey login for the attacker's session, so the attacker could log in as you.

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.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.