Skip to content
RCE Advisory Intermediate CVE-2026-9814

Totolink X2000R boa formWizard newPass OS command injection vulnerability

The router's formWizard handler takes the newPass POST parameter and inserts it unsanitised into a command string that is run by the system shell. An authenticated attacker could inject extra shell commands and execute arbitrary code on the device.

Lilith Wyatt Follow

Originally disclosed on Cisco Talos

Critical 9.1 View original

An OS command injection vulnerability exists in the boa formWizard newPass functionality of X2000R (version(s): TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327). A specially crafted HTTP request can lead to arbitrary code execution.

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

The newPass POST value is passed to sprintf and then system without any sanitisation, so shell metacharacters in the value become part of the executed command.

Impact

An authenticated attacker could run arbitrary commands on the router, but only if the device is already configured in Mesh mode.

What the attacker needed

Valid admin login; router configured in Mesh mode; crafted POST to formWizard

How it was found

  1. Log in through the router's login page so the session is authenticated.
  2. Send a POST request to the formWizard page with opmode_wizard set to zero so the large branch is skipped.
  3. Set wispWanId to one and a valid timeZone so the earlier checks pass.
  4. Ensure the router is configured in Mesh mode so the MIB_DO_Mcli value is one.
  5. Put the injected command into the newPass parameter; it is formatted into a shell command and run.

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 router has a web admin page that saves a new password. Behind the page, the router builds a text command for its operating system and pastes the password straight into it. If someone types shell control characters instead of a normal password, the router runs those extra commands too, so the attacker can run their own code on the device.

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 Wyatt

View all

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