apple
Report a problem

Serious SMS vulnerability discovered for the iPhone

Brad Sams   on 02 July 2009 - 12:47 · 59 comments & 10438 views

Advertisement (Why?)
Apple is hard at work to patch a serious vulnerability that could allow a hacker to perform malicious acts unknowingly on the iPhone platform.

The attack, which hasn't been described in detail, works when the attacker sends the victim an SMS that could cause the phone to run malicious code or programs without the phone operator's permission.

"The SMS vulnerability allows an attacker to run software code on the phone that is sent by SMS over a mobile operator's network. The malicious code could include commands to monitor the location of the phone using GPS, turn on the phone's microphone to eavesdrop on conversations, or make the phone join a distributed denial of service attack or a botnet"

The good news is that the person who discovered the vulnerability, Charlie Miller, has been working with Apple and he will not discuss in detail the vulnerability until Apple has patched the exploit. This is a good step because if this exploit reached those with malicious intent, millions of iPhone users' phones could be compromised very quickly because of how fast text messages spread.

Neowin recently reported that Apple has delivered the next beta of the iPhone OS to developers which may include a patch for this exploit. Apple is currently working to amend the problem so there is no need to worry if you're an iPhone user but as Apple's market share grows more and more people will start looking to attack the iPhone.

Post a comment · Send to friend Comments · There are 59 additional comments
(12 replies) #1 xUnix on 02 Jul 2009 - 13:02
I thought MACs/Iphones were safe... go figure...

(waiting for the fanboys to comment) :-)
#1.1 Cartoondad on 02 Jul 2009 - 13:13
Nothing is safe..and it is logical say that as Macs get more popular, they will become more vulnerable to attacks as hackers will spend more time looking for exploits, but that wont be for some time..
#1.2 ]SK[ on 02 Jul 2009 - 14:12
Well, at least they are safe from viruses eh?
#1.3 Xero on 02 Jul 2009 - 14:17
Mac's sure. iPhone not so much. Apple has already gotten a large enough market share for people to work on exploiting them. It might take some time for the Mac to catch up but the iPhone is definitely a prime target these days.
#1.4 TechGuyPA on 02 Jul 2009 - 15:11
Some time is now......Keep hearing mac fans saying "they will be attacked but only when its more popular", guess what the pc may not have enough for someone to go after, but with the popularity of the iPhone.....its time is now.
#1.5 ccuk on 02 Jul 2009 - 15:33
xUnix said,
I thought MACs/Iphones were safe... go figure...

(waiting for the fanboys to comment) :-)


It's Mac, not MAC... If you are going start a troll / flame fest at least spell the item you are insulting correctly.
#1.6 Chasethebase on 02 Jul 2009 - 15:39
I have an iPod Touch. I can go hide in my safe box for a while longer.
#1.7 PsykX on 02 Jul 2009 - 16:14
@xUnix : You're getting a fanboy reply by me... Even though I love Apple and everything, it's humans behind OS X and OS X Mobile, so it's meant to have security flaws.
I've heard of only 2 or 3 critical security flaws on the iPhone so far since its very first release. The first one was pretty dangerous and stupid in fact, and was fixed pretty quickly. But dude, for something that has now thousands and thousands of applications and a complete SDK and for something that became popular so quickly, I'm really thrilled by the security of OS X Mobile so far. 2-3 critical issues in more than 700 days is great. You know, just by creating the SDK and by (not really fixing) jailbreak flaws, Apple is putting nearly no chance on their side, but they've still succeeded in delivering something solid.
#1.8 vetmarkjensen on 02 Jul 2009 - 16:34
xUnix said,
I thought MACs/Iphones were safe... go figure...

(waiting for the fanboys to comment) :-)

It looks like you took care of being the first fanboy in your first post.
#1.9 nvme on 02 Jul 2009 - 21:43
ccuk said,
xUnix said,
I thought MACs/Iphones were safe... go figure...

(waiting for the fanboys to comment) :-)


It's Mac, not MAC... If you are going start a troll / flame fest at least spell the item you are insulting correctly.

