Webmin through 2.670 contains a Perl code injection vulnerability in cluster-useradmin/sync.cgi that allows attackers to run code by placing single quotes in home directory paths. Attackers with root on one managed host can craft a home path that breaks out of remote_eval() string literals during Sync, executing Perl as root on other managed hosts.
https://github.com/webmin/webmin/issues/2941
https://github.com/webmin/webmin/commit/adc4fb5bba03ef3d786be3be8725c657970704fe
https://github.com/webmin/webmin/blob/2.670/cluster-useradmin/sync.cgi#L111
https://github.com/webmin/webmin/blob/2.670/cluster-useradmin/sync.cgi#L107
https://github.com/webmin/webmin