Subscribe / Unsubscribe Enewsletters | Login | Register

Pencil Banner

Update your Belkin WeMo devices before they become botnet zombies

Lucian Constantin | Nov. 7, 2016
Researchers have disclosed a critical vulnerability in Belkin's WeMo Switch and possibly other devices

Owners of WeMo home automation devices should upgrade them to the latest firmware version, which was released this week to fix a critical vulnerability that could allow hackers to fully compromise them.

The vulnerability was discovered by researchers from security firm Invincea in the Belkin WeMo Switch, a smart plug that allows users to remotely turn their electronics on or off by using their smartphones. They confirmed the same flaw in a WeMo-enabled smart slow cooker from Crock-Pot, and they think it's probably present in other WeMo products, too.

WeMo devices like the WeMo Switch can be controlled via a smartphone app that communicates with them over a local Wi-Fi network or over the Internet through a cloud service run by Belkin, the creator of the WeMo home automation platform.

The mobile app, which is available for both iOS and Android, lets users create rules to turn the device on or off based on the time of day or day of the week. These rules are configured on the app and are then pushed to the device over the local network as an SQLite database. The device parses this database using a series of SQL queries and loads them into its configuration.

Invincea researchers Scott Tenaglia and Joe Tanen found an SQL injection flaw in this configuration mechanism that could allow attackers to write an arbitrary file on the device in a location of their choosing. The vulnerability can be exploited by tricking the device into parsing a maliciously crafted SQLite database.

This is trivial to accomplish, because there is no authentication or encryption used for this process, so anyone on the same network can send a malicious SQLite file to the device. The attack could be launched from another compromised device like a malware-infected computer or a hacked router.

Tenaglia and Tanen exploited the flaw to create a second SQLite database on the device that would be interpreted as a shell script by the command interpreter. They then placed the file in a specific location from where it would be automatically executed by the device's network subsystem at restart. Remotely forcing the device to restart its network connection is easy and only requires sending an unauthenticated command to it.

The two researchers presented their attack technique at the Black Hat Europe security conference on Friday. During the demonstration, their rogue shell script opened a Telnet service on the device that would allow anyone to connect as root with no password.

However, instead of Telnet, the script could just as easily have downloaded malware like Mirai, which recently infected thousands of internet-of-things devices and used them to launch distributed denial-of-service attacks.

 

1  2  Next Page 

Sign up for CIO Asia eNewsletters.