Samba up to 4.13.16/4.14.11/4.15.3 AD DC ldb_modules/samldb.c samldb_spn_uniqueness_check default permission
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.4 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Samba up to 4.13.16/4.14.11/4.15.3. It has been rated as critical. This affects the function samldb_spn_uniqueness_check of the file ldb_modules/samldb.c of the component AD DC. Performing a manipulation results in default permission.
This vulnerability is identified as CVE-2022-0336. The attack can be initiated remotely. There is not any exploit available.
Upgrading the affected component is advised.
Details
A vulnerability was found in Samba up to 4.13.16/4.14.11/4.15.3 (File Transfer Software). It has been classified as critical. This affects the function samldb_spn_uniqueness_check of the file ldb_modules/samldb.c of the component AD DC. The manipulation with an unknown input leads to a default permission vulnerability. CWE is classifying the issue as CWE-276. During installation, installed file permissions are set to allow anyone to modify those files. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
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.
The weakness was released 08/29/2022 as 1a5dc817c0c9379bbaab14c676681b42b0039a3c. The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2022-0336 since 01/21/2022. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1222 for this issue.
Upgrading to version 4.13.17, 4.14.12 or 4.15.4 eliminates this vulnerability. Applying the patch 1a5dc817c0c9379bbaab14c676681b42b0039a3c is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2022-15499). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Name
Version
- 4.13.0
- 4.13.1
- 4.13.2
- 4.13.3
- 4.13.4
- 4.13.5
- 4.13.6
- 4.13.7
- 4.13.8
- 4.13.9
- 4.13.10
- 4.13.11
- 4.13.12
- 4.13.13
- 4.13.14
- 4.13.15
- 4.13.16
- 4.14.0
- 4.14.1
- 4.14.2
- 4.14.3
- 4.14.4
- 4.14.5
- 4.14.6
- 4.14.7
- 4.14.8
- 4.14.9
- 4.14.10
- 4.14.11
- 4.15.0
- 4.15.1
- 4.15.2
- 4.15.3
License
Website
- Product: https://www.samba.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB Meta Temp Score: 7.4
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Default permissionCWE: CWE-276 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Samba 4.13.17/4.14.12/4.15.4
Patch: 1a5dc817c0c9379bbaab14c676681b42b0039a3c
Timeline
01/21/2022 🔍08/29/2022 🔍
08/29/2022 🔍
03/25/2026 🔍
Sources
Product: samba.orgAdvisory: 1a5dc817c0c9379bbaab14c676681b42b0039a3c
Status: Confirmed
CVE: CVE-2022-0336 (🔍)
GCVE (CVE): GCVE-0-2022-0336
GCVE (VulDB): GCVE-100-207501
EUVD: 🔍
Entry
Created: 08/29/2022 19:46Updated: 03/25/2026 17:47
Changes: 08/29/2022 19:46 (45), 10/09/2022 11:52 (11), 03/25/2026 17:47 (16)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.