Secret Button Sequence Bypasses iPhone Security
wired.com
wired.com
The iPhone's passcode is pretty superficial. Only the UI code actually enforces it, and this is one of the results of that distinction. In fact, when you unlock, you are still viewing the same process as you were before it was unlocked. It just called the "_unlockWithSound" method and set an internal state to unlocked.
Edit: as pointed out to me on IRC by comex (author of JailbreakMe), there is lower level protection in the "lockdownd" service, but since the UI controls that, it doesn't really provide any additional security except it blocks iTunes syncing and such).
However, with this "hack", you are still locked, so you can't do anything like opening apps (again, the UI process locks opening apps, as part of their "security"). But, I did some experimentation, and here's what I found for impact:
- You can read and edit contacts, of course.
- I am not sure if phone calls work, but they didn't appear to.
- While clicking an email address does nothing, clicking the "send contact"
lets you send an email to whoever you want, custom address and all.
- You can view all the photos by pressing the "add photo" on a contact you edit.
You can also take new ones saved to there.
- You can send SMS and MMS using the same method as for email, but selecting MMS.
- You /cannot/ enter Safari or go to the homescreen: unless someone finds another
similar "hack" to exit the app, as then you could see the icons
(but, as the "is locked" flag is still "true", it won't let you launch apps).
- FaceTime doesn't seem possible.
This is a serious issue, and with the publicity it already has, I would only expect Apple to fix it (with a 4.1.1 firmware release, of course, I don't expect them to care about their iPhone 2G owners back on 3.1.3) within two weeks. However, if they want to fix this, they need to redesign the workings of the lock screen. The current way it works is incredibly simple to circumvent.Finally, on an unrelated note, the same exploits used in the jailbreak tools like "greenpois0n" and "PwnageTool" can be used to get around the passcode and get full filesystem access, or just remove it altogether. But you do need a computer for that, which you don't with this.
So long as you're not talking about something extremely esoteric relative to the sort of stuff that shows up here on a regular basis. I would feel comfortable referring to the Sieve of Eratosthenes in an offhand manner. Anyone on HN can probably look at the Wikipedia page and figure out what's going on.
If I refer to Negishi coupling, on the other hand, I should probably try to explain what they are and it might be prudent to provide a disclaimer that I'm going into esoteric O-chem stuff.
Cool?
On the other hand, it's not like the keypad lock was Fort Knox. I don't even bother with it normally.
It works really well for this purpose, but I wouldn't trust it to do much more.
I find it best to keep the phone in my pocket. It also stops people from stealing it - a more common occurrence than hacking contacts.
Although, while I don't really mind xscreensaver's unlock screen, I don't think Steve Jobs would give it the thumbs up :)
For obvious reasons, Apple prolly hoped this one would slip past everyone undetected until they pushed the next update out.
Really, this is only a security threat to your tech savvy gf/bf/friend/thief since it requires physical access. And you know what they say anyway:
Law #3: If a bad guy has unrestricted physical access to your computer, it's not your computer anymore
EDIT: I can re-lock it by holding Home to get to voice control, then cancelling that and pressing Home or Lock.
EDIT2: It takes a screenshot, not a photo. Damn, photo would be way more useful.
And playing devil's advocate, sure a thief could steal your phone and use this exploit (if he even knew about it), but what's he going to do with the contact list? If someone steals your iPhone, they did it to wipe it and resell it. There are much, much easier and less risky ways of getting large lists of people's contact info if that's what they're after.
Programmers make mistakes. Saying they should get fired over this is a bit silly, IMO.
EDIT: I'm not trying to downplay the seriousness. It's definitely serious. I've known some people who would use this against their "cheating" girlfriend in a heartbeat to see who they've been calling. But I seriously doubt anywhere close to millions will be affected.
I seriously doubt anywhere close to millions will be affected.
In his defense, he was saying that the privacy was potentially compromised, not that they would be affected. All iPhone users have had their privacy potentially compromised.Are you telling me that a sufficiently motivated entity couldn't get to the data stored on the phone? Once you have physical access to a device, things like this kind of become moot anyway, don't they?
And what's "silly" about preventing people from getting immediate access to your email account or text messages? You can get into most people's online bank account once you have their email.