Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Vulnerabilities / Threats

4/16/2015
05:30 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
100%
0%

Popular Home Automation System Backdoored Via Unpatched Flaw

Malicious firmware update could lead to device, full home network 0wnage, researcher will show next week at the RSA Conference.

[UPDATED 4/17/15 at 9:00am with comments from Vera]

Billy Rios plans to demonstrate with a game of Pac-Man an attack on a long-known vulnerability in a popular home automation controller.

The security researcher, next week at the RSA Conference in San Francisco, will show an exploit he created that replaces the device's firmware with malicious code that means game over for the device -- literally, in this case, with a Pac-Man application.

The exploit demonstrates how an attacker could abuse a cross-site request forgery (CSRF) flaw first reported in 2013 by TrustWave SpiderLabs, CVE-2013-4861, in the Vera Smart Home Controller and completely own the smart home device, as well as infiltrate the home network and attached computers.

Rios, founder of Laconicly LLC, says the bug would allow an attacker to update his own firmware to the device. The attack begins when a user on the home network visits a website infected with a malvertising exploit, for example, which then redirects the Vera device to the attacker's server, silently installing the malicious code. It turns off the legitimate firmware update mechanisms for the home automation controller, with the consumer being none the wiser.

The home automation controller is a hub of sorts for home automation functions, such as controlling lights, HVAC systems, and garage-door openers.

"Firmware is the brains of the device. What we can do is remotely point it [the device] to an update from us" representing the attacker, says Rios, who tested the product in its default settings mode. "Once they're compromised, there's no way to tell they've been compromised … It's pretty much 'game over' for the device."

When TrustWave reported this and other vulnerabilities to Vera some 18 months ago, the company responded that it had no plans to fix the issue, which was "deliberate" in its design:  "...the 'vulnerabilities' you referred to were deliberate design decisions because that's what the customers in this particular channel (ie Vera retail) want. As you can see, we have an open forum to discuss this, and very people object to leaving Vera open. So we are not able to lock down the gateway, and effectively break the systems of many customers who rely on the open system to run their own scripts and plugins."

Vera's response echoes a similar theme with other Internet of Things (IoT) vendors whose products have been exposed carrying security bugs. Cesar Cerrudo, CTO at IOActive, ran into the same response last year when he reported firmware update flaws in Sensys Networks wireless smart traffic system sensors. In that case, the issue was unencrypted updates that could be hijacked with malware:  Sensys maintained that it had removed encryption because its customers had requested it.

Vera, which is based in Hong Kong, says a new feature in the newer version of the firmware called "secure to click" would mitigate such an attack. 

Rios' research was on the newest version of the software, which contains the CSRF flaw, he says. He says he tested it with the default settings in place because that's how most customers would typically run it out of the box.

Meanwhile, Rios says his firmware backdoor exploit demonstrates just how "punishing" the CSRF vulnerability in Vera's firmware update process really is. Plus the device itself doesn't validate firmware, leaving it vulnerable to malicious code. "Firmware integrity isn't validated anywhere," he says.

The Pac-Man application is mainly a lighthearted way for Rios to demonstrate that the Vera firmware has been replaced. "And I'm going to play one round of Pac-Man for the crowd," he says.

Once in control of the home automation controller, an attacker basically becomes an access point on the home network. "Having a foothold into the home network is pretty bad. They can attack you and other devices on the network," Rios says.

An attacker would need some knowledge of the device, Rios notes, such that his rogue firmware wouldn't merely break the device rather than backdoor it.

Other home automation controllers harbor similar weaknesses, Rios says, and he's demonstrating Vera's because it's a publicly reported bug.

"I think one of the things we're seeing is many of these vendors in IoT don't really understand the classes of attacks we're dealing with," he says. "They have to fix these bugs; they are pretty trivial to exploit."

Adding firmware- and application code verification would prevent this type of an attack, akin to how Apple only allows signed apps or firmware to download and run on an iPhone, he says. "It's not magic."

Rios also has built a Metasploit module for the attack. "All it does is push the backdoor firmware update. It allows us to specify the server where your firmware updates come from," he says. 

Kelly Jackson Higgins is the Executive Editor of Dark Reading. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Threaded  |  Newest First  |  Oldest First
Whoopty
50%
50%
Whoopty,
User Rank: Ninja
4/17/2015 | 7:16:25 AM
Concerned
This is something I'm a bit worried about with the continuing trend to connect everything together. As cars and homes become smarter, it looks like it will become easier for nefarious individuals to control them remotely. Systems that allow it need to be very localised, otherwise we could have tricksters messing with our heating controls! 

Pranks of the future may be a little different than the toiler papering people got up to in yesteryear. 
SgS125
50%
50%
SgS125,
User Rank: Ninja
4/17/2015 | 9:44:34 AM
RSA conference is really going downhill fast
I'm pretty sure I would not travel to San Fran, Pay out the nose for hotels and food, be trapped by a couple hundred vendors scanning your badge, and gee I get to see a poorly developed home control system compromised in a simple and non-unique way.

 

Save your money for real training!
Data Leak Week: Billions of Sensitive Files Exposed Online
Kelly Jackson Higgins, Executive Editor at Dark Reading,  12/10/2019
Intel Issues Fix for 'Plundervolt' SGX Flaw
Kelly Jackson Higgins, Executive Editor at Dark Reading,  12/11/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
The Year in Security: 2019
This Tech Digest provides a wrap up and overview of the year's top cybersecurity news stories. It was a year of new twists on old threats, with fears of another WannaCry-type worm and of a possible botnet army of Wi-Fi routers. But 2019 also underscored the risk of firmware and trusted security tools harboring dangerous holes that cybercriminals and nation-state hackers could readily abuse. Read more.
Flash Poll
Rethinking Enterprise Data Defense
Rethinking Enterprise Data Defense
Frustrated with recurring intrusions and breaches, cybersecurity professionals are questioning some of the industrys conventional wisdom. Heres a look at what theyre thinking about.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-5252
PUBLISHED: 2019-12-14
There is an improper authentication vulnerability in Huawei smartphones (Y9, Honor 8X, Honor 9 Lite, Honor 9i, Y6 Pro). The applock does not perform a sufficient authentication in a rare condition. Successful exploit could allow the attacker to use the application locked by applock in an instant.
CVE-2019-5235
PUBLISHED: 2019-12-14
Some Huawei smart phones have a null pointer dereference vulnerability. An attacker crafts specific packets and sends to the affected product to exploit this vulnerability. Successful exploitation may cause the affected phone to be abnormal.
CVE-2019-5264
PUBLISHED: 2019-12-13
There is an information disclosure vulnerability in certain Huawei smartphones (Mate 10;Mate 10 Pro;Honor V10;Changxiang 7S;P-smart;Changxiang 8 Plus;Y9 2018;Honor 9 Lite;Honor 9i;Mate 9). The software does not properly handle certain information of applications locked by applock in a rare condition...
CVE-2019-5277
PUBLISHED: 2019-12-13
Huawei CloudUSM-EUA V600R006C10;V600R019C00 have an information leak vulnerability. Due to improper configuration, the attacker may cause information leak by successful exploitation.
CVE-2019-5254
PUBLISHED: 2019-12-13
Certain Huawei products (AP2000;IPS Module;NGFW Module;NIP6300;NIP6600;NIP6800;S5700;SVN5600;SVN5800;SVN5800-C;SeMG9811;Secospace AntiDDoS8000;Secospace USG6300;Secospace USG6500;Secospace USG6600;USG6000V;eSpace U1981) have an out-of-bounds read vulnerability. An attacker who logs in to the board m...