USB Kernel Bug Exposes Routers to RCE

  • By David Lukic
  • Published: Jan 12, 2022
  • Last Updated: Mar 18, 2022

 Millions of popular routers have been exposed to RCE in recent weeks.  RCE is an acronym that stands for remote code execution.  Let’s take a closer look at how the exposure occurred. 

 
Why are the Routers Exposed?

 
Some of the world’s top-selling end-user routers have the potential to be compromised by RCE resulting from a high-severity flaw within the KCodes NetUSB kernel module.  The module empowers remote devices to link up with the routers through IP and tap into all connected USB devices. Examples of such USB devices include flash drives, speakers, printers, and webcams.  
 

The exposure is accomplished with the use of a Linux kernel driver capable of launching a server along with a proprietary NetUSB protocol.  The two work in unison to access the USB devices through the network.  From the perspective of remote users, this arrangement makes it seem as though the devices that function with USBs are directly connected to local systems.
Why is the Exposure a Problem?
 
Max Van Amerongen, a digital security expert with SentinelOne, insists the exposure sets the stage for attackers to exploit the vulnerability from afar to execute the code within the kernel through a pre-authentication butter overflow security weakness.  This strategy allows for the takeover of the device.  
NetUSB is licensed to a litany of the best-selling routers ranging from Western Digital to Netgear, Tenda, TP-link, EDiMAX, and DLink.  However, it must be noted SentinelOne has not yet found evidence that the security flaw has been exploited.
 

How was the Exposure Discovered? 
 

Van Amerongen discovered the bug when examining a hack performed by the Pwn2Own hacking group.  Amerongen was analyzing the Netgear router with the R6700v3 model at the time.  The device was used in the 2019 Pwn2Own conference and also listed as a target in 2021.  
 

Van Amerongen noticed the NetUSB kernel module when studying paths moving through binaries.  It was at this point that the digital security specialist discovered something suspicious.  The module listened in on TCP port 20005 through IP 0.0.0.0.  In plain terms, this means hackers were listening through the LAN and WAN when a firewall wasn’t in place to prevent such oversight. 
 

Is This the First NetUSB Vulnerability? 
 

This is not the first-ever problematic NetUSB vulnerability.  Another similar vulnerability was identified in 2015 in the form of Net USB KCodes kernel stack buffer overflow.  The discovery spurred a helpful exploit that helped to rapidly verify the latest security vulnerability.
 

How Will the Exposure be Remedied?
 

The vulnerability is particularly tricky as it is a third-party component licensed to several router vendors.  The best approach to remedying the vulnerability is the implementation of firmware updates through each individual vendor.  However, there is no guarantee that such a firmware update will be available in a timely manner.   
 

SentinelLabs started the disclosure process in September.  The company transmitted a patch to vendors in October.  Each of the vendors affected by the bug is aware of the problem.  The vendors are in the process of implementing a fix.  However, SentinelOne points out updates might not be available for routers considered end-of-life.  Van Amerongen insists all router owners implement the latest firmware update as soon as possible.
 
 

About the Author
IDStrong Logo

Related Articles

Instagram Vulnerability Allowed Hackers Access to Control Your Phone

Security experts Check Point Research discovered a critical vulnerability while examining Instagra ... Read More

Alien Malware Infects More than 226 Mobile Apps and Steals Bank Data

As reported on September 24, 2020, by ZDNet and ThreatPost, a new strain of malware named “A ... Read More

Universal Health Systems Hit by Ransomware Attack

Universal Health Systems (UHS), a Fortune 500 company owning more than 400 hospitals across the co ... Read More

Exchange Server Bug Exposes a Big Risk to Hackers

Months after Microsoft released a patch to fix a serious flaw in MS Exchange Server, more than 61% ... Read More

Clients’ Bank Data Exposed in Blackbaud Ransomware Attack

Blackbaud software was victim to a ransomware attack last May, and new information suggests that c ... Read More

Latest Articles

Cybersecurity Threats: What You Need to Know About Piggybacking

Cybersecurity Threats: What You Need to Know About Piggybacking

In cybersecurity, piggybacking refers to an unauthorized person gaining access to a restricted area or system by exploiting the access privileges of an authorized user, typically by following them or leveraging their credentials, usually without their knowledge or consent.

What You Need to Know about the Coast Guard Data Breach

What You Need to Know about the Coast Guard Data Breach

The Coast Guard is the only branch of the United States military in the Department of Homeland Security. It enforces federal law, controls the nation's borders and maritime Approaches, and protects the United States ports and waterways.

Mars Hydro Security Flaw Puts IoT Users at Risk

Mars Hydro Security Flaw Puts IoT Users at Risk

Mars Hydro is a leading Chinese brand producing a wide range of Internet of Things (IoT) devices for indoor gardening and the hydroponics industry.

What You Need to Know about the Community Health Center Data Breach

What You Need to Know about the Community Health Center Data Breach

Community Health Center (CHC) is a non-profit founded in 1972 and headquartered in Middletown, Connecticut. It offers a broad range of services, including dentistry, primary care, urgent care, specialty medical services, and behavioral health.

What You Need to Know about the DeepSeek Data Breach

What You Need to Know about the DeepSeek Data Breach

DeepSeek, founded by Liang Wenfeng, is an AI development firm located in Hangzhou, China. The company focuses on developing open source Large Language Models (LLMs) and specializes in data analytics and machine learning.

What is vendor fraud and how to protect your business from vendor fraud

What is vendor fraud and how to protect your business from vendor fraud

Vendor fraud is a type of financial abuse that occurs when fraudsters pose as legitimate businesses to trick companies and individuals into paying for services they'll never receive.

Featured Articles

How to Buy a House with Bad Credit

How to Buy a House with Bad Credit

Buying your own home is the American Dream, but it might seem out of reach to those with bad credit. However, the good news is, if your credit is less than perfect, you do still have options and in most cases, can still buy a home.

How Secure Is Your Password? Tips to Improve Your Password Security

How Secure Is Your Password? Tips to Improve Your Password Security

Any good IT article on computers and network security will address the importance of strong, secure passwords. However, the challenge of good passwords is that most people have a hard time remembering them, so they use simple or obvious ones that pose a security risk.

Top 10 Senior Scams and How to Prevent Them

Top 10 Senior Scams and How to Prevent Them

Senior scams are becoming a major epidemic for two reasons. First, seniors often have a lot of money in the bank from a life of working hard and saving.

Notice

By proceeding with this scan, you agree to let IDStrong run a Free Scan of supplied parameters of your personal information and provide free preliminary findings in compliance with our Terms of Use and Privacy Notice. You consent to us using your provided information to complete the Free Scan and compare it against our records and breach databases or sources to provide your Free preliminary findings report.

Rest assured: IDStrong will not share your information with third parties or store your information beyond what is required to perform your scan and share your results.

Free Identity Threat Scan
Instantly Check if Your Personal Information is Exposed
All fields below are required
Please enter first name
Please enter last name
Please enter a city
Please select a state
Please enter an age
Please enter an email address
Close