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.

INFO

Published Date :

Aug. 29, 2022, 3:15 p.m.

Last Modified :

Nov. 21, 2024, 6:38 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2022-0336 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-0336 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Samba samba

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 2 weeks, 4 days ago
0 stars 0 fork 0 watcher
Born at : June 1, 2025, 1:01 p.m. This repo has been linked 6 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-0336 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-0336 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/security/cve/CVE-2022-0336
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2046134
    Added Reference https://bugzilla.samba.org/show_bug.cgi?id=14950
    Added Reference https://github.com/samba-team/samba/commit/1a5dc817c0c9379bbaab14c676681b42b0039a3c
    Added Reference https://github.com/samba-team/samba/commit/c58ede44f382bd0125f761f0479c8d48156be400
    Added Reference https://security.gentoo.org/glsa/202309-06
    Added Reference https://www.samba.org/samba/security/CVE-2022-0336.html
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Sep. 17, 2023

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202309-06 [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 01, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://access.redhat.com/security/cve/CVE-2022-0336 No Types Assigned https://access.redhat.com/security/cve/CVE-2022-0336 Issue Tracking, Third Party Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2046134 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2046134 Issue Tracking, Third Party Advisory
    Changed Reference Type https://bugzilla.samba.org/show_bug.cgi?id=14950 No Types Assigned https://bugzilla.samba.org/show_bug.cgi?id=14950 Issue Tracking, Patch, Vendor Advisory
    Changed Reference Type https://github.com/samba-team/samba/commit/1a5dc817c0c9379bbaab14c676681b42b0039a3c No Types Assigned https://github.com/samba-team/samba/commit/1a5dc817c0c9379bbaab14c676681b42b0039a3c Patch, Third Party Advisory
    Changed Reference Type https://github.com/samba-team/samba/commit/c58ede44f382bd0125f761f0479c8d48156be400 No Types Assigned https://github.com/samba-team/samba/commit/c58ede44f382bd0125f761f0479c8d48156be400 Patch, Third Party Advisory
    Changed Reference Type https://www.samba.org/samba/security/CVE-2022-0336.html No Types Assigned https://www.samba.org/samba/security/CVE-2022-0336.html Vendor Advisory
    Added CWE NIST CWE-276
    Added CPE Configuration OR *cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.13.17 *cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* versions from (including) 4.14.0 up to (excluding) 4.14.12 *cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* versions from (including) 4.15.0 up to (excluding) 4.15.4
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-0336 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-0336 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.20 }} -0.13%

score

0.43103

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Jun. 19, 2025 20:56