Lucene search

K
cvelistRedhatCVELIST:CVE-2023-3961
HistoryNov 03, 2023 - 12:32 p.m.

CVE-2023-3961 Samba: smbd allows client access to unix domain sockets on the file system as root

2023-11-0312:32:29
CWE-22
redhat
raw.githubusercontent.com
3
cve-2023-3961
samba
path traversal
unix domain sockets
rpc services
client access
root access

6.1 Medium

AI Score

Confidence

Low

0.002 Low

EPSS

Percentile

61.5%

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.