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

CVE-2022-46914

CVE-2022-46914

Description

An issue in the firmware update process of TP-LINK TL-WA801N / TL-WA801ND V1 v3.12.16 and earlier 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

2

Patches

Vulnerability mechanics

Root cause

"Missing cryptographic signature verification and plain HTTP firmware delivery allow an attacker to modify the firmware image and recalculate its MD5 checksum to bypass integrity checks."

Attack vector

An attacker with a privileged network position (obtained via ARP spoofing, DNS spoofing, or similar techniques) can intercept the firmware update traffic, which is transmitted over plain HTTP without cryptographic protection. The attacker replaces several bytes in the kernel portion of the firmware image with arbitrary bytes, recalculates the MD5 checksums, and updates the checksum fields in the firmware headers accordingly. During the firmware update process, the attacker replaces the user-uploaded legitimate firmware with this crafted malicious image. Because the device's verification only checks MD5 digests against the header values, the modified image passes validation and is flashed onto the device, 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 firmware image by comparing MD5 checksums stored in the firmware headers against computed digests. The firmware image structure is [header, bootloader, header, kernel, rootfs], with each header containing an MD5 checksum used for integrity verification [ref_id=1].

What the fix does

The advisory does not provide a vendor patch or fix. The researcher notes that the root cause is the lack of cryptographic protection during firmware delivery (plain HTTP) and the absence of digital signature verification on the firmware image itself. The recommended remediation would be to use HTTPS for firmware delivery and to implement cryptographic signature verification (e.g., RSA or ECDSA) on the firmware image so that any modification invalidates the signature regardless of MD5 checksum recalculation [ref_id=1].

Preconditions

  • networkAttacker must be in a privileged network position (e.g., via ARP spoofing or DNS spoofing) to intercept and replace firmware update traffic
  • inputThe user must initiate a firmware update via the device's web interface, uploading a firmware image over 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.