Skip to content
Info disclosure Advisory Advanced CVE-2019-5017

KCodes NetUSB unauthenticated remote kernel information disclosure vulnerability

An unauthenticated remote attacker can send a crafted packet to the NetUSB.ko kernel module, which returns several memory addresses. One of these addresses can be used to calculate the module's base address, aiding further exploitation.

Dave McDaniel Follow

Originally disclosed on Cisco Talos

Medium 5.8 View original

An exploitable information disclosure vulnerability exists in the KCodes NetUSB.ko kernel module that enables the ReadySHARE Printer functionality of at least two NETGEAR Nighthawk Routers and potentially several other vendors/products. An unauthenticated, remote attacker can craft and send a packet containing an…

Dave McDaniel, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the kernel module returns internal memory addresses in response to a specific opcode without proper access control or address randomisation.

Impact

An unauthenticated remote attacker could obtain memory addresses that help bypass address randomisation, but the vulnerability only discloses information and does not directly allow code execution.

What the attacker needed

Network access to the router; router with NetUSB.ko module

The fix

The vendor provided a new module to NETGEAR, but the text does not state that the vulnerability was fixed.

How it was found

  1. Send a handshake with the initial bytes and random data.
  2. Receive the encrypted response and server random data.
  3. Send back the encrypted server data, computer name length, computer name, and sync command.
  4. Receive confirmation that the connection is established.
  5. Send the opcode 0x0c with an index of zero and at least 16 bytes of data.
  6. Receive a response containing several addresses, one of which reveals the module's base address.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This report describes a flaw in a router's USB-sharing software. A remote attacker can send a special message to the router and get back memory addresses, which are like map coordinates inside the router's memory. Those addresses help an attacker plan further attacks, but this bug alone does not let them take control.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Dave McDaniel

View all

23 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.