Sign in with
Sign up | Sign in

Apple iOS Apps Can Easily Be Hijacked, Researchers Say

By - Source: Tom's Guide US | B 10 comments


Many apps on iPhones and iPads are vulnerable to Web-based attacks that could feed false information to the user, Israeli security researchers planned to demonstrate today (Oct. 29).

In a presentation at the RSA Conference Europe in Amsterdam, Adi Sharabani and Yair Amit of Tel Aviv-based Skycure were to show that apps gathering content from the Internet over a malicious or compromised Wi-Fi network could have their traffic redirected to malicious servers.

That's sort of a tautological statement — bad connections can lead to bad results — but the Skycure researchers found that they could make app content requests permanently redirect to malicious servers by using an HTTP "301" command.

MORE: How to Keep Your Smartphone or Tablet Secure

That's a simple response by a Web server instructing the requesting client — in this case, the iOS app — that a server's URL has been permanently moved, and to send all future traffic to the new URL instead.

Of course, the real server's URL hasn't changed at all. The 301 command is abused to make the requesting app merely think it has.

In a computer's Web browser, this is not such a big deal. If the user glanced at the address bar, he'd see he was someplace he didn't want to be. But mobile apps that make calls to Web servers don't display their Web traffic to the user.

The Skycure researchers pointed out that news and stock-market apps constantly make calls to remote Web servers for updated information, and that it would be simple to point those calls elsewhere.

"If a victim's app is successfully attacked, she is no longer reading the news from a genuine news provider, but instead phony news supplied by the attacker's server," Amit wrote in a posting on Skycure's blog.

Here's how this exploit, which the Skycure reseachers call "HTTP request hijacking," would work: An iPhone user walks into a Starbucks and connects to the open Wi-Fi network to read the latest news on an iOS news app.

A malicious hacker on the same Wi-Fi network intercepts the Wi-Fi traffic from that app and redirects it to a server he controls.

That malicious server mimics the app's real content server, but adds a 301 command instructing the app that the real content server has permanently moved its URL to that of the malicious server, and that all future requests for content should go straight to that new URL.

HTTP Requet Hijacking

"This brings us to a philosophical question," wrote Amit on the Skycure blog. "When someone gets up in the morning and reads news via her iPhone, how sure can she be that the reports she reads are genuine and not fake ones planted by a hacker?"

The Skycure researchers tested several iOS apps and found about half to be vulnerable to HTTP request hijacking. They're not revealing which apps those are.

In their blog posting and presentation slides, the researchers didn't say whether the problem affects apps on other mobile platforms, such as Android, Windows Phone or Windows RT. But because the exploit relies on internal app coding and HTTP, it's likely that apps on other platforms could also be affected.

The Skycure researchers recommended that all app makers make sure their content requests are sent over secure, or HTTPS, connections rather than insecure, regular HTTP. 

That wouldn't quite solve the problem, which would have to be permanently fixed with some code changes, but it would mitigate it.

Users of iOS devices — and of Android and other mobile platforms as well — concerned about such attacks should equip their devices with VPN software that will create secure connections even over insecure Wi-Fi networks.

Follow Paul Wagenseil at @snd_wagenseil. Follow Tom's Guide at @tomsguide, on Facebook and on Google+.

Discuss
Display all 10 comments.
This thread is closed for comments
  • 3 Hide
    back_by_demand , October 30, 2013 4:47 AM
    SHOCK!!!


    (not really)
  • 1 Hide
    house70 , October 30, 2013 5:26 AM
    I hope this will shut up all the noobs claiming that "Apple is taking care of them, so they don't have to".
    It all comes down to user's common sense, in this case, do not connect to wonky networks, just like in Android's case the lesson was 'do not modify the default security settings if you don't know what they mean'.
    iOS is NOT more secure than Android, and this proves it (yet again). Sleep on it.
  • -5 Hide
    facebook30 , October 30, 2013 5:28 AM
    Now nothing to fret concerning about earnings.Our company wants home users for their monetary reporting’s.You have to figure on your laptop only for few hours daily.The maximum amount you probably did , additional you earn. I actually have been already created $6012 this month from the location. For additional data visit homepage................. www.JOBS83.com
  • -1 Hide
    jarred125 , October 30, 2013 5:45 AM
    The problem you miss house70, is that even leaving the default settings in place you can still easily load garbage onto your Android device from the Play Store. My wife ended up getting bombarded with countless apps delivering spam directly to the phone (in the status bar as well as other places). No settings were changed. She is a regular user, they do not check the permissions over and over again with each app install.

    Neither systems are safe from having problems, but the problem posed by these researchers requires such an elaborate setup that most will never encounter it. Compare that to an app you can install from the Play Store that delivers crap all the time, some of which will prompt you to install other apps, that's a bigger problem.
  • 1 Hide
    house70 , October 30, 2013 7:09 AM
    @ jarred125 just Google 'AppStore malware', you'll have fun reading through it...

    Point being, every user has to be aware of what they choose to install on their devices, regardless of OS. I don't see one problem being bigger than the other, unless you choose to ignore some aspects. AFAIK, iOS does not disclose all the permissions apps need, whereas Android does, and there are even apps that allow individual permissions to be set.
    Ignorance is hardly an excuse (I didn't know that app was malicious, officer) nowadays, when everyone and their mother has heard of malware for various computing systems.
  • -1 Hide
    back_by_demand , October 30, 2013 8:26 AM
    There is no such thing as a secure system, only secure operation. Regardless of how secure you think your device is, people are stupid.
  • 0 Hide
    digiex , October 30, 2013 10:10 AM
    I hope majority of security flaws are catch first by the good guys.
  • 0 Hide
    Vigilence , October 30, 2013 10:48 AM
    Working as intended.
  • 0 Hide
    robochump , October 30, 2013 11:19 AM
    One reason I NEVER use random WIFI hot spots! Hope the rest of you dont either.
  • 0 Hide
    verage , October 30, 2013 1:11 PM
    my co-worker's step-aunt makes $70/hr on the internet. She has been fired from work for 6 months but last month her income was $21412 just working on the internet for a few hours. . .......:> w­w­w.j­o­b­s­6­0.c­o­m
Tom’s guide in the world
  • Germany
  • France
  • Italy
  • Ireland
  • UK
Follow Tom’s guide
Subscribe to our newsletter