CVE-2024-42945 in FH1201info

Summary

by MITRE • 08/15/2024

Tenda FH1201 v1.2.0.14 (408) was discovered to contain a stack overflow via the page parameter in the fromAddressNat function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted POST request.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 08/17/2024

The vulnerability identified as CVE-2024-42945 affects the Tenda FH1201 router firmware version 1.2.0.14 (build 408) and represents a critical stack overflow condition within the fromAddressNat function. This flaw manifests through the page parameter handling within the web interface, creating a path for remote attackers to exploit the device's memory management. The vulnerability falls under the Common Weakness Enumeration category CWE-121, which describes stack-based buffer overflow conditions where insufficient bounds checking allows attackers to overwrite adjacent memory locations. The specific function fromAddressNat appears to process user-supplied input without adequate validation, leading to an exploitable condition that can be triggered through crafted POST requests.

The operational impact of this vulnerability extends beyond simple denial of service as it represents a foundational security weakness that could potentially enable more sophisticated attacks. When an attacker crafts a malicious POST request containing an oversized page parameter, the buffer overflow can cause the router's web server process to crash or behave unpredictably, resulting in complete service disruption. This denial of service condition affects network availability and can be exploited by adversaries to disrupt network operations, particularly in environments where router stability is critical. The vulnerability demonstrates poor input validation practices and inadequate memory bounds checking, which aligns with ATT&CK technique T1499.100 for network denial of service attacks through exploitation of device vulnerabilities.

Mitigation strategies for this vulnerability should focus on immediate firmware updates from Tenda to address the stack overflow condition in the fromAddressNat function. Network administrators should implement network segmentation and access controls to limit exposure of affected devices to untrusted networks. Additionally, monitoring for suspicious POST requests containing unusually long page parameters can help detect exploitation attempts. The vulnerability highlights the importance of proper input validation and bounds checking in embedded web interfaces, as recommended by security frameworks such as the OWASP Top Ten and NIST Cybersecurity Framework. Organizations should also consider implementing intrusion detection systems that can identify patterns consistent with this type of exploitation attempt, particularly in environments where network infrastructure devices are exposed to external threats. Regular security assessments of network equipment and maintaining updated firmware repositories are essential practices to prevent exploitation of similar vulnerabilities in the future.

Responsible

MITRE

Reservation

08/05/2024

Disclosure

08/15/2024

Moderation

accepted

CPE

ready

EPSS

0.00687

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!