iPhone 3.0 Flaw - Auto Open Safari is a No No

Originally posted to Full-disclosure by Max Moser.

Hi there, just in case you didn't see the post at my blog http://remote-exploit.blogspot.com/ here is a small summit of the problem:

The iPhone running OS 3 has a stupid usability feature. It seems like the iPhone is automatically opening a browser when joining a network. When joining a network, the iPhone tries to do the following:

1. DNS queries for www.apple.com
2. Opening http://www.apple.com/library/test/success.html

When both are successful, then fine... the phone gets back "success" and everything is ok. When both are failing... that's fine as well because then the phone assumes that the Internet connection is not up and running.

If the phone can successfully query the name but get back any different content than "Success" it assumes that there is a captive portal which requires you to authenticate first to get access to the Internet. (Hotels, Hotspots etc)

It seems like Apple was thinking.. damn that's annoying for the user... lets open up Safari automatically if this special case comes into place :-)

Usability kills security .... together with karmetasploit its a very evil thing. Get IPhone cookies, accounts and maybe even system control... depending on the bugs you have left to test.

You can see the whole thing as a video @ vimeo http://www.vimeo.com/5466236 .... now lets find some new safari bugs :-)

Greetings

Max

Other Posts

Introducing Ncrack, a Network Brute Forcer on Crack
"Ncrack is an open source tool for network authentication cracking. It was designed for high-speed parallel cracking using a dynamic…
Hash Me Up (Mac OS X Styleee)
On a good day you'll catch me on my MacBook Pro like any other Apple fanboy.  However, I was on…
Kneber Botnet - The End is Nigh! Not Quite!
Just a quick one this morning...  A botnet has been discovered that has apparently hijacked more than 75,000 boxes across…
Web 2.0 + People = New Challenges
This article originally appeared on Verizon Business' ThinkForward blog.  It is written by me with a different audience in mind…
Nmap 5.20 released
More than 150 significant improvements,30+ new Nmap Scripting Engine (NSE) scriptsEnhanced Performance and Reduced Memory ConsumptionProtocol-specific Payloads for more Effective…
BackTrack Final 4 released
BackTrack 4 (Final) is officially released. If you didn't already know, "BackTrack is a Linux-based penetration testing arsenal that aids…
Second GSM Cipher Fail - A5/3
The GSM encryption algorithm A5/1 has been known to be broken for some time now... about 10 years to be…
Attack on PHP sessions and random numbers
PHP random numbers and session IDs weaker than thought.  Proof of concept code and further information at http://samy.pl/phpwn/…
Friend or foe? Automated Malware Analysis and Identification
I am doing a PhD on the subject so it's only right I post something up related to it.  Whether…
Give us a flash! Introducing SWFScan, the Flash Security Scanner
The nice people at the Web Security Research Group over at HP have created a bit of goodness that will…