Skip to content
RCE Advisory Intermediate CVE-2025-31355

Tenda AC6 V5.0 Firmware Signature Validation firmware update vulnerability

The firmware update validation on the Tenda AC6 router only checks a magic value, file size, and CRC, with no cryptographic signature. An attacker with web-portal credentials can flash arbitrary firmware, leading to persistent code execution.

Lilith >_> Follow

Originally disclosed on Cisco Talos

High 7.2 View original

A firmware update vulnerability exists in the Firmware Signature Validation functionality of Tenda AC6 V5.0 V02.03.01.110. A specially crafted malicious file can lead to arbitrary code execution.

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

Root cause

The firmware validation function only checks magic bytes, file size, and a CRC checksum, with no cryptographic signature verification.

Impact

An attacker with web-portal credentials can flash arbitrary firmware, resulting in arbitrary and persistent code execution.

What the attacker needed

Web-portal credentials

How it was found

  1. Log in to the router's web portal.
  2. Go to the Administration tab and choose to upgrade firmware from a local file.
  3. Upload a crafted firmware file that has the correct magic bytes, size, and CRC.

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 lets you update its firmware (the built-in software) by uploading a file. The router only checks that the file has a certain label, a plausible size, and a checksum (a simple error-detection code), but it never verifies that the file really comes from the manufacturer. So anyone who can log in to the router's admin page can upload their own modified firmware and take control of 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 >_>

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.