CVE-2025-39789
Linux Debian vulnerability analysis and mitigation

Overview

Multiple external config control vulnerabilities exist in the nas.cgi setftpcfg() functionality of Wavlink AC3000 M33A8.V5030.210505. A specially crafted HTTP request can lead to permission bypass. The vulnerability was discovered by Lilith of Cisco Talos and was disclosed on January 14, 2025. The affected system is the Wavlink AC3000 router running firmware version M33A8.V5030.210505 (Talos).

Technical details

The vulnerability specifically exists within the ftp_port POST parameter of the nas.cgi setftpcfg() functionality. The issue stems from insufficient newline filtering on input parameters, allowing direct injection of proftpd configuration into /etc/proftpd.conf. The vulnerability has been assigned a CVSS v3.1 base score of 9.1 CRITICAL (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H) and is classified under CWE-15 (External Control of System or Configuration Setting) (Talos).

Impact

The vulnerability allows an authenticated attacker to inject configuration settings that can lead to directory traversal to any directory accessible to the login user. This can potentially result in gaining shell access to the system. The vulnerability affects the entire filesystem instead of being restricted to the expected /media/ folder in the default configuration (Talos).

Mitigation and workarounds

As of January 14, 2025, the vendor has acknowledged that while the product has been discontinued, patches are being worked on. No specific mitigation steps have been provided yet (Talos).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40300N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-internal
NoNoSep 11, 2025
CVE-2025-39791N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k
NoNoSep 11, 2025
CVE-2025-39790N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump
NoNoSep 11, 2025
CVE-2025-39789N/AN/A
  • Linux DebianLinux Debian
  • linux
NoNoSep 11, 2025
CVE-2025-39788N/AN/A
  • Linux DebianLinux Debian
  • linux
NoNoSep 11, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management