Cyber Resilience

CVE-2023-51091

CriticalPublic PoC

Published: 26 December 2023

Published
26 December 2023
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0721 91.8th percentile
Risk Priority 24 60% EPSS · 20% KEV · 20% CVSS

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

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

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
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

tenda
m3 firmware
1.0.0.12\(4856\)

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.

addresses: CWE-787

Out-of-bounds writes that corrupt control flow or inject shellcode are rendered non-executable by the same memory protections.

References