Patchfirst
CVE-2023-1389 KEVPublic exploit High · 8.8 EPSS >99.9%

TP-Link Archer AX-21 Command Injection Vulnerability

TP-Link · Archer AX21

Summary

The TP-Link Archer AX21 (AX1800) web management interface has a command injection flaw in the country parameter of the /cgi-bin/luci;stok=/locale endpoint in firmware before 1.1.4 Build 20230219, where unsanitized input is passed to popen(). An unauthenticated attacker on the adjacent network can exploit it with a single crafted POST request, with no user interaction, to run commands as root.

Official description · NVD

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.

Breakdown
69.2 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
4/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

  3. What can follow

First seen exploited 40 days after disclosure. Public exploit code (PoC-in-GitHub) appeared 4 months after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+40 days
  3. Added to CISA KEVEU database agrees+47 days
  4. Public exploit codePoC-in-GitHub+4 mo

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

5 , grouped by in kill-chain order 5

ExecutionTA0002

Native API T1106
MITRE CTID mapping of the KEV entry · how it is exploited

CVE-2023-1389 is a command injection vulnerability in one of the API components within the TP-Link Archer router’s web management interface. Public reports have reported that multiple botnet malware under the Mirai variants, including Condi, are targeting these vulnerable devices.

Stealth

MITRE CTID mapping of the KEV entry · follow-on activity

ExfiltrationTA0010

MITRE CTID mapping of the KEV entry · follow-on activity

ImpactTA0040

MITRE CTID mapping of the KEV entry · primary impact
MITRE CTID mapping of the KEV entry · follow-on activity

Detection

1 rule for this CVE · 55 general rules for its techniques

Rules for this CVE

1 that reference CVE-2023-1389 directly.

General rules for this CVE’s techniques

These detect the technique in general, not this specific vulnerability.

Native APIT110614 general rules
Resource HijackingT149613 general rules
Indicator RemovalT107020 general rules
Exfiltration Over C2 ChannelT10415 general rules
Network Denial of ServiceT14983 general rules

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

3 links, grouped by NVD tag (2 duplicates merged)
↑ ↓ chooseEnter openEsc close