Skip to content
Info disclosure Write-up Intermediate

VPNs on iOS are a scam

The author found that on iOS, VPN tunnels do not capture all traffic; some data, including DNS queries and connections to Apple services, leaves the device outside the VPN. An attacker who can observe network traffic could see the user's real IP address and browsing activity despite the VPN being active.

Michael Horowitz Follow

Published on michaelhorowitz.com

UPDATE HISTORY May 25, 2022 First published May 28, 2022 Totally re-wrote the Work-Arounds section May 30, 2022 Minor edits and a new section on Testing Airplane Mode May 31, 2022 Expanded the My Suggestion section at the end June 16, 2022 Added details on yet another test July 3, 2022 Added new section on the bottom…

Michael Horowitz (@defensivecomput), on michaelhorowitz.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 iOS does not terminate or reroute existing network connections when a VPN tunnel is established, and some Apple services are allowed to bypass the tunnel by design.

Impact

An attacker who can monitor network traffic could see the user's real IP address and some domain names despite the VPN being active; Apple's includeAllNetworks flag may reduce but not fully eliminate leaks, and some leaks persist even in Lockdown Mode.

What the attacker needed

IOS device; VPN app installed; router with logging capability

The fix

Apple should ensure that all traffic, including that from Apple services and existing connections, goes through the VPN tunnel, and fix the includeAllNetworks flag so it works reliably.

How it was found

  1. Set up a router that logs the domains each connected device accesses.
  2. Connect an iOS device to that router and establish a VPN connection.
  3. Use the device and observe the router logs for requests to apple.com after the VPN is active.

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.

A VPN is supposed to send all your internet traffic through an encrypted tunnel so others cannot see what you do. This report shows that on iPhones and iPads, some traffic escapes the tunnel, so your real IP address and some activity can still be seen. The author tested with several VPN apps and confirmed the leak using a router that logs connections.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Apple

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.