Router

TP-Link Archer AX21

Contribute

Projects for this device

Replacement firmware

Replace router software with a customizable system for network controls and community packages.

Hardwarev4

How to get started

Follow the guide for your exact router version. The first installation may use its web interface, recovery mode or a serial connection.

Setup
Firmware replacement; route varies by router
You’ll need
Exact hardware revision, an appropriate OpenWrt release and its model-specific installation guide.

Release listed · 25.12.5

Open hardware recordopenwrt.org
First installation
GUI OEM; U-Boot web recovery
Sources

Features & details

Check the project and hardware shown for each feature.

Device details

Device details — v4 — Source documentation (openwrt.org)

Hardware revision
v4

OpenWrt · v4

OpenWrt · v4 — v4 — Source documentation (openwrt.org)

Installation routes recorded
GUI OEM, U-Boot web recovery
Recovery routes recorded
U-Boot web recovery

Hardware details

Security

Saved scan

From our saved security research.

Model advisories

Selected highlights

Prioritized by known exploitation, severity, then date.

Listed in CISA KEV ↗CVSS 8.8 (v3.1)

TP-Link Archer AX21 (AX1800)

TP-Link Archer AX21 (AX1800) firmware versions before 1.1.4 Build 20230219 contained a command injection vulnerability in the country form of the /cgi-bin/luci;stok=/locale endpoint on…

CVE-2023-1389

Affected firmware
All versions prior to version 1.14 Build 20230219
Fix
Fix details in the linked record
Read tenable CVE record
Details and sources

TP-Link Archer AX21 (AX1800) firmware versions before 1.1.4 Build 20230219 contained a command injection vulnerability in the country form of the /cgi-bin/luci;stok=/locale endpoint on the web management interface. Specifically, the country parameter of the write operation was not sanitized before being used in a call to popen(), allowing an unauthenticated attacker to inject commands, which would be run as root, with a simple POST request.

Security advisory tra 2023 11 — TP-Link Archer AX21 (AX1800) (tenable.com) ↗

CVSS 9.8 (v3.0)

TP-Link Archer AX21

TP-Link AX1800 hotplugd Firewall Rule Race Condition Vulnerability

CVE-2023-27359

Affected firmware
Version scope unspecified in source
Fix
Fix details in the linked record
Read zdi CVE record
Details and sources

TP-Link AX1800 hotplugd Firewall Rule Race Condition Vulnerability. This vulnerability allows remote attackers to gain access to LAN-side services on affected installations of TP-Link Archer AX21 routers. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the hotplugd daemon. The issue results from firewall rule handling that allows an attacker access to resources that should be available to the LAN interface only. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of the root user. . Was ZDI-CAN-19664.

ZDI-23-452 — TP-Link Archer AX21 (zerodayinitiative.com) ↗

CVSS 8.8 (v3.0)

Archer AX21

TP-Link Archer AX21 tdpServer Logging Stack-based Buffer Overflow Remote Code Execution Vulnerability

CVE-2023-27332

Affected firmware
1.1.3 Build 20221125
Fix
Fix details in the linked record
Read zdi CVE record
Details and sources

TP-Link Archer AX21 tdpServer Logging Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link Archer AX21 routers. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the logging functionality of the tdpServer program, which listens on UDP port 20002. 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-19898.

ZDI-23-245 — Archer AX21 (zerodayinitiative.com) ↗

CVSS 7.5 (v3.1)

TP-Link Archer AX21

TP-Link AX1800 WiFi 6 Router (Archer AX21) devices allow unauthenticated attackers (on the LAN) to execute arbitrary code as root via the db_dir field to minidlnad

CVE-2023-28760

Affected firmware
Version details in source scope
Fix
Fix details in the linked record
Read mitre CVE record
Details and sources

TP-Link AX1800 WiFi 6 Router (Archer AX21) devices allow unauthenticated attackers (on the LAN) to execute arbitrary code as root via the db_dir field to minidlnad. The attacker obtains the ability to modify files.db, and that can be used to reach a stack-based buffer overflow in minidlna-1.1.2/upnpsoap.c. Exploitation requires that a USB flash drive is connected to the router (customers often do this to make a \\192.168.0.1 share available on their local network).

CVSS 6.8 (v3.0)

Archer AX21

TP-Link Archer AX21 tmpServer Command 0x422 Stack-based Buffer Overflow Remote Code Execution Vulnerability

CVE-2023-27333

Affected firmware
1.1.3 Build 20221125
Fix
Fix details in the linked record
Read zdi CVE record
Details and sources

TP-Link Archer AX21 tmpServer Command 0x422 Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link Archer AX21 routers. Authentication is required to exploit this vulnerability.

The specific flaw exists within the handling of command 0x422 provided to the tmpServer service. 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-19905.

ZDI-23-244 — Archer AX21 (zerodayinitiative.com) ↗
Check more security advisories for this device · CVE.org