Mobile Safari Found Vulnerable To Address Bar Spoofing Exploit In iOS 5.1

Today, David Vieira-Kurz of MajorSecurity has uncovered a security issue with Apple’s Mobile Safari in iOS 5.1 (via TNW). The vulnerability can make Safari browser on iOS 5.1 spoof fake website addresses, something that can be used to display a different URL to that of the actual website you are visiting. According to the source, the vulnerability has been reproduced on the iPhone 4, iPhone 4S, iPad 2 and new iPad running iOS 5.1. As a result, the Dutch Ministry of Security and Justice has issued a warning about it.

Viera-Kurz has offered a demonstration of the code, so if you own an iOS device and want to reproduce the bug follow these steps:

Step 1:

Visit with Safari on iOS 5.1.

Step 2:

Click the “Demo” button.

Step 3:

Safari will open a new window with “” in the address bar, but in fact “” is being displayed inside an iframe within the host

Step 4:

Safari’s address bar is showing “” which makes the user believe he/she is currently visiting while he’s still on the attacker’s website.

Apple has already been notified about the vulnerability, meaning an iOS firmware update to resolve the issue should be coming up shortly!