Well, this is the reason they write updates.
Per AppleInsider, a newly-discovered mobile Safari web browser vulnerability allows a malicious website to display a URL that is different than the website’s actual address, and can trick users into handing over sensitive personal information.
The issue, first discovered by security firm Major Security, is an error in how Apple’s mobile Safari app in iOS 5.1 handles URLs when using javascript’s window.open() method that can be exploited by malicious sites to display custom URLs.
“This can be exploited to potentially trick users into supplying sensitive information to a malicious web site,” Major Security explains, “because information displayed in the address bar can be constructed in a certain way, which may lead users to believe that they’re visiting another web site than the displayed web site.”
The exploit was tested on an iPhone 4, iPhone 4S, iPad 2 and third-generation iPad running iOS 5.1, and it seems that any iDevice running Apple’s latest mobile OS is affected by the vulnerability. Users can test the vulnerability themselves by visiting this web site from a mobile device. After a user clicks the “demo” button on the test page, Safari will open a new window which shows “http://www.apple.com” in the address bar, but that URL is in fact being displayed through an iframe being hosted by Major Security’s servers.
By spoofing a URL and adding some convincing images to a malicious site, users can easily be tricked into thinking they are visiting a legitimate website such as Apple’s online store.
The vulnerability was originally found in iOS 5.0 and reproduced on iOS 5.1 earlier in March. Apple was made aware of the issue on March 1 and posted an advisory regarding the matter on March 20. A patch has yet to be pushed out, though the iPhone maker is expected to do so in the near future.
Stay tuned for additional details as they become available.
One reply on “Security firm finds hole in iOS 5.1 that could lead to URL spoofing”
This exploit appears to be a WebKit bug that goes back to Safari versions available at least since iOS 4.1. So be careful out there…