Add link to security bugs in bugzilla
[samba-web.git] / security / CVE-2022-0336.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4
5 <head>
6 <title>Samba - Security Announcement Archive</title>
7 </head>
8
9 <body>
10
11    <H2>CVE-2022-0336.html:</H2>
12
13 <p>
14 <pre>
15 ===========================================================
16 == Subject:     Samba AD users with permission to write to
17 ==              an account can impersonate arbitrary services.
18 ==
19 == CVE ID#:     CVE-2022-0336
20 ==
21 == Versions:    Samba 4.0.0 and later
22 ==
23 == Summary:     Checks in the Samba AD DC to prevent aliased
24 ==              SPNs could be bypassed, giving users who can
25 ==              write to an account's servicePrincipalName
26 ==              attribute the ability to impersonate services.
27 ===========================================================
28
29 ===========
30 Description
31 ===========
32
33 The Samba AD DC includes checks when adding service principals names
34 (SPNs) to an account to ensure that SPNs do not alias with those
35 already in the database. Some of these checks are able to be bypassed
36 if an account modification re-adds an SPN that was previously present
37 on that account, such as one added when a computer is joined to a
38 domain.
39
40 An attacker who has the ability to write to an account can exploit
41 this to perform a denial-of-service attack by adding an SPN that
42 matches an existing service. Additionally, an attacker who can
43 intercept traffic can impersonate existing services, resulting in a
44 loss of confidentiality and integrity.
45
46 ==================
47 Patch Availability
48 ==================
49
50 Patches addressing both these issues have been posted to:
51
52     https://www.samba.org/samba/security/
53
54 Additionally, Samba 4.13.17, 4.14.12, and 4.15.4 have been issued
55 as security releases to correct the defect.  Samba administrators are
56 advised to upgrade to these releases or apply the patch as soon
57 as possible.
58
59 ==================
60 CVSSv3 calculation
61 ==================
62
63 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (8.8)
64
65 ==========
66 Workaround
67 ==========
68
69 None.
70
71 =======
72 Credits
73 =======
74
75 Originally reported by Kees van Vloten.
76
77 Analysis, patches, and this advisory by Joseph Sutton of Catalyst
78 and the Samba Team.
79
80 ==========================================================
81 == Our Code, Our Bugs, Our Responsibility.
82 == The Samba Team
83 ==========================================================
84 </pre>
85 </body>
86 </html>