Flaw in Realtek SDK for wireless chipsets exposes routers to hacking

Unauthenticated attackers can exploit the vulnerability to execute arbitrary code on affected devices, researchers said

The software that controls wireless networking chipsets made by Realtek Semiconductor contains a critical vulnerability that could allow attackers to compromise home routers.

The flaw exists in a firmware component called miniigd that's present in router models based on Realtek chipsets. The component is part of the software development kit (SDK) for RTL81xxx chipsets that Realtek provides to router manufacturers.

The vulnerability was discovered by Ricky Lawshae, a researcher with Hewlett-Packard's TippingPoint Digital Vaccine Labs (DVLabs) which runs the well-known Zero-Day Initiative (ZDI) bug bounty program.

"An attacker could leverage this vulnerability to execute code with root privileges," the ZDI team said in an advisory published Friday. Exploitation does not require authentication, it said.

The team claims that it tried to privately report the issue to Realtek on four different occasions since August 2014, but the company failed to respond so a decision was made to disclose the issue publicly.

It's hard to estimate how many devices are potentially affected. Lawshae said on Twitter that some routers made by TRENDnet and D-Link were confirmed to be vulnerable, but devices from other manufacturers are also likely to be affected.

A search on WikiDevi, an online database of computer hardware, revealed over 350 wireless networking devices with RTL81xxx chipsets. However, the version of the Realtek SDK used in those devices also comes into play and that's harder to determine.

The vulnerability exists in version 1.3 of the SDK, but older versions might also be affected, according to Lawshae.

One way to exploit the vulnerability is through the Universal Plug and Play (UPnP) service, which on some devices is accessible via the Internet in addition to the local area network. A search with SHODAN revealed around 480,000 routers that respond to UPnP requests over the Internet and include "Realtek/V1.3" in their response. Another 350,000 devices indicate older Realtek SDK versions.

It's worth noting that even if a device does not expose the UPnP service to the Internet, it is still vulnerable to attacks over the local network if it uses the vulnerable miniigd component. In addition, other services running on the router might also use miniigd, opening additional attack vectors.

Realtek did not immediately respond to a request for comment. However, even if the company is aware of the issue and provided SDK patches to manufacturers, it's likely that many affected devices will never be fixed because they're old and no longer supported.

In the absence of patches, users have few options to protect their devices. Possible mitigations include disabling UPnP and restricting which computers can communicate with the other services on a vulnerable device, including it's Web-based administration interface.

"This could be accomplished in a number of ways, most notably with firewall rules/whitelisting," the ZDI team said in their advisory. "These features are available in the native Windows Firewall."

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection

Tags intrusionsecurityExploits / vulnerabilitiesRealtek SemiconductorHewlett-Packard

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Lucian Constantin

IDG News Service
Show Comments

Cool Tech

Breitling Superocean Heritage Chronographe 44

Learn more >

SanDisk MicroSDXC™ for Nintendo® Switch™

Learn more >

Toys for Boys

Family Friendly

Panasonic 4K UHD Blu-Ray Player and Full HD Recorder with Netflix - UBT1GL-K

Learn more >

Stocking Stuffer

Razer DeathAdder Expert Ergonomic Gaming Mouse

Learn more >

Christmas Gift Guide

Click for more ›

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Walid Mikhael

Brother QL-820NWB Professional Label Printer

It’s easy to set up, it’s compact and quiet when printing and to top if off, the print quality is excellent. This is hands down the best printer I’ve used for printing labels.

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?