Vulnerabilities · 2022 · Samba
CVE-2022-0336
Samba vulnerability
The Samba AD DC includes checks when adding service principals names (SPNs) to an account to ensure that SPNs do not alias with those already in the database. Some of these checks are able to be bypassed if an account modification re-adds an SPN that was previously present on that account, such as one added when a computer is joined to a domain. An attacker who has the ability to write to an account can exploit this to perform a denial-of-service attack by adding an SPN that matches an existing service. Additionally, an attacker who can intercept traffic can impersonate existing services, resulting in a loss of confidentiality and integrity.
Affected products
Samba, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Samba runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugzilla.samba.org/show_bug.cgi?id=14950 · Patch
- www.samba.org/samba/security/CVE-2022-0336.html · Vendor Advisory
- github.com/samba-team/samba/commit/1a5dc817c0c9379bbaab14c676681b42b0039a3c · Patch
- github.com/samba-team/samba/commit/c58ede44f382bd0125f761f0479c8d48156be400 · Patch
- access.redhat.com/security/cve/CVE-2022-0336 · Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2046134 · Third Party Advisory
- security.gentoo.org/glsa/202309-06
- nvd.nist.gov/vuln/detail/CVE-2022-0336
- cve.org/CVERecord?id=CVE-2022-0336
More vulnerabilities in Samba products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.