Skip to content
RCE Write-up Advanced

Tenda AC15 AC1900 Vulnerabilities Discovered and Exploited

The Tenda AC15 AC1900 router firmware contained several flaws, including a state-changing GET request that reboots the device, unsanitised Wi-Fi name input rendered on the dashboard, a hardcoded root password hash in a binary, and unvalidated parameters passed to a system command function. An attacker could reboot the router via CSRF, run script in an admin's browser, log in over telnet as root, and execute arbitrary commands, including a persistent reverse shell.

Sanjana Sarda Follow

Published on blog.securityevaluators.com

As part of ISE Labs’ research into embedded devices, we looked at Tenda’s AC15 AC1900 Smart Dual-band Gigabit Wi-Fi Router. During our research efforts, we tested the router running its then-latest firmware version 15.03.05.19.

Sanjana Sarda, on blog.securityevaluators.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a combination of missing request validation, missing input sanitisation, a hardcoded credential in a binary, and unsanitised parameters passed to a system command function.

Impact

An attacker could reboot the router, run script in an authenticated admin's browser, and gain persistent root access to the device, which could be used in a botnet against internal and external systems.

What the attacker needed

Admin authenticated in browser (CSRF/XSS); attacker on same network for telnet; firmware version 15.03.05.19

The fix

Tenda has not patched these vulnerabilities, so the firmware should be updated to validate requests and inputs, remove hardcoded credentials, and avoid passing user input to system commands.

How it was found

  1. Scan the router's open ports and services to map the attack surface.
  2. Find the reboot endpoint and confirm it changes state via a GET request.
  3. Set the Wi-Fi name field to a script payload and load the dashboard to trigger it.
  4. Extract the firmware and locate the hardcoded password hash in the login binary, then crack it.
  5. Start the telnet daemon and log in as root with the recovered password.
  6. Use the lan.ip parameter to download and run a reverse shell on every boot.

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 write-up has not been written yet. The Original tab links to the source.

This is a home Wi-Fi router whose web admin page had several mistakes. Some actions could be triggered just by loading a page, a name field was shown without cleaning it so script could run, and a password was hidden inside the firmware that gave full control of the device. Together these let someone take over the router and keep access across reboots.

What is RCE?

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

More from Tenda

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.