All Samba versions 4.x.x before 4.9.17, 4.10.x before 4.10.11 and 4.11.x before 4.11.3 have an issue, where the (poorly named) dnsserver RPC pipe provides administrative facilities to modify DNS records and zones. Samba, when acting as an AD DC, stores DNS records in LDAP. In AD, the default permissions on the DNS partition allow creation of new records by authenticated users. This is used for example to allow machines to self-register in DNS. If a DNS record was created that case-insensitively matched the name of the zone, the ldbqsort() and dnsname_compare() routines could be confused into reading memory prior to the list of DNS entries when responding to DnssrvEnumRecords() or DnssrvEnumRecords2() and so following invalid memory as a pointer.
{ "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro", "ubuntu_priority": "medium", "binaries": [ { "libwbclient-dev": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "samba-libs": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "registry-tools": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "samba-common-bin": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libsmbsharemodes0-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libwbclient0-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libpam-winbind-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libnss-winbind-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "samba-doc": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libsmbsharemodes0": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "samba-vfs-modules": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "winbind": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "samba-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "python-samba-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "samba-dsdb-modules-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libsmbsharemodes-dev-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "samba-common-bin-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "samba-testsuite": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "samba-dev-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "smbclient-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libsmbclient": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "samba": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libsmbsharemodes-dev": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libsmbclient-dev": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libwbclient0": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libparse-pidl-perl-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "samba-dsdb-modules": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "registry-tools-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "samba-vfs-modules-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "python-samba": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libpam-smbpass-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libsmbclient-dev-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libnss-winbind": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libsmbclient-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "samba-libs-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "samba-dbg": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "samba-testsuite-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "samba-common": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "winbind-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libpam-winbind": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "smbclient": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libwbclient-dev-dbgsym": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "samba-dev": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libparse-pidl-perl": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4", "libpam-smbpass": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "libwbclient-dev": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "samba-libs": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "registry-tools": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "samba-common-bin": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "libwbclient0-dbgsym": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "samba-dsdb-modules-dbgsym": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "libpam-winbind-dbgsym": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "libnss-winbind-dbgsym": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "samba-dbgsym": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "winbind": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "samba-vfs-modules": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "samba-common-bin-dbgsym": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "samba-testsuite": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "samba-dev-dbgsym": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "smbclient-dbgsym": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "libsmbclient": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "samba": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "libsmbclient-dev": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "libwbclient0": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "libparse-pidl-perl-dbgsym": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "samba-dsdb-modules": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "registry-tools-dbgsym": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "samba-vfs-modules-dbgsym": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "python-samba": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "ctdb": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "libsmbclient-dev-dbgsym": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "libnss-winbind": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "libsmbclient-dbgsym": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "samba-libs-dbgsym": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "samba-dbg": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "samba-testsuite-dbgsym": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "samba-common": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "winbind-dbgsym": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "libpam-winbind": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "smbclient": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "libwbclient-dev-dbgsym": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "samba-dev": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "libparse-pidl-perl": "2:4.3.11+dfsg-0ubuntu0.16.04.24", "ctdb-dbgsym": "2:4.3.11+dfsg-0ubuntu0.16.04.24" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "libwbclient-dev": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "samba-libs": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "registry-tools": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "samba-common-bin": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "libwbclient0-dbgsym": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "samba-dsdb-modules-dbgsym": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "libpam-winbind-dbgsym": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "libnss-winbind-dbgsym": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "samba-dbgsym": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "winbind": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "samba-vfs-modules": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "python-samba-dbgsym": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "samba-common-bin-dbgsym": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "samba-testsuite": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "smbclient-dbgsym": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "libsmbclient": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "samba": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "libwbclient0": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "libsmbclient-dev": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "python-samba": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "samba-dsdb-modules": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "registry-tools-dbgsym": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "samba-vfs-modules-dbgsym": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "ctdb": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "libnss-winbind": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "libsmbclient-dbgsym": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "samba-libs-dbgsym": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "winbind-dbgsym": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "samba-testsuite-dbgsym": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "samba-common": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "libpam-winbind": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "smbclient": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "samba-dev": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "libparse-pidl-perl": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14", "ctdb-dbgsym": "2:4.7.6+dfsg~ubuntu-0ubuntu2.14" } ] }