CVE-2023-0922
Samba vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2023-0922) affects the Samba Active Directory (AD) DC administration tool in all versions of Samba since 4.0. The issue occurs when the tool operates against a remote LDAP server, where it sends new or reset passwords over a signed-only connection by default, potentially exposing sensitive password information (Samba Security).

Technical details

The vulnerability stems from Samba's lack of encryption restriction when setting passwords over LDAP, unlike Microsoft's implementation which requires encrypted connections. When samba-tool connects using a Kerberos secured LDAP connection against a Samba AD DC, an attacker capable of observing network traffic could intercept newly set passwords. This specifically impacts connections made using Kerberos, as NTLM-protected connections are automatically upgraded to encryption. The vulnerability has been assigned a CVSS v3.1 score of 5.9 (Medium) with the vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N (Samba Security).

Impact

If successfully exploited, this vulnerability could lead to the disclosure of sensitive password information when setting new passwords or adding new users. The impact is particularly significant for password reset operations and new user creation processes using the samba-tool against a remote LDAP server (Samba Security).

Mitigation and workarounds

To mitigate this vulnerability, administrators should set 'client ldap sasl wrapping = seal' in the smb.conf file or add the --option=clientldapsaslwrapping=sign option to any samba-tool or ldbmodify invocation that sets a password. The patch changes all Samba AD LDAP client connections to use encryption by default by modifying the default value of 'client ldap sasl wrapping' to 'seal' in Samba's smb.conf (Samba Security).

Additional resources


SourceThis report was generated using AI

Related Samba vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-10230CRITICAL10
  • SambaSamba
  • samba-ldb-ldap-modules
NoYesNov 07, 2025
CVE-2020-25720HIGH7.5
  • SambaSamba
  • samba-test-debuginfo
NoYesNov 17, 2024
CVE-2025-0620MEDIUM4.9
  • SambaSamba
  • samba-devel
NoYesJun 06, 2025
CVE-2025-9640MEDIUM4.3
  • SambaSamba
  • samba-client-debuginfo
NoYesOct 15, 2025
CVE-2025-58160LOW2.3
  • RustRust
  • bustle-debuginfo
NoYesAug 29, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management