CVE-2024-2897 in AC7info

Summary

by MITRE • 03/26/2024

A vulnerability classified as critical has been found in Tenda AC7 15.03.06.44. Affected is the function formWriteFacMac of the file /goform/WriteFacMac. The manipulation of the argument mac leads to os command injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-257940. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 01/23/2025

The vulnerability identified as CVE-2024-2897 represents a critical command injection flaw within the Tenda AC7 router firmware version 15.03.06.44. This issue resides in the formWriteFacMac function located within the /goform/WriteFacMac file, making it accessible through a web interface that allows remote exploitation. The vulnerability stems from insufficient input validation and sanitization of the mac parameter, which is processed without proper escaping or filtering mechanisms that would prevent malicious command execution. The affected device operates under the assumption that user-supplied input is safe, creating a dangerous attack surface where arbitrary commands can be executed with the privileges of the web server process.

This command injection vulnerability falls under CWE-77 which specifically addresses command injection flaws in software systems. The attack vector enables remote exploitation through a web interface, allowing an attacker to inject operating system commands via the mac parameter in the WriteFacMac function. The vulnerability's classification as critical reflects the severity of potential impact, as successful exploitation could lead to complete system compromise, unauthorized access to network resources, and potential lateral movement within the affected network environment. The public disclosure of this exploit means that malicious actors can readily leverage this vulnerability without requiring advanced technical skills or specialized tools.

The operational impact of this vulnerability extends beyond simple remote code execution, potentially enabling attackers to gain persistent access to the network infrastructure. Once compromised, the router could serve as a foothold for broader network infiltration, allowing attackers to intercept traffic, modify network settings, or redirect network traffic to malicious endpoints. The fact that the vendor did not respond to early disclosure attempts creates a significant security gap, leaving users exposed to potential exploitation without official patches or mitigation guidance. This lack of vendor response compounds the risk, as organizations may not be aware of the vulnerability or its potential impact until after exploitation has occurred.

Mitigation strategies should include immediate network segmentation to isolate affected devices, implementation of network monitoring to detect potential exploitation attempts, and deployment of web application firewalls to filter malicious requests. Organizations should also consider disabling unnecessary web interfaces and implementing strict access controls to limit who can interact with the affected router management functions. The vulnerability's exposure through the /goform/WriteFacMac endpoint suggests that network administrators should conduct thorough vulnerability assessments of all network devices and ensure that firmware updates are applied promptly when patches become available. Additionally, network defenders should monitor for unusual network traffic patterns that might indicate command injection attempts or unauthorized access to network devices.

Responsible

VulDB

Reservation

03/26/2024

Disclosure

03/26/2024

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.07893

KEV

no

Activities

very low

Sources

Might our Artificial Intelligence support you?

Check our Alexa App!