baaaaaaaaa
#1.10 Jebadiah on 03 Jul 2009 - 12:01
ccuk said,
xUnix said,
I thought MACs/Iphones were safe... go figure...

(waiting for the fanboys to comment) :-)


It's Mac, not MAC... If you are going start a troll / flame fest at least spell the item you are insulting correctly.


Wow! I can't believe this! You missed one! It's "iPhone" not "Iphone".
#1.11 Joshie on 04 Jul 2009 - 15:34
ccuk said,
xUnix said,
I thought MACs/Iphones were safe... go figure...

(waiting for the fanboys to comment) :-)


It's Mac, not MAC... If you are going start a troll / flame fest at least spell the item you are insulting correctly.


It's spelled just fine. The capitalization, however, is wrong.

If you're going to correct someone, at least use words correctly.
#1.12 sphbecker on 04 Jul 2009 - 18:35
well a Mac's file system is case sensitive so I guess a capitalization mistake is the same thing as a spelling mistake. :-)
(1 reply) #2 powerade01 on 02 Jul 2009 - 13:12
The attack, which hasn't been described in detail, works when the attacker sends the victim an SMS that could cause the phone to run malicious code or programs without the phone operator's permission.


Sounds like a way to jailbreak.
#2.1 DomZ on 02 Jul 2009 - 13:42
But if it became public and used for a jailbreak, people would figure out the exploit and there'd be viruses galore.
(1 reply) #3 DeltaFalcon on 02 Jul 2009 - 13:12
I feel sorry for anyone with an iPhone right now, but with all of the problems plaguing Apple's "always solid, always works" image is starting to tarnish. Lets just hope all of the fanbois who think Apple is the end all and be all of everything actually wake up and see that anything, no matter how good it is, or seems to be is actually infailable, at some point, it will.
#3.1 cyberdrone2000 on 02 Jul 2009 - 15:00
Why do you feel sorry for everyone with an iPhone?

The iPhone is a terriffic business tool, and actually a great phone to boot.
I appreciate your sentiment, but I don't care that some unrevealed potential vulnerability exists in the SMS framework. The odds of it being exploited before Apple fixes the issue are so minute, it's nothing to get worked up over.

Then again, I guess I never believed the "always solid, always works" image, so it's not like this is an eye-opener of any kind.
I have a Mac that has been subject to WAY more kernel panics than I ever had BSODs... but I still keep using it, because it's a computer tool that fits my work flow.
(3 replies) #4 kiwi89 on 02 Jul 2009 - 13:14
Personally I'd love to know how this attack works, because I can't really see much of a way to control the phone through an sms message. Except if you could send messages to the phone through the door that mobile me uses.
#4.1 +tunafish on 02 Jul 2009 - 13:21
If its the way im thinking, some code could be added to an SMS to run commands, be it delete, reboot whatever. Could probs also allow data connections to be made and download a program or something
#4.2 necrosis on 02 Jul 2009 - 13:22
This is what I was wondering. Is it a easy attack? Or does the sun have to be in alignment with pluto on the second Tuesday of a month that begins with J when its raining with 1 inch hail?

If it is the later... typical news over reacting putting panic in the public that has no reason.
#4.3 +primortal on 02 Jul 2009 - 13:24
Possible some type of buffer overflow to issue commands
#5 Awax on 02 Jul 2009 - 13:30
This sounds like a classic buffer overflow error : you send data that will be written beyond the place allocated to store the SMS data and could overwrite some executing code with the data you sent. When the code resumes its execution, the code executed is not the original code but the one you've just sent.
A buffer overflow can be extremly armful (as far as the iPhone capabilities : it can not kill your dog or trigger a nuclear chain reaction, but erae it or access its whole content - but streaming 8 to 32GB of data takes a long time, even in 3G, at least, it can target your mails and phones numbers). But this is only in theory. Being able to write in unintended places is just the 1st step. You need to do something with this new memory content and you might not really be able to execute the code you've sent.
(2 replies) #6 Julius Caro on 02 Jul 2009 - 13:41
Most phones have vulnerabilities too. Move on ->
#6.1 powerade01 on 02 Jul 2009 - 14:43
Julius Caro said,
Most phones have vulnerabilities too. Move on ->

