CVE-2023-51091
Published: 26 December 2023
Summary
CVE-2023-51091 is a critical-severity Out-of-bounds Write (CWE-787) vulnerability in Tenda M3 Firmware. Its CVSS base score is 9.8 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 8.2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
Tenda M3 firmware version V1.0.0.12(4856) contains a stack-based buffer overflow in the R7WebsSecurityHandler function, classified under CWE-787 as an out-of-bounds write. The vulnerability affects the device's web management interface and carries a CVSS 3.1 score of 9.8, reflecting network-accessible exploitation without authentication or user interaction.
An unauthenticated remote attacker can send a crafted request that triggers the overflow, potentially achieving arbitrary code execution, privilege escalation, or denial of service on the affected router. The high impact metrics indicate full compromise of confidentiality, integrity, and availability is possible when the flaw is successfully exploited.
Public references consist of technical write-ups hosted on GitHub that detail the cookie-handling path leading to the overflow; no vendor advisory, firmware patch, or official mitigation guidance is referenced. The associated EPSS score reached a peak of 0.0916 and currently sits at 0.0721, indicating moderate and slightly declining public exploitation interest since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-55813
Vulnerability details
Tenda M3 V1.0.0.12(4856) was discovered to contain a stack overflow via the function R7WebsSecurityHandler.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Stack overflow in R7WebsSecurityHandler enables remote code execution via the web interface of the Tenda M3 router, facilitating exploitation of a public-facing application.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Out-of-bounds writes that corrupt control flow or inject shellcode are rendered non-executable by the same memory protections.