CVE-2022-24355

HIGH

TP-Link TL-WR940N 3.20.1 Build 200316 Rel.34392n - RCE

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2022-24355. PoCs published by flex0geek.

AI-analyzed exploit summary This repository contains a functional exploit for CVE-2022-24355, a stack-based buffer overflow in TP-Link TL-WR940N. The exploit uses a crafted HTTP request with a malicious Cookie header to trigger the vulnerability and achieve remote code execution (RCE) via a staged payload.

Description

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link TL-WR940N 3.20.1 Build 200316 Rel.34392n (5553) routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the parsing of file name extensions. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-13910.

Exploits (1)

github WORKING POC 20 stars
by flex0geek · cpoc
https://github.com/flex0geek/cves-exploits/tree/main/CVE-2022-24355

This repository contains a functional exploit for CVE-2022-24355, a stack-based buffer overflow in TP-Link TL-WR940N. The exploit uses a crafted HTTP request with a malicious Cookie header to trigger the vulnerability and achieve remote code execution (RCE) via a staged payload.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: TP-Link TL-WR940N
No auth needed
Prerequisites: Network access to the target device · Knowledge of the target's IP address
devstral-2 · analyzed Apr 29, 2026 Full analysis →

References (1)

Core 1
Core References
Third Party Advisory, VDB Entry x_refsource_misc
https://www.zerodayinitiative.com/advisories/ZDI-22-265/

Scores

CVSS v3 8.8
EPSS 0.0031
EPSS Percentile 54.5%
Attack Vector ADJACENT_NETWORK
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-121 CWE-787
Status published
Products (1)
tp-link/tl-wr940n_firmware < 211111
Published Feb 18, 2022
Tracked Since Feb 18, 2026