RULE(RULE ID:338171)

Rule General Information
Release Date: 2024-06-25
Rule Name: TP-Link Archer AX21 Remote Command Execution Vulnerability (CVE-2023-1389)
Severity:
CVE ID:
Rule Protection Details
Description: 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.
Impact: An attacker can execute arbitrary command via a successful exploit in the context of the vulnerable software.
Affected OS: Windows, Linux, Others
Reference: http://packetstormsecurity.com/files/174131/TP-Link-Archer-AX21-Command-Injection.html
https://www.tenable.com/security/research/tra-2023-11
Solutions
Refer to the announcement or patch by the vendor: https://www.tp-link.com/us/support/download/archer-ax21/v3/