CVE-2018-14628
Samba vulnerability analysis and mitigation

Overview

An information leak vulnerability (CVE-2018-14628) was discovered in Samba's LDAP server affecting all versions from 4.0.0 onwards when Samba is configured as an Active Directory Domain Controller. The vulnerability was discovered by Andrew Bartlett of Catalyst and the Samba Team, with Stefan Metzmacher of SerNet providing the final fix (Samba Security).

Technical details

The vulnerability stems from incorrect ntSecurityDescriptor values for "CN=Deleted Objects" containers. When a domain was provisioned with an unpatched Samba version, the ntSecurityDescriptor is simply inherited from Domain/Partition-HEAD-Object instead of having strict permissions as seen in Windows-provisioned domains. This misconfiguration allows non-privileged users to use the LDAPSERVERSHOWDELETEDOID control to view names and preserved attributes of deleted objects (Samba Security). The vulnerability has been assigned a CVSS v3.1 score of 4.3 (MEDIUM) with the vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N (NetApp Security).

Impact

The vulnerability leads to an information disclosure where authenticated but unprivileged users can view the names and preserved attributes of deleted objects in the LDAP store. While no information that was hidden before deletion becomes visible, the entire deleted object should not be visible without administrative rights, as is the case in Microsoft Active Directory (Samba Security).

Mitigation and workarounds

After applying the patch, administrators must run 'samba-tool dbcheck --cross-ncs --attrs=nTSecurityDescriptor --fix' on one domain controller to protect existing domains. Alternatively, administrators can manually change the ntSecurityDescriptor attribute for the "CN=Deleted Objects" containers to the following SDDL: O:SYG:SYD:PAI(A;;RPWPCCDCLCRCWOWDSDSW;;;SY)(A;;RPLC;;;BA). This gives System FullAccess while Builtin\Administrators has ReadProperty and ListChildren rights (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-debugsource
NoYesNov 07, 2025
CVE-2020-25720HIGH7.5
  • SambaSamba
  • samba-common
NoYesNov 17, 2024
CVE-2025-0620MEDIUM4.9
  • SambaSamba
  • ctdb
NoYesJun 06, 2025
CVE-2025-9640MEDIUM4.3
  • SambaSamba
  • samba-winbind-clients
NoYesOct 15, 2025
CVE-2025-58160LOW2.3
  • RustRust
  • ruff
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