FREE zero-day for every reader: AT&T's DirecTV kit has a root hole – and no one wants to patch it

echo "Bot herders will love"; cat /etc/passwd #

chips
Rip the chips and find the security slips

AT&T's DirecTV wireless kit has an embarrassing vulnerability in its firmware that can be trivially exploited by miscreants and malware to install hidden backdoors on the home network equipment, according to a security researcher.

Ricky Lawshae – a DEF CON veteran and infosec guru at Trend Micro's Digital Vaccine Labs – was an AT&T U-Verse subscriber who shifted over to DirecTV, and decided to take a closer look at the service's hardware. The setup included a Linksys WVBR0-25 wireless video bridge: this pipes video, audio and a user interface from your Directv Genie DVR over the air to up to eight Genie client boxes that are plugged into your TVs around the home. The bridge sets up a private wireless network, and basically acts as a transparent coax cable to your television sets from the central Genie server.

Lawshae homed in on the Linux-powered wireless bridge, and found it was running a web server. Incredibly, rather than hit a login form or similar, he found the builtin web server would cough up internal diagnostic information.

"I had a bad experience with a wireless video bridge like this in the past, so it seemed like a good place to start looking for problems," he said on Wednesday. "I started out by trying to browse to the web server on the device. I expected to find a login page of some sort. What I found instead was a wall of text streaming before my eyes."

What he saw was the Linksys kit running various setup scripts and log outputs; one of the scripts was building an MD5 hash out of his web browser's network IP address and user-agent string. By changing the browser's user-agent details – which is trivial – he was able to inject extra commands, which were run as the root user. There was no input sanitization: changing the user-agent to...

; id; uname -a #

...and refreshing the page would interrupt the hash-generation code and instead run the injected commands – spitting out the user ID of the running script (root) and the Linux kernel version (Linux 2.6.30 running on a DesignWare ARC processor).

Here's a video demonstrating how he got a root shell on the box in less than 30 seconds by exploiting this command injection vulnerability, granting him full remote unauthenticated administrator control over the device:

Youtube video

He bought one of the boxes on eBay, ripped them apart, and extracted the MXIC MX25L12845E 128Mb serial flash chip that held the firmware. In the code he confirmed the device was running a Lighttpd web server with no input sanitization in its custom scripts.

So someone with access to the home network, say via an infected PC, would be able to leverage this vulnerability to install malware, spyware or a backdoor in the Linksys kit that would be virtually undetectable. The flaw would allow the device to be press-ganged into joining a botnet.

"There’s the non-zero possibility of someone else finding this vulnerability and incorporating it into exploit kits or malware," he explained. "In the absence of an actual patch from the vendor, users should protect themselves by limiting the devices that can interact with the WVBR0-25 to those that actually need to reach it."

Now you'd think this wouldn’t be an issue for long. AT&T's a big company, as is Linksys, and they have a vested interest in protecting their customers and making sure that their kit isn't subverted. Not so it seems.

"We reported this to them 181 days ago and gave them a couple of extensions," Dustin Childs, director of communications for the Zero Day Initiative, told The Register.

"However, after a while we heard nothing back so decided to go public. We want disclosure to drive action and the flaw can easily be exploited for a botnet covering a not-insignificant number of devices – it has the potential to be very nasty."

So, that's your free unpatched zero-day for Christmas. While we're waiting for Linksys and AT&T to remove their thumbs from their orifices, folks should keep an eye on their network connections for dodgy activity. We'll update you if there's any word of a patch. ®

Sponsored: Learn how to transform your data into a strategic asset for your business by using the cloud to accelerate innovation with NetApp


Biting the hand that feeds IT © 1998–2018