CVE-2019-15642: Webmin - Remote Code Execution
- Cve: CVE-2019-15642
- Name: Webmin - Remote Code Execution
- Description: rpc.cgi in Webmin through 1.920 allows authenticated Remote Code Execution via a crafted object name because unserialise_variable makes an eval call. NOTE: the Webmin_Servers_Index documentation states "RPC can be used to run any command or modify any file on a server, which is why access to it must not be granted to un-trusted Webmin users."
- Impact: Authenticated attackers can execute arbitrary code on the server, leading to full system compromise.
- Remediation: Update to the latest version of Webmin where this issue is fixed.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs to be authenticated
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.36634
- Epss percentile: 0.98536
- Assignee: [email protected]
- Published at: 2019-08-26T18:15:12Z
- Age in days: 2647
- Modified at: 2026-06-17T02:20:47Z
- Patch available: yes
- Public exploits total: 3
- References total: 6
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-15642
- Nvd status: modified
- Checked, none or zero: public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2024-01-17 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2019-15642 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-15642.yaml |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.calypt.com/blog/index.php/authenticated-rce-on-webmin/ | nvd | 2019-08-26 |
| https://github.com/jas502n/CVE-2019-15642 | poc-in-github | 2019-09-01 |
| https://github.com/jas502n/CVE-2019-15642.git | vulncheck-xdb | 2019-09-01 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/webmin/webmin/blob/ab5e00e41ea1ecc1e24b8f8693f3495a0abb1aed/rpc.cgi#L26-L37 | nvd | Patch |
| https://github.com/webmin/webmin/commit/df8a43fb4bdc9c858874f72773bcba597ae9432c | nvd | Patch |
| https://www.calypt.com/blog/index.php/authenticated-rce-on-webmin/ | nvd | Exploit, Patch, Third Party Advisory |
| https://doxfer.webmin.com/Webmin/Webmin_Servers_Index | nvd | Vendor Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-15642.yaml | nuclei_template | Nuclei Template |
| https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2019-15642 | vulncheck | Vulncheck Reported Exploitation |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| webmin:webmin | <= 1.920 | no | nvd | /v1/products/webmin/webmin |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| webmin/webmin | commit | yes | /v1/repositories/webmin/webmin |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2024-01-17
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2019-08-26
- Remote: yes
- Authentication required: yes
- Exposed hosts: 95363
- Checked, none or zero: known exploited, exploitation seen, initial access
- Not known: known exploited since, initial access since, hackerone reports