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.
References
Link | Resource |
---|---|
https://access.redhat.com/errata/RHSA-2023:6209 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2023:6744 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2023:7371 | |
https://access.redhat.com/errata/RHSA-2023:7408 | |
https://access.redhat.com/errata/RHSA-2023:7464 | |
https://access.redhat.com/errata/RHSA-2023:7467 | |
https://access.redhat.com/security/cve/CVE-2023-3961 | Third Party Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=2241881 | Issue Tracking |
https://bugzilla.samba.org/show_bug.cgi?id=15422 | Exploit Issue Tracking |
https://www.samba.org/samba/security/CVE-2023-3961.html | Vendor Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
History
16 Sep 2024, 15:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
24 Nov 2023, 09:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2023-11-03 13:15
Updated : 2024-09-16 15:15
NVD link : CVE-2023-3961
Mitre link : CVE-2023-3961
CVE.ORG link : CVE-2023-3961
JSON object : View
Products Affected
redhat
- storage
- enterprise_linux
- enterprise_linux_eus
fedoraproject
- fedora
samba
- samba
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')