BreachSpiderVerified, not vibes

CVE-2023-1389 in Tp-Link Archer Ax21 and 1 more product

Known-exploited (CISA) since 2023-05-01 High 8.8 Public exploit reported

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 ca...

Affects 2 products from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
EPSS89.3%
EPSS percentile100th
FixUnknown

Exploitable from adjacent network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Tp-Link Archer Ax21 (device and firmware) < 1.1.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedYes added 2023-05-01
Public exploitReported · reference

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-1389
BreachSpider IDBS-2023-GLOBAL-298221-H
CVSS vectorCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2023-03-15
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-77: Command Injection

Attacker injects operating system commands through application inputs passed to a shell or system call.

Related attack patterns (CAPEC)

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-77

CAPEC-76 Manipulating Web Input to File System Calls via CWE-77

CAPEC-15 Command Delimiters via CWE-77

CAPEC-40 Manipulating Writeable Terminal Devices via CWE-77

CAPEC-75 Manipulating Writeable Configuration Files via CWE-77

Show all 8

CAPEC-136 LDAP Injection via CWE-77

CAPEC-183 IMAP/SMTP Command Injection via CWE-77

CAPEC-248 Command Injection via CWE-77

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

The TP-Link Archer AX21 (AX1800) router, firmware versions prior to 1.1.4 Build 20230219, contains a critical command injection vulnerability in the web management interface. An unauthenticated attacker can exploit this vulnerability by sending a specially crafted POST request to the /cgi-bin/luci;stok=/locale endpoint, potentially leading to remote code execution with root privileges. This vulnerability has a high exploitation likelihood due to the availability of public proof-of-concept (PoC) code and a high EPSS score.

The vulnerability exists in the country form of the /cgi-bin/luci;stok=/locale endpoint on the web management interface. The country parameter is not properly sanitized before being used in a call to popen(). An unauthenticated attacker can send a POST request with malicious input to inject arbitrary commands, which will be executed with root privileges. This can lead to full system compromise, including unauthorized access, data exfiltration, and denial of service.

Compensating controls AI-drafted, review before use

Implement network segmentation to isolate the affected devices from critical systems. Apply strict firewall rules to limit access to the web management interface only to trusted IP addresses. Regularly monitor network traffic for suspicious activity.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2023-1389?

The TP-Link Archer AX21 (AX1800) router, firmware versions prior to 1.1.4 Build 20230219, contains a critical command injection vulnerability in the web management interface. An unauthenticated attacker can exploit this vulnerability by sending a specially crafted POST request to the /cgi-bin/luci;stok=/locale endpoint, potentially leading to remote code execution with root privileges. This vulnerability has a high exploitation likelihood due to the availability of public proof-of-concept (PoC)

What is the CVSS score for CVE-2023-1389?

CVE-2023-1389 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 89.3%.

Is CVE-2023-1389 actively exploited?

Yes. CVE-2023-1389 is in the CISA known-exploited catalog (added 2023-05-01). Active exploitation confirmed. Immediate patching required.

How do I remediate CVE-2023-1389?

Priority: IMMEDIATE.

What systems are affected by CVE-2023-1389?

CVE-2023-1389 affects Tp-Link Archer Ax21.

What NERC-CIP standard applies to CVE-2023-1389?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows an unauthenticated attacker to execute arbitrary commands on the device, which could compromise the integrity and availability of the control system.

What IEC 62443 requirement maps to CVE-2023-1389?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a command injection vulnerability that can be exploited to gain unauthorized access and execute commands, which directly impacts the security of the industrial control system.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Tp-Link","product":"Archer Ax21","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.