Skip to content
RCE Advisory Advanced CVE-2024-39754

Wavlink AC3000 wctrls static login vulnerability

A hidden UDP service on the Wavlink AC3000 router accepts a hardcoded encrypted command that enables telnet with a static root account, allowing an unauthenticated attacker to gain root access over the WAN.

Lilith >_> Follow

Originally disclosed on Cisco Talos

Critical 10.0 View original

A static login vulnerability exists in the wctrls functionality of Wavlink AC3000 M33A8.V5030.210505. A specially crafted set of network packets can lead to root access.

Lilith >_>, 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

Impact

An unauthenticated attacker could gain root access to the router over the WAN, as no iptables rules were found to block the UDP port.

What the attacker needed

Network access to UDP port 36338; No authentication required

The fix

The product is discontinued and patches are being worked on, but no fix is described in the text.

How it was found

  1. Send a two-byte packet where the first byte is between 0x11 and 0x17 to the UDP service on port 36338.
  2. Send a 16-byte packet that matches the expected encrypted value.
  3. Receive a 16-byte encrypted ASCII key from the server.
  4. Send another two-byte packet and a 16-byte packet encrypted with the received key, containing a command from the command list.
  5. The server executes the command, such as starting telnet on port 2323.
  6. Log in using the static rootws account.

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.

The router runs a secret network service that listens for special commands. If someone sends the right command, the service turns on a remote login feature that uses a fixed username and password, so anyone who knows them can log in as the administrator from anywhere on the internet.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Lilith >_>

View all

148 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.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.