TRENDnet TEW-831DR Command Injection Vulnerability Allowing Remote Code Execution

Vulnerability

A command injection vulnerability has been identified in the TRENDnet TEW-831DR router, specifically in version 1.0 (601.130.1.1410). The issue arises in the file '/boafrm/formSysCmd', where the 'sysHost' parameter can be manipulated to inject arbitrary commands. This vulnerability requires authentication to exploit but can be executed remotely. The injected commands are executed with the same privileges as the authenticated user, potentially leading to a full system compromise.

Impact

Exploitation of this vulnerability allows authenticated users to execute arbitrary commands on the router's operating system, with the risk of gaining unauthorized access to sensitive data, disrupting normal device operations, and potentially compromising internal networks.

Reproduction

To reproduce this vulnerability, authenticate with the device to obtain a CSRF token. Then, send a POST request to '/boafrm/formSysCmd' with the 'sysHost' parameter set to an IP address or hostname, followed by injected commands using command injection techniques, such as appending '&&' to execute additional commands. Include the CSRF token and authorization in the request headers.

Remediation

It is recommended to validate the 'sysHost' input to allow only safe hostnames or IP addresses, and to use chroot or sandboxing to contain command execution if necessary.

Added: Sep 9, 2025, 3:19 PM
Updated: Sep 9, 2025, 4:45 PM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
7.5
exploitability
6.2
remediation
0.0
relevance
0.5
threat
6.4
urgency
2.9
incentive
0.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.