Skip to content
Business logic Write-up Advanced

**Apple Knows. Visa Knows. Nobody Has Fixed It. Here’s Why.**

A vulnerability in Apple Pay's Express Transit Mode with Visa cards allows an attacker to replay 'Magic Bytes' from a transit gate and modify communication to an EMV terminal, tricking the phone into authorising a payment without user authentication. An attacker with a commercially available NFC device could drain funds from a locked iPhone.

Ujjwal Sharma Follow

Published on infosecwriteups.com

A few years ago, I was part of a multi-vendor telecom project. My company owned the software.

Ujjwal Sharma, on infosecwriteups.com

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

Likely a design gap at the boundary between Apple's Express Transit implementation and Visa's EMV transaction authorisation logic, where neither party validates the full relay-resistant protocol.

Impact

An attacker could drain funds from a locked iPhone using Apple Pay and a Visa card, bypassing the contactless transaction limit; the attack does not work with Mastercard on Apple Pay or Visa on Samsung Pay, and disabling Express Transit for Visa cards closes the vector.

What the attacker needed

IPhone with Visa card in Express Transit Mode; attacker with NFC device near victim; attacker-controlled payment terminal

The fix

The researchers proposed an EMV relay-resistant protocol that preserves Express Transit usability while closing the attack vector, but it has not been implemented; users can disable Express Transit for Visa cards to close the vector.

How it was found

  1. Configure a Visa card in Apple Pay's Express Transit Mode on an iPhone.
  2. Use a commercially available NFC device to replay transit gate 'Magic Bytes' to the iPhone.
  3. Modify the communication to an EMV payment terminal so it believes the iPhone has already authenticated the user.
  4. The terminal processes a payment of any amount from the locked phone without Face ID, Touch ID, or PIN.

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.

Express Transit Mode lets you tap your iPhone to pay at a subway gate without unlocking it. The flaw means a criminal with a special reader can pretend to be a subway gate and also trick a payment terminal into thinking you already proved it was you, so money leaves your locked phone without Face ID or a PIN.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by Ujjwal Sharma

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.