Skip to content

CVE-2022-0336 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 bypas...

HighCVSS 8.8 EPSS 1.7%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 7 fixed.

PackageAffectedFixed inStatus
alpine/samba(Alpine v3.15) >= 4.15.0, < 4.15.12-r0 4.15.12-r0 Fixed
alpine/samba(Alpine v3.16) >= 4.15.0, < 4.15.12-r0 4.15.12-r0 Fixed
debian/samba(Debian 12) < 2:4.16.0+dfsg-2 2:4.16.0+dfsg-2 Fixed
debian/samba(Debian 13) < 2:4.16.0+dfsg-2 2:4.16.0+dfsg-2 Fixed
debian/samba(Debian 14) < 2:4.16.0+dfsg-2 2:4.16.0+dfsg-2 Fixed
samba >= 4.0.0, < 4.13.17; >= 4.14.0, < 4.14.12; >= 4.15.0, < 4.15.4 4.13.17, 4.14.12, 4.15.4 Fixed
ubuntu/samba(Ubuntu 20.04) < 2:4.13.17~dfsg-0ubuntu0.21.04.1; = 2:4.10.7+dfsg-0ubuntu2; = 2:4.10.7+dfsg-0ubuntu3; = 2:4.11.1+dfsg-3ubuntu1 +18 more 2:4.13.17~dfsg-0ubuntu0.21.04.1 Fixed
fedoraproject fedora = 34; = 35 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
samba >= 4.0.0, < 4.13.17 4.13.17
samba >= 4.14.0, < 4.14.12 4.14.12
samba >= 4.15.0, < 4.15.4 4.15.4
fedoraproject fedora = 34 No fix listed
fedoraproject fedora = 35 No fix listed
debian/samba(Debian:12) < 2:4.16.0+dfsg-2 2:4.16.0+dfsg-2
debian/samba(Debian:14) < 2:4.16.0+dfsg-2 2:4.16.0+dfsg-2
debian/samba(Debian:13) < 2:4.16.0+dfsg-2 2:4.16.0+dfsg-2
ubuntu/samba(Ubuntu:20.04) < 2:4.13.17~dfsg-0ubuntu0.21.04.1 2:4.13.17~dfsg-0ubuntu0.21.04.1
ubuntu/samba(Ubuntu:20.04) = 2:4.10.7+dfsg-0ubuntu2 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.10.7+dfsg-0ubuntu3 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.11.1+dfsg-3ubuntu1 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.11.1+dfsg-3ubuntu2 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.11.1+dfsg-3ubuntu4 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.11.5+dfsg-1ubuntu1 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.11.5+dfsg-1ubuntu2 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.11.6+dfsg-0ubuntu1 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.11.6+dfsg-0ubuntu1.1 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.11.6+dfsg-0ubuntu1.2 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.11.6+dfsg-0ubuntu1.3 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.11.6+dfsg-0ubuntu1.4 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.11.6+dfsg-0ubuntu1.5 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.11.6+dfsg-0ubuntu1.6 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.11.6+dfsg-0ubuntu1.8 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.11.6+dfsg-0ubuntu1.9 No fix listed
Show 7 more
ProductAffected versionsFixed in
ubuntu/samba(Ubuntu:20.04) = 2:4.11.6+dfsg-0ubuntu1.10 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.13.14+dfsg-0ubuntu0.20.04.1 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.13.14+dfsg-0ubuntu0.20.04.2 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.13.14+dfsg-0ubuntu0.20.04.3 No fix listed
ubuntu/samba(Ubuntu:20.04) = 2:4.13.14+dfsg-0ubuntu0.20.04.4 No fix listed
alpine/samba(Alpine:v3.15) >= 4.15.0, < 4.15.12-r0 4.15.12-r0
alpine/samba(Alpine:v3.16) >= 4.15.0, < 4.15.12-r0 4.15.12-r0

References