CVE-2023-3961
criticalA path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory.
Vendor / product: Samba — samba
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Affected products
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
References
- https://access.redhat.com/errata/RHSA-2023:6209 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2023:6744 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2023:7371 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2023:7408 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2023:7464 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2023:7467 secalert@redhat.com
- https://access.redhat.com/security/cve/CVE-2023-3961 secalert@redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2241881 secalert@redhat.com
- https://bugzilla.samba.org/show_bug.cgi?id=15422 secalert@redhat.com
- https://www.samba.org/samba/security/CVE-2023-3961.html secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2023:6209 af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2023:6744 af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2023:7371 af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2023:7408 af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2023:7464 af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/errata/RHSA-2023:7467 af854a3a-2127-422b-91ae-364da2661108
- https://access.redhat.com/security/cve/CVE-2023-3961 af854a3a-2127-422b-91ae-364da2661108
- https://bugzilla.redhat.com/show_bug.cgi?id=2241881 af854a3a-2127-422b-91ae-364da2661108
- https://bugzilla.samba.org/show_bug.cgi?id=15422 af854a3a-2127-422b-91ae-364da2661108
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/mes... af854a3a-2127-422b-91ae-364da2661108
- https://security.netapp.com/advisory/ntap-20231124-0002/ af854a3a-2127-422b-91ae-364da2661108
- https://www.samba.org/samba/security/CVE-2023-3961.html af854a3a-2127-422b-91ae-364da2661108

