Command Injection in TP-Link Archer AX21 (AX1800)

Published: 2023-03-15 | Updated: 2024-04-26
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2023-1389
Exploitation vector Local network
Public exploit Vulnerability #1 is being exploited in the wild.
Vulnerable software
Archer AX21
Hardware solutions / Routers & switches, VoIP, GSM, etc


Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Command Injection

EUVDB-ID: #VU73718

Risk: Medium

CVSSv3.1: 8.4 [CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C]

CVE-ID: CVE-2023-1389

CWE-ID: CWE-77 - Command injection

Exploit availability: Yes


The vulnerability allows a remote attacker to execute arbitrary commands on the target system.

The vulnerability exists due to improper input validation in the "country" parameter within the merge_country_config function. A remote unauthenticated attacker on the local network can pass specially crafted data to the application and execute arbitrary commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Install updates from vendor's website.

Vulnerable software versions

Archer AX21: before 1.1.4 20230219

External links

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the local network (LAN).

Is there known malware, which exploits this vulnerability?

Yes. This vulnerability is being exploited in the wild.