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.
Use CWE-77, Tp-Link vendor hub and Archer Ax21 Firmware product page to widen CVE-2023-1389 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2023-31710, CVE-2023-27346 and CVE-2023-27332 for nearby disclosures in the same product family.