Not the phone, the OS.
#6.2 DomZ on 02 Jul 2009 - 20:05
Well I imagine that most "phones" have vulnerabilities as well. There's just not normally much point in trying to find them (if you have access to the phone, why would you need to "hack it"?).

There are however examples...jailbreaking! The 3G jailbreak is a hardware exploit (can't be fixed by software upgrades). The 2G jailbreak and unlock are hardware exploits. The 3GS jailbreak is a software exploit but I am sure a hardware exploit will surface eventually.
#7 Klownicle on 02 Jul 2009 - 13:46
Boy, I can't wait till the phones start getting flash lmao...
(1 reply) #8 bigfootabercrombie on 02 Jul 2009 - 13:53
This is from http://www.h-online.com/news/ dated 28 January 2009, 11:44

A directory traversing vulnerability in the Bluetooth OBEX-FTP server of Windows Mobile 6 allows attackers to access files outside of the permitted list. According to the report, using "../" or "..\\" as part of the path name, is sufficient to traverse to other directories. An attacker could use the technique to copy files from a device, or to install their own software, such as a key logger, or other spyware.



The only reason that people are freaking out about the iPhone is because more people have them... just because you dont hear about it doesnt mean that a phone doesnt have vulnerabilities.
#8.1 gigabit on 02 Jul 2009 - 14:00
The difference here is the iPhones flaw is with SMS which means anyone could send you the code, whenever they wanted. But the Windows vulnerability would mean they hacker would need to be within bluetooth range and you'd have to allow them to connect before they can actually do anything bad...
(10 replies) #9 +techbeck on 02 Jul 2009 - 14:04
Haha, spend more get a better product? I think not. There are better things out there that are cheaper...but people seem to go for looks these days and not functionality.
#9.1 roadwarrior on 02 Jul 2009 - 14:35
Actually its more a case of people being attracted to the ease of use and end-to-end integration that no other cell phone has matched yet.
#9.2 C_Guy on 02 Jul 2009 - 15:06
Ok Roadwarrior, whatever you want to believe. Last night I saw an ad for the amazing shiny NEW iPhone, boasting a feature where you could press one button, give a voice command to dial a person or number, and it would do so.

My 6-year old cell phone has that functionality, cost me much less, no monthly royalties to my carrier, and doesn't overheat.

As with all Apple products, iPhone is in the marketplace with better and cheaper alternatives, don't kid yourself.
#9.3 NeoTrunks on 02 Jul 2009 - 15:24
C_Guy said,
Ok Roadwarrior, whatever you want to believe. Last night I saw an ad for the amazing shiny NEW iPhone, boasting a feature where you could press one button, give a voice command to dial a person or number, and it would do so.

My 6-year old cell phone has that functionality, cost me much less, no monthly royalties to my carrier, and doesn't overheat.

As with all Apple products, iPhone is in the marketplace with better and cheaper alternatives, don't kid yourself.


They boast it as a new feature to the iPhone, which is pretty impressive since it only has that one button to work with, aside from the lock button. Say what you will, but there is a reason that many competitors are mimicking the iPhone's design and functionality.
#9.4 +techbeck on 02 Jul 2009 - 15:40
roadwarrior said,
Actually its more a case of people being attracted to the ease of use and end-to-end integration that no other cell phone has matched yet.


I will be getting the G2 android phone when it comes out for my provider. All the apps are FREE for the G1 and G2 and there are THOUSANDS to choose from.
#9.5 roadwarrior on 02 Jul 2009 - 16:02
techbeck said,
I will be getting the G2 android phone when it comes out for my provider. All the apps are FREE for the G1 and G2 and there are THOUSANDS to choose from.


Wrong, not all of the apps for the G1 and G2 are free: http://en.wikipedia.org/wiki/Android_Marke...ed_applications There are tens of thousands of apps (free and paid) for the iPhone as well, your point? http://en.wikipedia.org/wiki/App_Store#Milestones It seems that you and C_Guy don't understand what I mean about ease of use and end-to-end integration though. Perhaps you should look that up.

Last edited by roadwarrior on 02 Jul 2009 - 16:13
#9.6 +techbeck on 02 Jul 2009 - 17:05
roadwarrior said,
Wrong, not all of the apps for the G1 and G2 are free: http://en.wikipedia.org/wiki/Android_Marke...ed_applications There are tens of thousands of apps (free and paid) for the iPhone as well, your point? http://en.wikipedia.org/wiki/App_Store#Milestones It seems that you and C_Guy don't understand what I mean about ease of use and end-to-end integration though. Perhaps you should look that up.


Get off your apple high horse. I never commented on the apple integration so dont assume I dont understand it.

I prefer things that actually work, and work well, as compared to flashy equipment. Say what you will about people more attracted to ease of use...whatever. I know lots of people with the iPhone and the iTouch who couldnt figure it out if their lives depended on it. They are more concerned about looking cool and dont come close to using all the features on the iPhone...not to mention that the iPhone seems to be having a lot of issues.
#9.7 roadwarrior on 02 Jul 2009 - 20:03
techbeck said,
Get off your apple high horse.


I will as soon as you get off your Anti-Apple trip and admit that your comment about apps was incorrect. I simply pointed out that the supposed advantage of the Android phones that you mentioned wasn't even accurate. Why is it so hard for you to believe that people might be attracted to the iPhone for reasons other than the looks?
#9.8 +techbeck on 02 Jul 2009 - 20:11
roadwarrior said,
I will as soon as you get off your Anti-Apple trip and admit that your comment about apps was incorrect. I simply pointed out that the supposed advantage of the Android phones that you mentioned wasn't even accurate. Why is it so hard for you to believe that people might be attracted to the iPhone for reasons other than the looks?


As soon as you stop putting words and comments in to my mouth, I will admit I was wrong...how is that?

It is mostly because of looks. Why would anyone pay twice+ more for something when another product works just as well, cheaper, and has more features.
#9.9 Binary on 02 Jul 2009 - 21:51
techbeck said,
I know lots of people with the iPhone and the iTouch who couldnt figure it out if their lives depended on it. They are more concerned about looking cool and dont come close to using all the features on the iPhone...not to mention that the iPhone seems to be having a lot of issues.


Then those 'lots of people' must be handicapped in some major way. Or completely computer illiterate. Or fictional.

I pick the latter.
#9.10 roadwarrior on 04 Jul 2009 - 16:56
techbeck said,
It is mostly because of looks. Why would anyone pay twice+ more for something when another product works just as well, cheaper, and has more features.


And we are back where we started. The reason people are willing to pay more for the iPhone (even though it really isn't that much more compared to similar phones) because of the ease of use and integration.
(2 replies) #10 Magallanes on 02 Jul 2009 - 14:42
"The SMS vulnerability allows an attacker to run software code on the phone that is sent by SMS..."

You can bet that the vulnerability is related with a overflow. (i.e. send more than the 160 character limit).

But i don't known a service and client that allow to send a overflowed SMS. So while in theory is possible to do it, but in a real world scenario is inviable.

The most curious about it is how Apple himself admit such mistake, may be the "forged sms" is only possible via direct and physic access to the cellphone, or you could say, a way to bypass the security and install unsigned software.
#10.1 GreyWolfSC on 02 Jul 2009 - 15:43
There are SMS terminals that you can use to send messages without a handset. Some of them will allow you to override the limit, but they should be snipped by the carrier.
#10.2 roadwarrior on 02 Jul 2009 - 16:30
Any message over 160 characters would either be rejected by the network, or divided up into multiple messages.
http://en.wikipedia.org/wiki/Concatenated_SMS
#11 morphen on 02 Jul 2009 - 15:12
*insert joke about apple-safety here*
(4 replies) #12 ManOfMystery on 02 Jul 2009 - 16:11
This is why I tell people to get a BlackBerry instead of a $700 toy....I had the 1st gen iPhone and I really hated the control that Apple wants to have over it. Not being able to do what I want on a device I own is just plain unacceptable. The interface is very nice but it is not enough to call it a serious device because it is not. The only reason it became so popular is because of looks. If people like it just for that then I say more power to you, who am I to judge? But people should stop referring to it as the best smartphone because it is not. The battery life is still pretty lousy (although it has been improved). It is not a device that a person could keep for a few years. The battery will need replacement after 1 year and that will mean a lot of money. The iPhone is a device created for people that love to pose and be shic.
#12.1 +StevoFC on 02 Jul 2009 - 16:24
ManOfMystery said,
This is why I tell people to get a BlackBerry instead of a $700 toy...


$700? since when?
#12.2 roadwarrior on 02 Jul 2009 - 16:32
StevoFC said,
$700? since when?


Well, he did say he had a 1st gen iPhone, so maybe that is what he is basing his information on (including information about the limitations of the phone).
#12.3 ManOfMystery on 02 Jul 2009 - 17:01
It's $700 for the iPhone 3GS without a contract. I am not paying $80 monthly for a phone with 500MB of data, those are the rates in Canada and they are similar in the US.
I went to the US AT&T store and got the 1st Gen iPhone for $199 after the price drop (did not pay $700 for it) then I unlocked it and used it on the Rogers Wireless network here in Canada.
#12.4 roadwarrior on 02 Jul 2009 - 20:09
Any other smartphone (BlackBerry, WinMo, etc.) requires roughly the same charges for data. At least on AT&T here in the US they do. My wife has an iPhone, I currently have an older BlackBerry, and previously had several different WinMo phones. All of them require a data plan, and the cheapest one offered is $30 (unlimited data personal plan) on top of your regular service plan. It costs the same for any smartphone.
(2 replies) #13 carmatic on 02 Jul 2009 - 18:43
so is it possible for this exploit to force the phone to send text messages to everyone on the contact list?
#13.1 The Teej on 03 Jul 2009 - 10:29
carmatic said,
so is it possible for this exploit to force the phone to send text messages to everyone on the contact list?


That's a good question. If iPhones can be turned into slaves in a botnet, then surely a worm could be developed which sends texts to everyone in your phone list, which in turn turns iPhones into slaves, and so on and so forth?
#13.2 carmatic on 04 Jul 2009 - 12:44
The Teej said,
That's a good question. If iPhones can be turned into slaves in a botnet, then surely a worm could be developed which sends texts to everyone in your phone list, which in turn turns iPhones into slaves, and so on and so forth?


also does the user need to open the text message for it to work... or could it execute upon completely receiving the text message?
(2 replies) #14 +shinji257 on 02 Jul 2009 - 19:45
Imperfect people can't create perfect product. Software will always have unseen bugs or security holes. Simple as that.
#14.1 ManOfMystery on 02 Jul 2009 - 19:52
Define perfect product... No product is perfect as well as those people that created it.
#14.2 chisss on 03 Jul 2009 - 08:51
ManOfMystery said,
Define perfect product... No product is perfect as well as those people that created it.

That's what shinji said... lol
#15 305 on 02 Jul 2009 - 21:20
Imagine.. $5 jailbreaks via SMS.
#16 SpyderCanopus on 03 Jul 2009 - 05:17
Apple, just like Microsoft takes bribes to introduce exploits such as this for the purposes of the US gestapo.
#17 ChazZeromus on 03 Jul 2009 - 05:48
Hmmmmmmmmmmmm let me guess...you can extend a picture file's header information to induce buffer over-run? Noobs. Yeah I would have done the same thing.
#18 ZeroHour on 03 Jul 2009 - 08:32
Notice how they mention that it can turn gps on etc. I wonder if thats how the "find my mobile" works by sending a special sms to the iphone which activates the various functions. It would be perfectly possible for that to be the case and this Charlie guy discovered the code due to a poor security desision.
I also wonder who else can activate your phone functions remotely... big brother may strike back ;0)
#19 tAALz on 04 Jul 2009 - 14:37
Holy mother, it means even after buying one of the most expensive common mobile set you are still not safe. I was planning to start up iPhone app service on my website Pak-SMS so that the users in Pakistan can get some advantage. But unfortunately, Apple disappointed us.

Commenting has either been disabled on this article or you are not logged in. Click here to login or register, its free!

Note: Anonymous commenting is disabled in order to keep the quality of responses to a high standard.

Advertisement (Why?)