CVE-2025-15253

8.8

Tenda · M3

The Tenda M3 router is vulnerable to a stack-based buffer overflow via the cmdinput parameter in the /goform/exeCommand endpoint, allowing remote code execution.

Executive summary

A critical stack-based buffer overflow in the Tenda M3 router allows authenticated attackers to execute arbitrary code or cause a denial of service.

Vulnerability

The vulnerability exists within the /goform/exeCommand endpoint, where the cmdinput parameter lacks sufficient bounds checking during a strcpy operation. This memory corruption flaw allows an authenticated attacker to hijack control flow or trigger a system crash.

Business impact

Successful exploitation of this vulnerability could lead to a total compromise of the affected device, allowing for unauthorized remote command execution. Given the device's role as a network gateway, this represents a significant risk to the integrity and confidentiality of the internal network. The CVSS score of 8.8 reflects the high potential for impact and the relative ease of exploitation for an attacker with network access.

Remediation

Immediate Action: Since a specific patch is not currently confirmed, restrict access to the web management interface to trusted internal segments only and disable remote management features.

Proactive Monitoring: Monitor network traffic for unusual POST requests directed at the /goform/exeCommand endpoint and review system logs for signs of service instability or unexpected reboots.

Compensating Controls: Deploy a Web Application Firewall (WAF) rule to inspect and block excessively long payloads sent to the cmdinput parameter within POST requests to the /goform/exeCommand URI.

Exploitation status

Public Exploit Available: Yes, a published proof of concept exists, as detailed in the researcher write-up provided by dwBruijn.

Analyst recommendation

Given the availability of a functional proof of concept and the severity of the memory corruption flaw, this vulnerability presents a credible threat to network infrastructure. Administrators should prioritize isolating affected Tenda M3 devices from external network exposure until a vendor-supplied firmware update is available and verified for deployment.

More Tenda CVEs

Sources

Originally found and disclosed by dwbruijn (VulDB User), per the CVE Program record.