NULL pointer dereference in Samba - CVE-2018-10918

 

NULL pointer dereference in Samba - CVE-2018-10918

Published: August 14, 2018


Vulnerability identifier: #VU14334
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-10918
CWE-ID: CWE-476
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause denial of service attack.

The vulnerability exists due to a NULL pointer deference error when processing directory attributes from the LDB database layer within the DsCrackNames() function in DRSUAPI RPC server. A remote authenticated attacker can send a specially crafted request to the vulnerable samba server, trigger NULL pointer dereference error and crash the affected server.

Successful exploitation of the vulnerability requires that the Samba is configured as an Active Directory Domain Controller.


Affected software

Samba
Gentoo Linux
Opensuse
Fedora
samba (Alpine package)
libldb
samba

How to mitigate CVE-2018-10918

Update to version 4.7.9 or 4.8.4.

Samba - addressed in versions 4.7.9, 4.8.4
samba (Alpine package) - update to 4.7.6-r1
libldb - update to 1.4.0-3.fc28.1.3.5
samba - addressed in versions 4.7.9-0.fc27, 4.8.4-0.fc28

External References

Related Security Bulletins