CVE-2024-39786: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Wavlink Wavlink AC3000
Multiple directory traversal vulnerabilities exist in the nas.cgi add_dir() functionality of Wavlink AC3000 M33A8.V5030.210505. A specially crafted HTTP request can lead to permission bypass. An attacker can make an authenticated HTTP request to trigger these vulnerabilities.A directory traversal vulnerability exists within the `adddir_name` POST parameter.
AI Analysis
Technical Summary
CVE-2024-39786 is a critical security vulnerability classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), affecting the Wavlink AC3000 router firmware version M33A8.V5030.210505. The vulnerability resides in the nas.cgi add_dir() functionality, where the adddir_name POST parameter is improperly sanitized, allowing directory traversal attacks. An authenticated attacker can craft a specially formed HTTP POST request to manipulate the adddir_name parameter, enabling them to traverse directories outside the intended restricted path. This results in permission bypass, potentially allowing unauthorized access to sensitive files, modification or deletion of critical system files, and disruption of device operations. The vulnerability is remotely exploitable over the network without requiring user interaction, but it does require attacker authentication, which may limit exposure to some extent. The CVSS v3.1 score of 9.1 reflects the vulnerability's critical nature, with high impact on confidentiality, integrity, and availability, and low attack complexity. No patches are currently linked, and no known exploits have been reported in the wild, but the risk remains significant due to the severity and potential for exploitation. The vulnerability affects a specific firmware version, so organizations using this exact version are at risk. The nas.cgi interface is typically used for managing network-attached storage functions, meaning exploitation could compromise stored data and device stability.
Potential Impact
For European organizations, exploitation of CVE-2024-39786 could lead to severe consequences including unauthorized access to sensitive data stored on network-attached storage managed by the Wavlink AC3000 device, modification or deletion of critical files, and potential full device compromise. This could disrupt business operations, lead to data breaches involving personal or corporate information, and impact availability of network services. Organizations in sectors such as telecommunications, finance, healthcare, and critical infrastructure that rely on Wavlink AC3000 routers for network management or storage are particularly vulnerable. The requirement for authentication reduces the risk from external unauthenticated attackers but insider threats or compromised credentials could be leveraged to exploit this vulnerability. The critical severity and scope of impact necessitate urgent attention to prevent lateral movement or escalation of privileges within networks. Additionally, disruption of network services could affect compliance with European data protection regulations such as GDPR if personal data is exposed or lost.
Mitigation Recommendations
1. Monitor Wavlink’s official channels for firmware updates addressing CVE-2024-39786 and apply patches immediately upon release. 2. Until patches are available, restrict administrative access to the Wavlink AC3000 device to trusted networks and users only, employing network segmentation and VPNs where possible. 3. Enforce strong authentication mechanisms and regularly audit credentials to prevent unauthorized access. 4. Implement web application firewall (WAF) rules to detect and block suspicious HTTP POST requests targeting nas.cgi, especially those containing directory traversal patterns in the adddir_name parameter. 5. Conduct regular security assessments and penetration tests focusing on network-attached storage and router interfaces to detect similar vulnerabilities. 6. Maintain comprehensive logging and monitoring of device access and configuration changes to quickly identify exploitation attempts. 7. Educate IT staff about the risks of directory traversal vulnerabilities and the importance of timely patching and access controls. 8. Consider isolating or replacing vulnerable devices in critical environments if immediate patching is not feasible.
Affected Countries
Germany, France, United Kingdom, Italy, Spain, Netherlands, Poland
CVE-2024-39786: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Wavlink Wavlink AC3000
Description
Multiple directory traversal vulnerabilities exist in the nas.cgi add_dir() functionality of Wavlink AC3000 M33A8.V5030.210505. A specially crafted HTTP request can lead to permission bypass. An attacker can make an authenticated HTTP request to trigger these vulnerabilities.A directory traversal vulnerability exists within the `adddir_name` POST parameter.
AI-Powered Analysis
Technical Analysis
CVE-2024-39786 is a critical security vulnerability classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), affecting the Wavlink AC3000 router firmware version M33A8.V5030.210505. The vulnerability resides in the nas.cgi add_dir() functionality, where the adddir_name POST parameter is improperly sanitized, allowing directory traversal attacks. An authenticated attacker can craft a specially formed HTTP POST request to manipulate the adddir_name parameter, enabling them to traverse directories outside the intended restricted path. This results in permission bypass, potentially allowing unauthorized access to sensitive files, modification or deletion of critical system files, and disruption of device operations. The vulnerability is remotely exploitable over the network without requiring user interaction, but it does require attacker authentication, which may limit exposure to some extent. The CVSS v3.1 score of 9.1 reflects the vulnerability's critical nature, with high impact on confidentiality, integrity, and availability, and low attack complexity. No patches are currently linked, and no known exploits have been reported in the wild, but the risk remains significant due to the severity and potential for exploitation. The vulnerability affects a specific firmware version, so organizations using this exact version are at risk. The nas.cgi interface is typically used for managing network-attached storage functions, meaning exploitation could compromise stored data and device stability.
Potential Impact
For European organizations, exploitation of CVE-2024-39786 could lead to severe consequences including unauthorized access to sensitive data stored on network-attached storage managed by the Wavlink AC3000 device, modification or deletion of critical files, and potential full device compromise. This could disrupt business operations, lead to data breaches involving personal or corporate information, and impact availability of network services. Organizations in sectors such as telecommunications, finance, healthcare, and critical infrastructure that rely on Wavlink AC3000 routers for network management or storage are particularly vulnerable. The requirement for authentication reduces the risk from external unauthenticated attackers but insider threats or compromised credentials could be leveraged to exploit this vulnerability. The critical severity and scope of impact necessitate urgent attention to prevent lateral movement or escalation of privileges within networks. Additionally, disruption of network services could affect compliance with European data protection regulations such as GDPR if personal data is exposed or lost.
Mitigation Recommendations
1. Monitor Wavlink’s official channels for firmware updates addressing CVE-2024-39786 and apply patches immediately upon release. 2. Until patches are available, restrict administrative access to the Wavlink AC3000 device to trusted networks and users only, employing network segmentation and VPNs where possible. 3. Enforce strong authentication mechanisms and regularly audit credentials to prevent unauthorized access. 4. Implement web application firewall (WAF) rules to detect and block suspicious HTTP POST requests targeting nas.cgi, especially those containing directory traversal patterns in the adddir_name parameter. 5. Conduct regular security assessments and penetration tests focusing on network-attached storage and router interfaces to detect similar vulnerabilities. 6. Maintain comprehensive logging and monitoring of device access and configuration changes to quickly identify exploitation attempts. 7. Educate IT staff about the risks of directory traversal vulnerabilities and the importance of timely patching and access controls. 8. Consider isolating or replacing vulnerable devices in critical environments if immediate patching is not feasible.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- talos
- Date Reserved
- 2024-06-28T18:05:47.079Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 690929acfe7723195e0fd6e9
Added to database: 11/3/2025, 10:16:12 PM
Last enriched: 11/3/2025, 10:28:23 PM
Last updated: 11/5/2025, 1:58:47 PM
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
Securing the Open Android Ecosystem with Samsung Knox
CriticalCVE-2025-12497: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in averta Premium Portfolio Features for Phlox theme
HighCVE-2025-11745: CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in spacetime Ad Inserter – Ad Manager & AdSense Ads
MediumCVE-2025-58337: CWE-284 Improper Access Control in Apache Software Foundation Apache Doris-MCP-Server
UnknownCVE-2025-12469: CWE-862 Missing Authorization in amans2k FunnelKit Automations – Email Marketing Automation and CRM for WordPress & WooCommerce
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.