Cyber Resilience

CVE-2024-57581

CriticalPublic PoC

Published: 16 January 2025

Published
16 January 2025
Modified
18 March 2025
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.0064 71.0th percentile
Risk Priority 20 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-57581 is a critical-severity Out-of-bounds Write (CWE-787) vulnerability in Tenda Ac18 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 29.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-16 (Memory Protection).

Deeper analysis

CVE-2024-57581 is a stack overflow vulnerability (CWE-787) in the Tenda AC18 router firmware version V15.03.05.19. The flaw occurs in the formSetFirewallCfg function when processing the firewallEn parameter, which can be manipulated to overflow the stack.

The vulnerability carries a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating it is exploitable remotely over the network by unauthenticated attackers with low complexity and no user interaction required. Exploitation could grant attackers high-impact control over confidentiality, integrity, and availability, likely enabling remote code execution on the affected device.

Advisories and further details, including potential proof-of-concept code, are available in the referenced GitHub repository at https://github.com/qijiale/Tenda/tree/main/8, published on 2025-01-16.

EU & UK References

Vulnerability details

Tenda AC18 V15.03.05.19 was discovered to contain a stack overflow via the firewallEn parameter in the formSetFirewallCfg function.

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?

The stack overflow vulnerability in the formSetFirewallCfg function via the firewallEn parameter in the Tenda AC18 router's web interface enables remote code execution on a public-facing application.

CVEs Like This One

CVE-2024-57580Same product: Tenda Ac18
CVE-2024-57579Same product: Tenda Ac18
CVE-2024-57582Same product: Tenda Ac18
CVE-2024-57578Same product: Tenda Ac18
CVE-2024-57575Same product: Tenda Ac18
CVE-2025-11122Same product: Tenda Ac18
CVE-2025-14993Same product: Tenda Ac18
CVE-2025-11326Same product: Tenda Ac18
CVE-2025-11327Same product: Tenda Ac18
CVE-2025-14992Same product: Tenda Ac18

Affected Assets

tenda
ac18 firmware
15.03.05.19

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly prevents stack overflow exploitation by validating the firewallEn parameter in formSetFirewallCfg to ensure bounds checking and reject malformed inputs.

prevent

Implements memory protections such as stack canaries, ASLR, or DEP to mitigate unauthorized code execution from stack overflows in the router firmware.

preventrecover

Requires timely identification, reporting, and patching of the specific stack overflow flaw in Tenda AC18 V15.03.05.19 firmware to eliminate the vulnerability.

References