Vulnerabilities / Threats
11/30/2012
09:15 AM
Connect Directly
RSS
E-Mail
50%
50%

iPhone, iPad Email Attack Could Compromise Routers

Legitimate-looking email messages opened on iPhone, iPad or OS X systems can be used by hackers to gain control of routers, reports security researcher.

Routers from at least three different manufacturers are vulnerable to being compromised by an email sent to any Apple devices using the network.

Security researcher Bogdan Calin identified the cross-site request forgery (CSRF) vulnerability after noticing that by default, all Apple devices are set to load remote images -- meaning images that haven't been sent with the email. "A malicious user can send you an email with an embedded 1x1 pixel image with the background color of your email client, so it is not visible," he said in a blog post. "The email client will load this image from a remote server."

Instead of setting the image to load from a remote server, however, an attacker could instead make the email perform an HTTP GET request that points to the URL for the router's administrative interface. Because numerous routers ship with default usernames and passwords, and many users fail to change those settings, the email could also authenticate to the administrative interface and alter the router's configuration, for example to change its DNS settings.

Thanks to the exploit, an attacker could change the router's DNS settings to point to an attacker-controlled server, enabling them to run a clickjacking scam -- redirecting users' search requests to sites of the attackers' own choosing -- as well as to eavesdrop on all Internet traffic flowing to or from the router.

[ Alleged Stratfor hacker's sentence may be more severe than a murderer's. Should LulzSec Suspect Face Life In Prison? ]

"To increase the chances of this attack succeeding, I can send multiple images in the email; one with the default username and password for the router and others with most common passwords," said Calin, who's a Web application security researcher at Acunetix. Using iFrames, the attack commands can also be executed in the correct order, for example first authenticating to the router, and then changing settings.

Calin said he's demonstrated the attack against two types of Asus routers (RT-N16 and RT-N56U), as well as the Arcor EasyBox A600 and routers from TP-Link. But many more types of routers are likely vulnerable. "Any router that accepts configuration changes from GET parameters and doesn't protect against CSRF should be vulnerable to this simple attack," he said. "I can also confirm that this attack works on iPhone, iPad and Mac's default mail client," but the attack could likely be extended to other operating systems and email clients.

This type of attack could also be adapted to target Gmail users. Although Gmail doesn't load remote images by default -- users must click a button to do so -- if remote images from a sender are downloaded once, Gmail will automatically download them from the same sender in the future. "So using such attack against a Gmail user is also very simple: send a plain text email that will intrigue the victim to reply and once he or she replies, send an email with a tracking image," Calin said.

Thankfully, the fix for this vulnerability is simple: Don't use default usernames on routers, and always set a strong, unique password on every router to make it less susceptible to brute-force password attacks.

Another option is to disable the automatic loading of remote images. For an iPhone or iPad, doing this requires navigating to the "Settings" menu, then selecting "Mail, Contacts, Calendars," and locating "Load Remote Images" in the mail settings. "You need to disable this option to protect yourself against this attack," said Calin. "However by disabling this option, if somebody sends you an email with an embedded image you will not be able to see it."

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
Partner Perspectives
What's This?
In a digital world inundated with advanced security threats, Intel Security seeks to transform how we live and work to keep our information secure. Through hardware and software development, Intel Security delivers robust solutions that integrate security into every layer of every digital device. In combining the security expertise of McAfee with the innovation, performance, and trust of Intel, this vision becomes a reality.

As we rely on technology to enhance our everyday and business life, we must too consider the security of the intellectual property and confidential data that is housed on these devices. As we increase the number of devices we use, we increase the number of gateways and opportunity for security threats. Intel Security takes the “security connected” approach to ensure that every device is secure, and that all security solutions are seamlessly integrated.
Featured Writers
White Papers
Cartoon
Current Issue
Dark Reading's October Tech Digest
Fast data analysis can stymie attacks and strengthen enterprise security. Does your team have the data smarts?
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-7298
Published: 2014-10-24
adsetgroups in Centrify Server Suite 2008 through 2014.1 and Centrify DirectControl 3.x through 4.2.0 on Linux and UNIX allows local users to read arbitrary files with root privileges by leveraging improperly protected setuid functionality.

CVE-2014-8346
Published: 2014-10-24
The Remote Controls feature on Samsung mobile devices does not validate the source of lock-code data received over a network, which makes it easier for remote attackers to cause a denial of service (screen locking with an arbitrary code) by triggering unexpected Find My Mobile network traffic.

CVE-2014-0619
Published: 2014-10-23
Untrusted search path vulnerability in Hamster Free ZIP Archiver 2.0.1.7 allows local users to execute arbitrary code and conduct DLL hijacking attacks via a Trojan horse dwmapi.dll that is located in the current working directory.

CVE-2014-2230
Published: 2014-10-23
Open redirect vulnerability in the header function in adclick.php in OpenX 2.8.10 and earlier allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via a URL in the (1) dest parameter to adclick.php or (2) _maxdest parameter to ck.php.

CVE-2014-7281
Published: 2014-10-23
Cross-site request forgery (CSRF) vulnerability in Shenzhen Tenda Technology Tenda A32 Router with firmware 5.07.53_CN allows remote attackers to hijack the authentication of administrators for requests that reboot the device via a request to goform/SysToolReboot.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Follow Dark Reading editors into the field as they talk with noted experts from the security world.