Webmin through 2.670 contains an improper certificate validation vulnerability that allows man-in-the-middle attackers to capture credentials because servers/save_serv.cgi skips the selected SSL certificate check. When fast RPC is set to Automatic, attackers intercepting the /fastrpc.cgi probe can obtain the remote Webmin username and password sent via HTTP Basic Authorization.
https://github.com/webmin/webmin/issues/2941
https://github.com/webmin/webmin/commit/49c8b88de1efdab0df8e9ded405ace0b705fe64d
https://github.com/webmin/webmin/blob/2.670/servers/save_serv.cgi#L58
https://github.com/webmin/webmin/blob/2.670/servers/save_serv.cgi#L47
https://github.com/webmin/webmin