Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to device
-
DeliverySend crafted request to /setup.cgi
-
ExploitOverflow mac_pc_dba parameter
-
ExecutionOverwrite stack memory
-
ImpactExecute arbitrary code on router
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated access to Trendnet TEW-657BRM firmware version 1.00.1. Attacker must have login credentials to access /setup.cgi and manipulate the mac_pc_dba parameter in the update_pcdb function. Product discontinued since June 2011; modern devices unaffected. |
| Impact | Real-world risk assessment presents a nuanced picture combining multiple signals. The CVSS 4.0 score of 7.4 reflects high confidentiality, integrity, and availability impact (VC:H/VI:H/VA:H) with network attack vector (AV:N), low complexity (AC:L), and requires low privileges (PR:L). The Environmental Score modifier E:P confirms proof-of-concept exploit existence, corroborated by the GitHub repository containing weaponizable exploit code. However, several factors moderate practical risk: the product has been end-of-life since 2011, dramatically limiting the installed base; authentication requirement (PR:L) raises the exploitation bar compared to unauthenticated vulnerabilities; no CISA KEV listing indicates no confirmed active exploitation campaigns; EPSS data not provided but likely low given the narrow target demographic. The SSVC framework assessment would rate this as Low priority for most organizations due to obsolete product status, though any entity still operating these legacy devices faces Critical risk given the combination of remote exploitability, public POC, vendor abandonment, and complete system compromise potential. The authentication requirement prevents mass-exploitation but does not prevent targeted attacks where default credentials or credential reuse is common in legacy infrastructure. |
| Exploit ScenarioDerived | An attacker identifies a Trendnet TEW-657BRM router exposed on a corporate network, either through internet scanning or after compromising an internal system. Using default or brute-forced credentials (common in legacy devices), the attacker authenticates to the web management interface and sends a specially crafted HTTP request to /setup.cgi with an oversized mac_pc_dba parameter following the publicly available exploit code from GitHub. The stack buffer overflow corrupts memory, hijacking execution flow to attacker-supplied shellcode that establishes persistent backdoor access to the router. From this position, the attacker can intercept all network traffic passing through the device, modify DNS responses to redirect users to phishing sites, pivot to other internal network segments, or use the compromised router as a command-and-control foothold. The low attack complexity and public POC availability make this scenario readily achievable for attackers with basic exploitation skills. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 02, 2026
Stack-based buffer overflow in Trendnet TEW-657BRM 1.00.1 wireless router allows authenticated remote attackers to achieve code execution via the update_pcdb function in /setup.cgi by manipulating the mac_pc_dba parameter. This vulnerability affects a product discontinued since June 2011 (14+ years end-of-life) with no vendor support or patches available. Publicly available exploit code exists, elevating immediate risk for organizations still operating legacy deployments. CVSS 7.4 with low attack complexity and proof-of-concept availability make this a practical exploitation target despite requiring low-privilege authentication.
RemediationAI
No vendor-released patch exists and none will be developed, as Trendnet discontinued the TEW-657BRM product in June 2011 and explicitly states they no longer provide support or security updates. Immediate remediation requires hardware replacement with currently supported networking equipment that receives active security maintenance. Organizations still operating these devices should implement network segmentation to isolate affected routers from critical assets, restrict administrative access to trusted IP ranges only, change default credentials if not already done, monitor for unusual administrative login attempts, and deploy intrusion detection signatures targeting /setup.cgi exploit attempts. Interim compensating controls include placing the router behind a firewall that blocks external access to the web management interface (typically TCP port 80/443), though this does not protect against attacks from compromised internal systems. The GitHub exploit repository at https://github.com/panda666-888/vuls/blob/main/trendnet/tew-657brm/update_pcdb.md provides technical details that can inform detection rule development. Full vulnerability intelligence available at https://vuldb.com/vuln/354703 and https://vuldb.com/vuln/354703/cti. Given the 14-year end-of-life status, the only sustainable remediation is complete device replacement.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability exploits a classic stack-based buffer overflow (CWE-121) in the router's web management interface CGI handler. The /setup.cgi endpoint's update_pcdb function fails to properly validate the length of the mac_pc_dba parameter before copying it to a fixed-size stack buffer. When an authenticated user submits an oversized MAC address string, the overflow corrupts the stack frame, enabling control of the instruction pointer and arbitrary code execution in the context of the web server process. This class of vulnerability is common in legacy embedded devices using unsafe C string functions (strcpy, sprintf) without bounds checking. The Trendnet TEW-657BRM is a wireless router identified by CPE cpe:2.3:a:trendnet:tew-657brm, discontinued over 14 years ago, likely running outdated firmware with minimal memory protection mechanisms typical of consumer networking equipment from that era.
Know when Tew 657Brm gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A security flaw has been discovered in Trendnet TEW-657BRM 1.00.1. The impacted element is the function update_pcdb of the file /setup.cgi. The manipulation of the argument mac_pc_dba results in stack-based buffer overflow. The attack can be launched remotely. The exploit has been released to the public and may be used for attacks. The vendor confirms, that "[t]he product in question (...) has been discontinued and end of life since June 23, 2011, that is more than 14 years ago. We no longer provide support for this product, so we are not able to confirm the vulnerabilities. We will make an announcement on our website's product support page and notify customers who registered their products with us." This vulnerability only affects products that are no longer supported by the maintainer.
Executive ViewAI
CVE-2026-5350 is a stack-based buffer overflow in the discontinued Trendnet TEW-657BRM wireless router (end-of-life since 2011) that allows authenticated attackers to execute arbitrary code. Organizations operating this 14-year-old legacy device face immediate compromise risk, as publicly available exploit code exists and no vendor patches will ever be released. Any deployment of this router should be treated as a critical infrastructure vulnerability requiring immediate remediation through hardware replacement.
No vendor patch will be released for this discontinued product. Interim mitigations: (1) Restrict network access to the router's administrative interface using firewall rules and VLAN segmentation-block all external access to /setup.cgi and port 80/443 from untrusted networks; (2) Disable remote administration features if enabled; (3) Enforce strong authentication credentials and monitor for unauthorized access attempts; (4) Implement continuous network monitoring for suspicious traffic patterns targeting the device. These controls are temporary only-hardware replacement is the only permanent remediation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
Related Vulnerabilities in Trendnet TEW-657BRM Buffer Overflow
View all 2More in Tew 657Brm
View allRemote authenticated command injection in TrendNet TEW-657BRM 1.00.1 allows manipulation of the policy_name parameter in
OS command injection in Trendnet TEW-657BRM 1.00.1 ping_test function allows authenticated remote attackers to execute a
Remote code execution via OS command injection in TrendNet TEW-657BRM 1.00.1 allows authenticated attackers to execute a
OS command injection in TrendNet TEW-657BRM 1.00.1 router allows authenticated remote attackers to execute arbitrary com
EUVD-2026-18360
GHSA-g7rc-cpg5-3v55
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB