var-202303-1268
Vulnerability from variot
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. (DoS) It may be in a state. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link Archer AX21 routers. Authentication is not required to exploit this vulnerability.The specific flaw exists within the merge_country_config function. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute arbitrary code in the context of root. TP-Link Archer AX21 AX1800 is a TP-Link WIFI6 router.
There is a command injection vulnerability in TP-Link Archer AX21 AX1800. The vulnerability comes from not filtering user input
Show details on source website{
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/VARIoTentry#",
"affected_products": {
"@id": "https://www.variotdbs.pl/ref/affected_products"
},
"credits": {
"@id": "https://www.variotdbs.pl/ref/credits"
},
"cvss": {
"@id": "https://www.variotdbs.pl/ref/cvss/"
},
"description": {
"@id": "https://www.variotdbs.pl/ref/description/"
},
"exploit_availability": {
"@id": "https://www.variotdbs.pl/ref/exploit_availability/"
},
"external_ids": {
"@id": "https://www.variotdbs.pl/ref/external_ids/"
},
"iot": {
"@id": "https://www.variotdbs.pl/ref/iot/"
},
"iot_taxonomy": {
"@id": "https://www.variotdbs.pl/ref/iot_taxonomy/"
},
"patch": {
"@id": "https://www.variotdbs.pl/ref/patch/"
},
"problemtype_data": {
"@id": "https://www.variotdbs.pl/ref/problemtype_data/"
},
"references": {
"@id": "https://www.variotdbs.pl/ref/references/"
},
"sources": {
"@id": "https://www.variotdbs.pl/ref/sources/"
},
"sources_release_date": {
"@id": "https://www.variotdbs.pl/ref/sources_release_date/"
},
"sources_update_date": {
"@id": "https://www.variotdbs.pl/ref/sources_update_date/"
},
"threat_type": {
"@id": "https://www.variotdbs.pl/ref/threat_type/"
},
"title": {
"@id": "https://www.variotdbs.pl/ref/title/"
},
"type": {
"@id": "https://www.variotdbs.pl/ref/type/"
}
},
"@id": "https://www.variotdbs.pl/vuln/VAR-202303-1268",
"affected_products": {
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/affected_products#",
"data": {
"@container": "@list"
},
"sources": {
"@container": "@list",
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/sources#"
},
"@id": "https://www.variotdbs.pl/ref/sources"
}
},
"data": [
{
"model": "archer ax21",
"scope": null,
"trust": 1.5,
"vendor": "tp link",
"version": null
},
{
"model": "archer ax21",
"scope": "lt",
"trust": 1.0,
"vendor": "tp link",
"version": "1.1.4"
},
{
"model": "archer ax21",
"scope": "eq",
"trust": 0.8,
"vendor": "tp link",
"version": null
},
{
"model": "archer ax21",
"scope": "eq",
"trust": 0.8,
"vendor": "tp link",
"version": "archer ax21 firmware 1.1.4"
},
{
"model": "archer ax21 ax1800 build",
"scope": "lt",
"trust": 0.6,
"vendor": "tp link",
"version": "1.1.420230219"
}
],
"sources": [
{
"db": "ZDI",
"id": "ZDI-23-451"
},
{
"db": "CNVD",
"id": "CNVD-2023-17902"
},
{
"db": "JVNDB",
"id": "JVNDB-2023-005522"
},
{
"db": "NVD",
"id": "CVE-2023-1389"
}
]
},
"credits": {
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/credits#",
"sources": {
"@container": "@list",
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/sources#"
}
}
},
"data": "rskvp93, Q5Ca, and hoangnx99 from VcsLab of Viettel Cyber Security and Pham Nguyen Ngoc Bien \u0026 Dang Minh Tri from Qrious Secure",
"sources": [
{
"db": "ZDI",
"id": "ZDI-23-451"
}
],
"trust": 0.7
},
"cve": "CVE-2023-1389",
"cvss": {
"@context": {
"cvssV2": {
"@container": "@list",
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/cvss/cvssV2#"
},
"@id": "https://www.variotdbs.pl/ref/cvss/cvssV2"
},
"cvssV3": {
"@container": "@list",
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/cvss/cvssV3#"
},
"@id": "https://www.variotdbs.pl/ref/cvss/cvssV3/"
},
"severity": {
"@container": "@list",
"@context": {
"@vocab": "https://www.variotdbs.pl/cvss/severity#"
},
"@id": "https://www.variotdbs.pl/ref/cvss/severity"
},
"sources": {
"@container": "@list",
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/sources#"
},
"@id": "https://www.variotdbs.pl/ref/sources"
}
},
"data": [
{
"cvssV2": [
{
"accessComplexity": "LOW",
"accessVector": "NETWORK",
"authentication": "NONE",
"author": "CNVD",
"availabilityImpact": "COMPLETE",
"baseScore": 10.0,
"confidentialityImpact": "COMPLETE",
"exploitabilityScore": 10.0,
"id": "CNVD-2023-17902",
"impactScore": 10.0,
"integrityImpact": "COMPLETE",
"severity": "HIGH",
"trust": 0.6,
"vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
"version": "2.0"
}
],
"cvssV3": [
{
"attackComplexity": "LOW",
"attackVector": "ADJACENT",
"author": "nvd@nist.gov",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"exploitabilityScore": 2.8,
"id": "CVE-2023-1389",
"impactScore": 5.9,
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"trust": 1.0,
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
{
"attackComplexity": "Low",
"attackVector": "Adjacent Network",
"author": "NVD",
"availabilityImpact": "High",
"baseScore": 8.8,
"baseSeverity": "High",
"confidentialityImpact": "High",
"exploitabilityScore": null,
"id": "CVE-2023-1389",
"impactScore": null,
"integrityImpact": "High",
"privilegesRequired": "None",
"scope": "Unchanged",
"trust": 0.8,
"userInteraction": "None",
"vectorString": "CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.0"
},
{
"attackComplexity": "LOW",
"attackVector": "ADJACENT",
"author": "ZDI",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"exploitabilityScore": 2.8,
"id": "CVE-2023-1389",
"impactScore": 5.9,
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"trust": 0.7,
"userInteraction": "NONE",
"vectorString": "AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.0"
}
],
"severity": [
{
"author": "nvd@nist.gov",
"id": "CVE-2023-1389",
"trust": 1.0,
"value": "HIGH"
},
{
"author": "NVD",
"id": "CVE-2023-1389",
"trust": 0.8,
"value": "High"
},
{
"author": "ZDI",
"id": "CVE-2023-1389",
"trust": 0.7,
"value": "HIGH"
},
{
"author": "CNVD",
"id": "CNVD-2023-17902",
"trust": 0.6,
"value": "HIGH"
},
{
"author": "CNNVD",
"id": "CNNVD-202303-1280",
"trust": 0.6,
"value": "HIGH"
}
]
}
],
"sources": [
{
"db": "ZDI",
"id": "ZDI-23-451"
},
{
"db": "CNVD",
"id": "CNVD-2023-17902"
},
{
"db": "JVNDB",
"id": "JVNDB-2023-005522"
},
{
"db": "CNNVD",
"id": "CNNVD-202303-1280"
},
{
"db": "NVD",
"id": "CVE-2023-1389"
}
]
},
"description": {
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/description#",
"sources": {
"@container": "@list",
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/sources#"
}
}
},
"data": "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. (DoS) It may be in a state. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link Archer AX21 routers. Authentication is not required to exploit this vulnerability.The specific flaw exists within the merge_country_config function. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute arbitrary code in the context of root. TP-Link Archer AX21 AX1800 is a TP-Link WIFI6 router. \n\r\n\r\nThere is a command injection vulnerability in TP-Link Archer AX21 AX1800. The vulnerability comes from not filtering user input",
"sources": [
{
"db": "NVD",
"id": "CVE-2023-1389"
},
{
"db": "JVNDB",
"id": "JVNDB-2023-005522"
},
{
"db": "ZDI",
"id": "ZDI-23-451"
},
{
"db": "CNVD",
"id": "CNVD-2023-17902"
},
{
"db": "VULMON",
"id": "CVE-2023-1389"
}
],
"trust": 2.88
},
"external_ids": {
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/external_ids#",
"data": {
"@container": "@list"
},
"sources": {
"@container": "@list",
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/sources#"
}
}
},
"data": [
{
"db": "NVD",
"id": "CVE-2023-1389",
"trust": 4.6
},
{
"db": "TENABLE",
"id": "TRA-2023-11",
"trust": 2.5
},
{
"db": "PACKETSTORM",
"id": "174131",
"trust": 1.8
},
{
"db": "JVNDB",
"id": "JVNDB-2023-005522",
"trust": 0.8
},
{
"db": "ZDI_CAN",
"id": "ZDI-CAN-19557",
"trust": 0.7
},
{
"db": "ZDI",
"id": "ZDI-23-451",
"trust": 0.7
},
{
"db": "SEEBUG",
"id": "SSVID-99657",
"trust": 0.6
},
{
"db": "CNVD",
"id": "CNVD-2023-17902",
"trust": 0.6
},
{
"db": "CNNVD",
"id": "CNNVD-202303-1280",
"trust": 0.6
},
{
"db": "VULMON",
"id": "CVE-2023-1389",
"trust": 0.1
}
],
"sources": [
{
"db": "ZDI",
"id": "ZDI-23-451"
},
{
"db": "CNVD",
"id": "CNVD-2023-17902"
},
{
"db": "VULMON",
"id": "CVE-2023-1389"
},
{
"db": "JVNDB",
"id": "JVNDB-2023-005522"
},
{
"db": "CNNVD",
"id": "CNNVD-202303-1280"
},
{
"db": "NVD",
"id": "CVE-2023-1389"
}
]
},
"id": "VAR-202303-1268",
"iot": {
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/iot#",
"sources": {
"@container": "@list",
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/sources#"
}
}
},
"data": true,
"sources": [
{
"db": "CNVD",
"id": "CNVD-2023-17902"
}
],
"trust": 1.04642857
},
"iot_taxonomy": {
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/iot_taxonomy#",
"data": {
"@container": "@list"
},
"sources": {
"@container": "@list",
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/sources#"
}
}
},
"data": [
{
"category": [
"Network device"
],
"sub_category": null,
"trust": 0.6
}
],
"sources": [
{
"db": "CNVD",
"id": "CNVD-2023-17902"
}
]
},
"last_update_date": "2024-08-14T14:10:12.440000Z",
"patch": {
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/patch#",
"data": {
"@container": "@list"
},
"sources": {
"@container": "@list",
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/sources#"
}
}
},
"data": [
{
"title": "TP-Link has issued an update to correct this vulnerability.#Firmware",
"trust": 0.7,
"url": "https://www.tp-link.com/us/support/download/archer-ax21/v3/"
},
{
"title": "Patch for TP-Link Archer AX21 AX1800 Command Injection Vulnerability",
"trust": 0.6,
"url": "https://www.cnvd.org.cn/patchInfo/show/415346"
},
{
"title": "TP-LINK Archer AX21 Fixes for command injection vulnerabilities",
"trust": 0.6,
"url": "http://123.124.177.30/web/xxk/bdxqById.tag?id=229752"
}
],
"sources": [
{
"db": "ZDI",
"id": "ZDI-23-451"
},
{
"db": "CNVD",
"id": "CNVD-2023-17902"
},
{
"db": "CNNVD",
"id": "CNNVD-202303-1280"
}
]
},
"problemtype_data": {
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/problemtype_data#",
"sources": {
"@container": "@list",
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/sources#"
}
}
},
"data": [
{
"problemtype": "CWE-77",
"trust": 1.0
},
{
"problemtype": "Command injection (CWE-77) [NVD evaluation ]",
"trust": 0.8
}
],
"sources": [
{
"db": "JVNDB",
"id": "JVNDB-2023-005522"
},
{
"db": "NVD",
"id": "CVE-2023-1389"
}
]
},
"references": {
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/references#",
"data": {
"@container": "@list"
},
"sources": {
"@container": "@list",
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/sources#"
}
}
},
"data": [
{
"trust": 2.5,
"url": "https://www.tenable.com/security/research/tra-2023-11"
},
{
"trust": 1.8,
"url": "http://packetstormsecurity.com/files/174131/tp-link-archer-ax21-command-injection.html"
},
{
"trust": 0.8,
"url": "https://nvd.nist.gov/vuln/detail/cve-2023-1389"
},
{
"trust": 0.8,
"url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog"
},
{
"trust": 0.7,
"url": "https://www.tp-link.com/us/support/download/archer-ax21/v3/"
},
{
"trust": 0.6,
"url": "https://www.seebug.org/vuldb/ssvid-99657"
},
{
"trust": 0.6,
"url": "https://cxsecurity.com/cveshow/cve-2023-1389/"
},
{
"trust": 0.1,
"url": "https://nvd.nist.gov"
}
],
"sources": [
{
"db": "ZDI",
"id": "ZDI-23-451"
},
{
"db": "CNVD",
"id": "CNVD-2023-17902"
},
{
"db": "VULMON",
"id": "CVE-2023-1389"
},
{
"db": "JVNDB",
"id": "JVNDB-2023-005522"
},
{
"db": "CNNVD",
"id": "CNNVD-202303-1280"
},
{
"db": "NVD",
"id": "CVE-2023-1389"
}
]
},
"sources": {
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/sources#",
"data": {
"@container": "@list"
}
},
"data": [
{
"db": "ZDI",
"id": "ZDI-23-451"
},
{
"db": "CNVD",
"id": "CNVD-2023-17902"
},
{
"db": "VULMON",
"id": "CVE-2023-1389"
},
{
"db": "JVNDB",
"id": "JVNDB-2023-005522"
},
{
"db": "CNNVD",
"id": "CNNVD-202303-1280"
},
{
"db": "NVD",
"id": "CVE-2023-1389"
}
]
},
"sources_release_date": {
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/sources_release_date#",
"data": {
"@container": "@list"
}
},
"data": [
{
"date": "2023-04-24T00:00:00",
"db": "ZDI",
"id": "ZDI-23-451"
},
{
"date": "2023-03-17T00:00:00",
"db": "CNVD",
"id": "CNVD-2023-17902"
},
{
"date": "2023-03-15T00:00:00",
"db": "VULMON",
"id": "CVE-2023-1389"
},
{
"date": "2023-11-08T00:00:00",
"db": "JVNDB",
"id": "JVNDB-2023-005522"
},
{
"date": "2023-03-15T00:00:00",
"db": "CNNVD",
"id": "CNNVD-202303-1280"
},
{
"date": "2023-03-15T23:15:09.403000",
"db": "NVD",
"id": "CVE-2023-1389"
}
]
},
"sources_update_date": {
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/sources_update_date#",
"data": {
"@container": "@list"
}
},
"data": [
{
"date": "2023-04-24T00:00:00",
"db": "ZDI",
"id": "ZDI-23-451"
},
{
"date": "2023-03-17T00:00:00",
"db": "CNVD",
"id": "CNVD-2023-17902"
},
{
"date": "2023-03-16T00:00:00",
"db": "VULMON",
"id": "CVE-2023-1389"
},
{
"date": "2023-11-08T07:24:00",
"db": "JVNDB",
"id": "JVNDB-2023-005522"
},
{
"date": "2023-03-22T00:00:00",
"db": "CNNVD",
"id": "CNNVD-202303-1280"
},
{
"date": "2024-06-27T19:30:19.467000",
"db": "NVD",
"id": "CVE-2023-1389"
}
]
},
"threat_type": {
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/threat_type#",
"sources": {
"@container": "@list",
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/sources#"
}
}
},
"data": "remote or local",
"sources": [
{
"db": "CNNVD",
"id": "CNNVD-202303-1280"
}
],
"trust": 0.6
},
"title": {
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/title#",
"sources": {
"@container": "@list",
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/sources#"
}
}
},
"data": "TP-LINK\u00a0Technologies\u00a0 of \u00a0archer\u00a0ax21\u00a0 Command injection vulnerability in firmware",
"sources": [
{
"db": "JVNDB",
"id": "JVNDB-2023-005522"
}
],
"trust": 0.8
},
"type": {
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/type#",
"sources": {
"@container": "@list",
"@context": {
"@vocab": "https://www.variotdbs.pl/ref/sources#"
}
}
},
"data": "command injection",
"sources": [
{
"db": "CNNVD",
"id": "CNNVD-202303-1280"
}
],
"trust": 0.6
}
}
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.