{
  "id": "CVE-2023-1389",
  "url": "https://poc.griffinguard.io/cve/CVE-2023-1389",
  "published_at": "2023-03-15T00:00:00Z",
  "title": "TP-Link Archer AX-21 Command Injection Vulnerability",
  "vendor": "TP-Link",
  "product": "TP-Link Archer AX21 (AX1800)",
  "cvss": {
    "score": 8.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2023-05-01",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 47
  },
  "first_poc": {
    "created_at": "2023-07-28T03:09:00Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 135.1,
    "repo": "Voyag3r-Security/CVE-2023-1389",
    "source": "github"
  },
  "poc_repo_count": 5,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": {
    "category": "Router / network device",
    "confidence": "high",
    "reason": "known edge product: TP-Link TP-Link Archer AX21 (AX1800) TP-Link Archer"
  },
  "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.",
  "cwe": "CWE-77",
  "cvss_by_source": {
    "cisa-adp": 8.8
  },
  "repos": [
    {
      "repo": "Terminal1337/CVE-2023-1389",
      "url": "https://github.com/Terminal1337/CVE-2023-1389",
      "created_at": null,
      "first_seen_at": "2026-11-14T22:15:13.872Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "Voyag3r-Security/CVE-2023-1389",
      "url": "https://github.com/Voyag3r-Security/CVE-2023-1389",
      "created_at": "2023-07-28T03:09:00Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 18,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2023-07-27T20:29:17Z"
    },
    {
      "repo": "werwolfz/CVE-2023-1389",
      "url": "https://github.com/werwolfz/CVE-2023-1389",
      "created_at": "2023-12-25T11:40:47Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-09-10T01:55:20Z"
    },
    {
      "repo": "BrandonFanti/FoWL",
      "url": "https://github.com/BrandonFanti/FoWL",
      "created_at": "2024-07-29T06:33:32Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-04-03T00:48:11Z"
    },
    {
      "repo": "infcodev/pentesting_scripts",
      "url": "https://github.com/infcodev/pentesting_scripts",
      "created_at": "2025-02-06T20:03:33Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-09-12T21:31:37Z"
    },
    {
      "repo": "ohnahee/CVE_2023_1389_poc",
      "url": "https://github.com/ohnahee/CVE_2023_1389_poc",
      "created_at": "2025-04-17T08:46:26Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-08-02T09:35:22Z"
    },
    {
      "repo": "R00T-Kim/SCOUT",
      "url": "https://github.com/R00T-Kim/SCOUT",
      "created_at": "2026-01-05T11:01:37Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 13,
      "is_poc": "no",
      "kind": "list",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-08-20T05:04:06Z"
    },
    {
      "repo": "defencore/openwrt_tp-link_archer_ax53_eu_1.0",
      "url": "https://github.com/defencore/openwrt_tp-link_archer_ax53_eu_1.0",
      "created_at": "2026-06-21T11:02:56Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-10-10T12:08:48Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/51677",
      "source": "exploitdb",
      "title": "TP-Link Archer AX21 - Unauthenticated Command Injection",
      "published_at": "2023-08-10T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-1389.yaml",
      "source": "nuclei",
      "title": "nuclei template: TP-Link Archer AX21 (AX1800) - Unauthenticated Command Injection",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/cgi-bin/luci/;stok=/locale",
      "query_markers": [
        "form=country",
        "operation=write",
        "country=$(",
        "country=$(nc"
      ],
      "protocol": "https",
      "repos": [
        "Voyag3r-Security/CVE-2023-1389",
        "werwolfz/CVE-2023-1389"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "Voyag3r-Security/CVE-2023-1389/archer-file-transfer.py:53",
        "Voyag3r-Security/CVE-2023-1389/archer-file-transfer.py:54",
        "Voyag3r-Security/CVE-2023-1389/archer-file-transfer.py:60",
        "Voyag3r-Security/CVE-2023-1389/archer-file-transfer.py:61",
        "Voyag3r-Security/CVE-2023-1389/archer-rev-shell.py:51",
        "Voyag3r-Security/CVE-2023-1389/archer-rev-shell.py:52",
        "werwolfz/CVE-2023-1389/main.go:42"
      ]
    }
  ],
  "rules": []
}
