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."
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Link | Tags |
---|---|
https://www.calypt.com/blog/index.php/authenticated-rce-on-webmin/ | exploit third party advisory patch |
https://github.com/webmin/webmin/commit/df8a43fb4bdc9c858874f72773bcba597ae9432c | patch |
https://github.com/webmin/webmin/blob/ab5e00e41ea1ecc1e24b8f8693f3495a0abb1aed/rpc.cgi#L26-L37 | patch |
https://doxfer.webmin.com/Webmin/Webmin_Servers_Index | vendor advisory |