samba: Samba AD users with permission to write to an account can impersonate arbitrary services
Published Aug 29, 2022
8.8
HIGHCVSS 3.1
EPSS 1.65%
Description
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
- Vendor n/a Product Samba Defaultn/a
- Version Affects Samba v4.0.0 and later, Fixed in samba v4.13.17, v4.14.12, v4.15.4.StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Samba | n/a |
|
Configuration 1
Configuration 2
- 34
- 35
No data.
Red Hat Enterprise Linux 6
samba
Not affected
Red Hat Enterprise Linux 6
samba4
Not affected
Red Hat Enterprise Linux 7
samba
Not affected
Red Hat Enterprise Linux 8
samba
Not affected
Red Hat Enterprise Linux 9
samba
Not affected
Red Hat Storage 3
samba
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | samba | Not affected | n/a |
| Red Hat Enterprise Linux 6 | samba4 | Not affected | n/a |
| Red Hat Enterprise Linux 7 | samba | Not affected | n/a |
| Red Hat Enterprise Linux 8 | samba | Not affected | n/a |
| Red Hat Enterprise Linux 9 | samba | Not affected | n/a |
| Red Hat Storage 3 | samba | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
No versions of Red Hat Enterprise Linux, Red Hat Gluster Storage, or any other Red Hat Products are affected by this vulnerability.
References (10)
- https://access.redhat.com/security/cve/CVE-2022-0336 Issue TrackingThird Party AdvisoryVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2046134 Issue TrackingThird Party Advisory
- https://bugzilla.samba.org/show_bug.cgi?id=14950 Issue TrackingPatchVendor Advisory
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-15499 Advisory
- https://github.com/samba-team/samba/commit/1a5dc817c0c9379bbaab14c676681b42b0039a3c PatchThird Party Advisory
- https://github.com/samba-team/samba/commit/c58ede44f382bd0125f761f0479c8d48156be400 PatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-0336
- https://security.gentoo.org/glsa/202309-06 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2022-0336
- https://www.samba.org/samba/security/CVE-2022-0336.html Vendor Advisory
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2022-0336 | Issue TrackingThird Party AdvisoryVendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2046134 | Issue TrackingThird Party Advisory | |
| https://bugzilla.samba.org/show_bug.cgi?id=14950 | Issue TrackingPatchVendor Advisory | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-15499 | Advisory | |
| https://github.com/samba-team/samba/commit/1a5dc817c0c9379bbaab14c676681b42b0039a3c | PatchThird Party Advisory | |
| https://github.com/samba-team/samba/commit/c58ede44f382bd0125f761f0479c8d48156be400 | PatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-0336 | ||
| https://security.gentoo.org/glsa/202309-06 | vendor-advisory | |
| https://www.cve.org/CVERecord?id=CVE-2022-0336 | ||
| https://www.samba.org/samba/security/CVE-2022-0336.html | Vendor Advisory |
Change history (0)
No recorded changes yet.