Samba
At a glance
- Source
- NVD
- EPSS
- EPSS 1.75 % · percentile 78 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-276 — Incorrect Default Permissions
References
- https://www.samba.org/samba/security/CVE-2022-0336.html
- https://bugzilla.samba.org/show_bug.cgi?id=14950
- https://github.com/samba-team/samba/commit/1a5dc817c0c9379bbaab14c676681b42b0039a3c
- https://github.com/samba-team/samba/commit/c58ede44f382bd0125f761f0479c8d48156be400
- https://bugzilla.redhat.com/show_bug.cgi?id=2046134
- https://access.redhat.com/security/cve/CVE-2022-0336
- https://security.gentoo.org/glsa/202309-06
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2022-15499
- GCVE · GCVE-0-2022-0336
CERT-FR advisories
- CERTFR-2022-AVI-324 — Multiples vulnérabilités dans les produits QNAP · cert.ssi.gouv.fr
- CERTFR-2022-AVI-096 — Multiples vulnérabilités dans Samba · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*≥ 4.0.0 < 4.13.17cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*≥ 4.14.0 < 4.14.12cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*≥ 4.15.0 < 4.15.4cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Samba | affected Affects Samba v4.0.0 and later, Fixed in samba v4.13.17, v4.14.12, v4.15.4. |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |