VYPR
Unrated severityNVD Advisory· Published Dec 20, 2022· Updated Apr 16, 2025

CVE-2022-46435

CVE-2022-46435

Description

An issue in the firmware update process of TP-Link TL-WR941ND V2/V3 up to 3.13.9 and TL-WR941ND V4 up to 3.12.8 allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via uploading a crafted firmware image.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

3

Patches

Vulnerability mechanics

Root cause

"Missing cryptographic signature verification and plain HTTP firmware delivery allow an attacker to replace the uploaded firmware image with a tampered image that passes the MD5 checksum check."

Attack vector

An attacker with a privileged network position (obtained via ARP spoofing, DNS spoofing, or similar techniques) can intercept the plain HTTP firmware upload and replace the user's legitimate firmware image with a crafted malicious image [ref_id=1]. The attacker modifies arbitrary bytes in the kernel (e.g., 4 bytes at offset 0x400–0x403) and recalculates the MD5 checksums in the firmware headers so that the modified image passes the device's checksum verification [ref_id=1]. Because the firmware delivery uses unencrypted HTTP and there is no cryptographic signature verification, the device accepts the tampered image and flashes it, resulting in arbitrary code execution or denial of service [ref_id=1].

Affected code

The firmware update verification function `upgradeFirmware` (decompiled from the device's web server binary) validates the uploaded image by comparing MD5 checksums stored in the firmware headers against computed digests [ref_id=1]. The firmware image structure is [header, bootloader, header, kernel, rootfs], and each header contains an MD5 checksum used for integrity checking [ref_id=1]. No specific source file paths are provided in the advisory.

What the fix does

The advisory does not provide a vendor patch or fix commit [ref_id=1]. The recommended remediation would be to enforce cryptographically signed firmware images and to serve the firmware update interface and delivery over HTTPS to prevent man-in-the-middle tampering [ref_id=1]. Without these protections, an attacker who can intercept the HTTP traffic can trivially replace the firmware image and recalculate its checksums to bypass the existing MD5-based integrity check [ref_id=1].

Preconditions

  • networkAttacker must be on the same network segment as the target device or be able to intercept traffic (e.g., via ARP spoofing, DNS spoofing, or rogue access point)
  • inputThe victim user must initiate a firmware update via the web interface while the attacker is positioned to intercept the upload
  • configNo cryptographic signature verification is performed on the firmware image, and the upload uses plain HTTP

Generated on May 26, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

2

News mentions

0

No linked articles in our index yet.