Samba: smbd allows client access to unix domain sockets on the file system as root
Description
A path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory. Samba typically uses this mechanism to connect SMB clients to remote procedure call (RPC) services like SAMR LSA or SPOOLSS, which Samba initiates on demand. However, due to inadequate sanitization of incoming client pipe names, allowing a client to send a pipe name containing Unix directory traversal characters (../). This could result in SMB clients connecting as root to Unix domain sockets outside the private directory. If an attacker or client managed to send a pipe name resolving to an external service using an existing Unix domain socket, it could potentially lead to unauthorized access to the service and consequential adverse events, including compromise or service crashes.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
49cpe:/a:redhat:enterprise_linux:8::crb+ 3 more
- cpe:/a:redhat:enterprise_linux:8::crbrange: 0:4.18.6-2.el8_9
- cpe:/o:redhat:enterprise_linux:6
- cpe:/o:redhat:enterprise_linux:7
- cpe:/o:redhat:enterprise_linux:9::baseosrange: 0:4.18.6-101.el9_3
- Red Hat/Red Hat Enterprise Linux 8.8 Extended Update Supportv5cpe:/a:redhat:rhel_eus:8.8::appstreamRange: 0:4.17.5-4.el8_8
- Red Hat/Red Hat Enterprise Linux 9.0 Extended Update Supportv5cpe:/a:redhat:rhel_eus:9.0::resilientstorageRange: 0:4.15.5-111.el9_0
- Red Hat/Red Hat Enterprise Linux 9.2 Extended Update Supportv5cpe:/a:redhat:rhel_eus:9.2::crbRange: 0:4.17.5-104.el9_2
- cpe:/a:redhat:storage:3
- Red Hat/Red Hat Virtualization 4 for Red Hat Enterprise Linux 8v5cpe:/o:redhat:rhel_eus:8.6::baseosRange: 0:4.15.5-13.el8_6
- osv-coords39 versionspkg:rpm/almalinux/ctdbpkg:rpm/almalinux/libnetapipkg:rpm/almalinux/libnetapi-develpkg:rpm/almalinux/libsmbclientpkg:rpm/almalinux/libsmbclient-develpkg:rpm/almalinux/libwbclientpkg:rpm/almalinux/libwbclient-develpkg:rpm/almalinux/python3-sambapkg:rpm/almalinux/python3-samba-dcpkg:rpm/almalinux/python3-samba-develpkg:rpm/almalinux/python3-samba-testpkg:rpm/almalinux/sambapkg:rpm/almalinux/samba-clientpkg:rpm/almalinux/samba-client-libspkg:rpm/almalinux/samba-commonpkg:rpm/almalinux/samba-common-libspkg:rpm/almalinux/samba-common-toolspkg:rpm/almalinux/samba-dcerpcpkg:rpm/almalinux/samba-dc-libspkg:rpm/almalinux/samba-develpkg:rpm/almalinux/samba-krb5-printingpkg:rpm/almalinux/samba-ldb-ldap-modulespkg:rpm/almalinux/samba-libspkg:rpm/almalinux/samba-pidlpkg:rpm/almalinux/samba-testpkg:rpm/almalinux/samba-test-libspkg:rpm/almalinux/samba-toolspkg:rpm/almalinux/samba-usersharespkg:rpm/almalinux/samba-vfs-iouringpkg:rpm/almalinux/samba-winbindpkg:rpm/almalinux/samba-winbind-clientspkg:rpm/almalinux/samba-winbind-krb5-locatorpkg:rpm/almalinux/samba-winbind-modulespkg:rpm/almalinux/samba-winexepkg:rpm/opensuse/samba&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/samba&distro=openSUSE%20Tumbleweedpkg:rpm/suse/samba&distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015%20SP5pkg:rpm/suse/samba&distro=SUSE%20Linux%20Enterprise%20Micro%205.5pkg:rpm/suse/samba&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5
< 4.18.6-101.el9_3.alma.1+ 38 more
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.18.6-101.el9_3.alma.1
- (no CPE)range: < 4.17.9+git.421.abde31ca5c2-150500.3.11.1
- (no CPE)range: < 4.19.1+git.312.c912b3d2ef6-1.1
- (no CPE)range: < 4.17.9+git.421.abde31ca5c2-150500.3.11.1
- (no CPE)range: < 4.17.9+git.421.abde31ca5c2-150500.3.11.1
- (no CPE)range: < 4.17.9+git.421.abde31ca5c2-150500.3.11.1
Patches
Vulnerability mechanics
References
10- access.redhat.com/errata/RHSA-2023:6209mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2023:6744mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2023:7371mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2023:7408mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2023:7464mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2023:7467mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/security/cve/CVE-2023-3961mitrevdb-entryx_refsource_REDHAT
- bugzilla.redhat.com/show_bug.cgimitreissue-trackingx_refsource_REDHAT
- bugzilla.samba.org/show_bug.cgimitre
- www.samba.org/samba/security/CVE-2023-3961.htmlmitre
News mentions
0No linked articles in our index yet.