Severity: Unknown
Description: A vulnerability has been found in Tenda W12 3.0.0.6(3948). The affected element is the function wifiMacFilterSet of the file /goform/modules of the component HTTP Request Handler. The manipulation of the argument mac leads to stack-based buffer overflow. The attack is possible to be carried out remotely. The exploit has been disclosed to the public and may be used.
CVSS Score: N/A
B
No data available.
No data available.
1. Risk Assessment
The vulnerability in the Tenda W12 router, specifically a stack-based buffer overflow in the wifiMacFilterSet function, presents a HIGH risk. The vulnerability allows a remote attacker with limited privileges to potentially control the router. This is due to the manipulation of the 'mac' argument in the HTTP request. The CVSS score of 8.8 (and equivalent scores across multiple CVSS versions) indicates significant potential impact. Successful exploitation could lead to complete compromise of confidentiality, integrity, and availability of the router and potentially the network it serves. The exploit has been publicly disclosed, increasing the likelihood of exploitation. The EPSS score of 0.078910000 suggests a moderate probability of exploitation given the broader threat landscape. Business impact includes potential network outages, data breaches if the router is used to store sensitive information, and loss of control over connected devices. The ease of exploitation is considered low to moderate, requiring a crafted HTTP request, but the publicly available exploit simplifies the process.
2. Potential Attack Scenarios
An attacker on the local network or remotely accessible network can exploit this vulnerability. The attacker crafts a malicious HTTP request to the /goform/modules endpoint, specifically targeting the wifiMacFilterSet function. The 'mac' argument is manipulated to include a buffer overflow, exceeding the allocated stack space. This overflow can overwrite adjacent memory, potentially allowing the attacker to execute arbitrary code on the router. This arbitrary code execution can then allow the attacker to gain full control of the Tenda W12 router. Potential outcomes include: changing the router’s DNS settings to redirect traffic, installing malware to capture network traffic, or completely bricking the router, causing a denial of service. The attacker could use the compromised router as a pivot point to attack other devices on the network.
3. Mitigation Recommendations
The primary mitigation is to upgrade the Tenda W12 firmware to a version that resolves the vulnerability. While a specific patched version isn’t explicitly mentioned in the details, Tenda’s website should be checked for the latest firmware release. Immediate action should be taken to patch vulnerable devices. Secondary mitigations include segmenting the network to limit the blast radius of a potential compromise. Consider placing the Tenda W12 on a separate VLAN if possible. Monitoring network traffic for unusual activity, especially traffic originating from the router, can help detect exploitation attempts. Review the router’s access control list (ACL) and ensure only necessary ports are open to external networks. Further information and updates can be found on the Tenda website: https://www.tenda.com.cn/. The public exploit available on GitHub can be used for testing after patching to verify the fix: https://github.com/z472421519/BinaryAudit/blob/main/PoC/BOF/Tenda_W12/cgiWifiMacFilterSet/cgiWifiMacFilterSet.md
4. Executive Summary
The Tenda W12 router has a HIGH severity vulnerability that allows remote attackers to potentially gain full control of the device. This stack-based buffer overflow, easily exploitable given the publicly available exploit, could lead to network outages, data breaches, or loss of control over connected devices. The vulnerability affects the HTTP Request Handler component and can be triggered by manipulating the ‘mac’ argument in a network request. We recommend immediate patching of all vulnerable Tenda W12 routers with the latest firmware from Tenda’s website (https://www.tenda.com.cn/). This vulnerability poses a significant risk to network security and business operations, and prompt action is crucial to minimize potential impact. Further network segmentation and traffic monitoring are recommended as secondary mitigation steps.
Severity: Unknown
Description: A vulnerability was found in Tenda W12 3.0.0.6(3948). The impacted element is the function wifiScheduledSet of the file /goform/modules of the component HTTP Request Handler. The manipulation of the argument wifiScheduledSet results in null pointer dereference. The attack may be performed from remote. The exploit has been made public and could be used.
CVSS Score: N/A
B
No data available.
No data available.
1. Risk Assessment
The vulnerability in Tenda W12 3.0.0.6(3948) is a null pointer dereference within the HTTP Request Handler, specifically in the wifiScheduledSet function. This allows a remote attacker to potentially crash the device. The CVSS score of 6.5 (Medium) indicates a moderate level of risk. While confidentiality and integrity aren’t directly impacted, the availability of the device is significantly affected. The likelihood of exploitation is considered moderate to high, given that the exploit is publicly available and requires relatively low privileges to trigger. Business impact ranges from minor inconvenience (if the device is a home router) to significant disruption (if the device is used in a small business or critical infrastructure). The EPSS score of 0.008880000 suggests a low, but non-zero, probability of exploitation in the wild. The vulnerability is easily exploitable with a publicly available proof of concept.
2. Potential Attack Scenarios
An attacker can remotely trigger the null pointer dereference by sending a specially crafted HTTP request to the wifiScheduledSet function. The attacker crafts a request to /goform/modules, manipulating the wifiScheduledSet argument. This can be achieved using a simple HTTP client like curl or a web browser with developer tools. The attack process involves sending the crafted request, which leads to the null pointer dereference, causing the Tenda W12 to crash or become unresponsive. The potential outcome is a denial-of-service condition, preventing legitimate users from accessing the network through the affected router. This could disrupt internet access for home users or impact network connectivity for small businesses relying on the Tenda W12 router.
3. Mitigation Recommendations
The primary mitigation for this vulnerability is to upgrade the Tenda W12 firmware to a version that resolves the null pointer dereference. Check the Tenda website (https://www.tenda.com.cn/) for the latest firmware release. As an immediate action, if possible, temporarily limit remote access to the router’s configuration interface to reduce the attack surface. Monitor network traffic for unusual activity targeting the router. Consider implementing a network monitoring system that can detect router crashes and alert administrators. For environments with multiple Tenda W12 routers, prioritize patching based on the business criticality of the devices.
4. Executive Summary
The Tenda W12 router, running firmware version 3.0.0.6(3948), is susceptible to a denial-of-service vulnerability due to a null pointer dereference. A remote attacker can easily crash the router by sending a specially crafted HTTP request, disrupting network connectivity for users. While the vulnerability doesn’t directly compromise sensitive data, it impacts the availability of the router and potentially the network it supports. The risk is rated as medium, but the publicly available exploit makes exploitation likely. We recommend upgrading the router firmware to the latest version as soon as possible to restore full functionality and prevent network disruptions. This vulnerability, although not catastrophic, requires prompt attention to ensure stable network operations for both home users and businesses leveraging the Tenda W12 router.