Webmin through 2.670 contains an OS command injection vulnerability in ldap-client/check.cgi that allows LDAP directory writers to execute commands via unquoted uid values. Attackers can create a posixAccount entry with shell metacharacters in its uid, executing commands as root when an administrator runs Check Configuration.
https://github.com/webmin/webmin/issues/2941
https://github.com/webmin/webmin/commit/ada632465f6290ca4ebfe9e3407f1963ce7b5862
https://github.com/webmin/webmin/blob/2.670/ldap-client/check.cgi#L98
https://github.com/webmin/webmin/blob/2.670/ldap-client/check.cgi#L103-L104
https://github.com/webmin/webmin