First published: Tue Oct 03 2023(Updated: )
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.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/samba | <4.19.1 | 4.19.1 |
redhat/samba | <4.18.8 | 4.18.8 |
redhat/samba | <4.17.12 | 4.17.12 |
<4.17.12 | ||
>=4.18.0<4.18.8 | ||
>=4.19.0<4.19.1 | ||
=3.0 | ||
=8.0 | ||
=9.0 | ||
=39 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-3961 is a vulnerability in Samba that allows client access to Unix domain sockets on the file system as root.
The severity of CVE-2023-3961 is critical with a CVSS score of 9.8.
CVE-2023-3961 affects Samba versions up to and exclusive of 4.19.1, 4.18.8, and 4.17.12.
To fix CVE-2023-3961 in Samba, update to version 4.19.1, 4.18.8, or 4.17.12.
Yes, you can find more information about CVE-2023-3961 at the following references: [Bugzilla - Samba](https://bugzilla.samba.org/show_bug.cgi?id=15422), [Samba Security](https://www.samba.org/samba/security/CVE-2023-3961.html), and [Bugzilla - Red Hat](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2243228).