In DCE/RPC it is possible to share the handles (cookies for resource state) between multiple connections via a mechanism called 'association groups'. These handles can reference connections to our sam.ldb database. However while the database was correctly shared, the user credentials state was only pointed at, and when one connection within that association group ended, the database would be left pointing at an invalid 'struct session_info'. The most likely outcome here is a crash, but it is possible that the use-after-free could instead allow different user state to be pointed at and this might allow more privileged access.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "ctdb" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "ctdb-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "libnss-winbind" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "libnss-winbind-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "libpam-winbind" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "libpam-winbind-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "libsmbclient" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "libsmbclient-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "libsmbclient-dev" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "libwbclient-dev" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "libwbclient0" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "libwbclient0-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "python3-samba" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "python3-samba-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "registry-tools" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "registry-tools-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "samba" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "samba-common" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "samba-common-bin" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "samba-common-bin-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "samba-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "samba-dev" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "samba-dsdb-modules" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "samba-dsdb-modules-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "samba-libs" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "samba-libs-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "samba-testsuite" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "samba-testsuite-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "samba-vfs-modules" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "samba-vfs-modules-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "smbclient" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "smbclient-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "winbind" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu0.20.04.1", "binary_name": "winbind-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "ctdb" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "ctdb-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "libnss-winbind" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "libnss-winbind-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "libpam-winbind" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "libpam-winbind-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "libsmbclient" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "libsmbclient-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "libsmbclient-dev" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "libwbclient-dev" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "libwbclient0" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "libwbclient0-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "python3-samba" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "python3-samba-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "registry-tools" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "registry-tools-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "samba" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "samba-common" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "samba-common-bin" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "samba-common-bin-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "samba-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "samba-dev" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "samba-dsdb-modules" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "samba-dsdb-modules-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "samba-libs" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "samba-libs-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "samba-testsuite" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "samba-testsuite-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "samba-vfs-modules" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "samba-vfs-modules-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "smbclient" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "smbclient-dbgsym" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "winbind" }, { "binary_version": "2:4.13.14+dfsg-0ubuntu1", "binary_name": "winbind-dbgsym" } ] }