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."
References
Link | Resource |
---|---|
https://github.com/webmin/webmin/blob/ab5e00e41ea1ecc1e24b8f8693f3495a0abb1aed/rpc.cgi#L26-L37 | Patch |
https://doxfer.webmin.com/Webmin/Webmin_Servers_Index | Vendor Advisory |
https://www.calypt.com/blog/index.php/authenticated-rce-on-webmin/ | Exploit Patch Third Party Advisory |
https://github.com/webmin/webmin/commit/df8a43fb4bdc9c858874f72773bcba597ae9432c | Patch |
Configurations
Information
Published : 2019-08-26 11:15
Updated : 2019-09-04 11:09
NVD link : CVE-2019-15642
Mitre link : CVE-2019-15642
JSON object : View
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
Products Affected
webmin
- webmin