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 CSO newsletter!

Error: Please check your email address.

Tags intrusionsecurityExploits / vulnerabilitiesRealtek SemiconductorHewlett-Packard

More about ASCPossibleTippingPointTRENDnet

Show Comments

Featured Whitepapers

Editor's Recommendations

Solution Centres

Stories by Lucian Constantin

Latest Videos

  • 150x50

    CSO Webinar: The Human Factor - Your people are your biggest security weakness

    ​Speakers: David Lacey, Researcher and former CISO Royal Mail David Turner - Global Risk Management Expert Mark Guntrip - Group Manager, Email Protection, Proofpoint

    Play Video

  • 150x50

    CSO Webinar: Current ransomware defences are failing – but machine learning can drive a more proactive solution

    Speakers • Ty Miller, Director, Threat Intelligence • Mark Gregory, Leader, Network Engineering Research Group, RMIT • Jeff Lanza, Retired FBI Agent (USA) • Andy Solterbeck, VP Asia Pacific, Cylance • David Braue, CSO MC/Moderator What to expect: ​Hear from industry experts on the local and global ransomware threat landscape. Explore a new approach to dealing with ransomware using machine-learning techniques and by thinking about the problem in a fundamentally different way. Apply techniques for gathering insight into ransomware behaviour and find out what elements must go into a truly effective ransomware defence. Get a first-hand look at how ransomware actually works in practice, and how machine-learning techniques can pick up on its activities long before your employees do.

    Play Video

  • 150x50

    CSO Webinar: Get real about metadata to avoid a false sense of security

    Speakers: • Anthony Caruana – CSO MC and moderator • Ian Farquhar, Worldwide Virtual Security Team Lead, Gigamon • John Lindsay, Former CTO, iiNet • Skeeve Stevens, Futurist, Future Sumo • David Vaile - Vice chair of APF, Co-Convenor of the Cyberspace Law And Policy Community, UNSW Law Faculty This webinar covers: - A 101 on metadata - what it is and how to use it - Insight into a typical attack, what happens and what we would find when looking into the metadata - How to collect metadata, use this to detect attacks and get greater insight into how you can use this to protect your organisation - Learn how much raw data and metadata to retain and how long for - Get a reality check on how you're using your metadata and if this is enough to secure your organisation

    Play Video

  • 150x50

    CSO Webinar: How banking trojans work and how you can stop them

    CSO Webinar: How banking trojans work and how you can stop them Featuring: • John Baird, Director of Global Technology Production, Deutsche Bank • Samantha Macleod, GM Cyber Security, ME Bank • Sherrod DeGrippo, Director of Emerging Threats, Proofpoint (USA)

    Play Video

  • 150x50

    IDG Live Webinar:The right collaboration strategy will help your business take flight

    Speakers - Mike Harris, Engineering Services Manager, Jetstar - Christopher Johnson, IT Director APAC, 20th Century Fox - Brent Maxwell, Director of Information Systems, THE ICONIC - IDG MC/Moderator Anthony Caruana

    Play Video

More videos

Blog Posts

Market Place