Cyber Resilience

CVE-2024-39785

CriticalPublic PoC

Published: 14 January 2025

Published
14 January 2025
Modified
03 November 2025
KEV Added
Patch
CVSS Score v3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.0058 69.4th percentile
Risk Priority 19 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-39785 is a critical-severity Injection (CWE-74) vulnerability in Wavlink Wl-Wn533A8 Firmware. Its CVSS base score is 9.1 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 30.6% 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-2 (Flaw Remediation).

Deeper analysis

CVE-2024-39785 consists of multiple command execution vulnerabilities in the nas.cgi add_dir() functionality of the Wavlink AC3000 router running firmware version M33A8.V5030.210505. A specially crafted HTTP request can lead to arbitrary command execution, with a specific command injection issue in the adddir_name POST parameter. These flaws fall under CWE-74 (Improper Neutralization of Special Elements used in an OS Command) and were published on 2025-01-14 with a CVSS v3.1 base score of 9.1 (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H).

An attacker with high privileges can exploit these vulnerabilities by sending an authenticated HTTP request to the affected nas.cgi endpoint. Successful exploitation grants arbitrary command execution on the device, potentially allowing full compromise including data exfiltration, persistence, or further network pivoting given the high-impact CVSS metrics across confidentiality, integrity, and availability in a scoped attack.

Mitigation guidance is detailed in the Talos Intelligence advisory at https://talosintelligence.com/vulnerability_reports/TALOS-2024-2058.

EU & UK References

Vulnerability details

Multiple command execution vulnerabilities exist in the nas.cgi add_dir() functionality of Wavlink AC3000 M33A8.V5030.210505. A specially crafted HTTP request can lead to arbitrary command execution. An attacker can make an authenticated HTTP request to trigger these vulnerabilities.A command injection vulnerability…

more

exists in the adddir_name POST parameter.

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.
T1059.004 Unix Shell Execution
Adversaries may abuse Unix shell commands and scripts for execution.
Why these techniques?

Direct command injection in exposed nas.cgi web endpoint enables remote exploitation of public-facing application (T1190) and arbitrary Unix shell command execution (T1059.004) on the router.

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

CVEs Like This One

CVE-2024-39784Same product: Wavlink Wl-Wn533A8
CVE-2024-34544Same product: Wavlink Wl-Wn533A8
CVE-2024-36295Same product: Wavlink Wl-Wn533A8
CVE-2024-39604Same product: Wavlink Wl-Wn533A8
CVE-2024-21797Same product: Wavlink Wl-Wn533A8
CVE-2024-39783Same product: Wavlink Wl-Wn533A8
CVE-2024-39781Same product: Wavlink Wl-Wn533A8
CVE-2024-39367Same product: Wavlink Wl-Wn533A8
CVE-2024-38666Same product: Wavlink Wl-Wn533A8
CVE-2024-39280Same product: Wavlink Wl-Wn533A8

Affected Assets

wavlink
wl-wn533a8 firmware
m33a8.v5030.210505

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly mitigates command injection (CWE-74) in the adddir_name POST parameter by requiring validation and sanitization of inputs before use in OS commands within nas.cgi.

prevent

Requires timely identification, reporting, and correction of the specific command execution flaws in nas.cgi add_dir() functionality of the vulnerable firmware.

prevent

Enforces least privilege to limit high-privilege (PR:H) accounts capable of sending authenticated HTTP requests that trigger the vulnerabilities.

References