VPN bypass vulnerability in Apple iOS
iOS did not close existing network connections when a VPN was enabled, so some connections continued outside the VPN tunnel. An attacker could see the user's real IP address and the IP addresses of servers they connect to.
Published on protonvpn.com
We’ve raised this issue with Apple multiple times. Unfortunately, its fixes have been problematic.
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
Impact
An attacker could see the user's IP address and the IP address of the servers they connect to, and the server could see the user's true IP address instead of the VPN server's; the text notes that data exposure would require the affected connections not to be encrypted themselves, which it calls unusual.
What the attacker needed
IOS device; VPN connection enabled; existing connections before VPN
The fix
Apple has not fixed the problem directly; it provided a kill switch capability to developers in iOS 14, and recommends Always-on VPN, which requires device management.
How it was found
- Connect the iOS device to a VPN.
- Capture the device's network traffic with Wireshark.
- Observe direct traffic between the device's IP and an external IP that is not the VPN server.
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 a tool that sends your internet traffic through an encrypted tunnel so others cannot see where you go. On iOS, when you turned on a VPN, some connections that were already open stayed open outside the tunnel. This meant someone watching the network could still see your real IP address (your device's address on the internet) and which servers you connected to.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.