A flaw was found in Samba’s certificate auto-enrollment Group Policy handling. When certificate auto-enrollment is enabled, Samba may retrieve a CA certificate over an unencrypted HTTP connection and install it into the local trust store without proper verification. An attacker with the ability to intercept or redirect network traffic could exploit this behavior to supply a malicious certificate authority certificate, potentially allowing interception or spoofing of trusted communications.
Systems are not affected unless Samba Group Policy processing and certificate auto-enrollment are explicitly enabled.
Administrators can reduce exposure by:
Avoiding unnecessary use of certificate auto-enrollment.
Ensuring your "smb.conf" does not contain a line like apply group policies = yes. If , group policy is not be enabled, the vulnerable code will not run.
Intercepting the HTTP request requires some control over the local network or other devices to intercept or redirect traffic. Some network administrators might assess this as a low risk on their
networks.