CVE-2022-0336 Missing authorization in Samba

High 8.8 Published Updated

Attackers can bypass SPN checks to cause denial of service or impersonate services, compromising confidentiality and integrity in Samba AD DC.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-0336?

CVE-2022-0336 is a high-severity missing authorization vulnerability in Fedoraproject Fedora, published on 29 Aug 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-276

Which versions are affected by CVE-2022-0336?

It affects 2 products.

Products include Fedoraproject Fedora, Samba Samba.

How do I fix CVE-2022-0336?

Apply the vendor's patch.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2022-0336 being exploited?

There is no known exploitation of CVE-2022-0336 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALPINE-CVE-2022-0336, AZL-10741, AZL-37009, DEBIAN-CVE-2022-0336, ECHO-59df-2e7f-be70, GHSA-rg44-hwh5-vcpq and 2 more.

Is CVE-2022-0336 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free