CRITICAL · 9.1

CVE-2023-3961

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 SM...

Vulnerability 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.

CVSS Score

9.1

CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
SambaSamba< 4.17.12
RedhatStorage3.0
RedhatEnterprise Linux8.0
RedhatEnterprise Linux Eus9.0
FedoraprojectFedora39

Related Weaknesses (CWE)

References

FAQ

What is CVE-2023-3961?

CVE-2023-3961 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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 SM...

How severe is CVE-2023-3961?

CVE-2023-3961 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.

Is there a patch for CVE-2023-3961?

Check the references section above for vendor advisories and patch information. Affected products include: Samba Samba, Redhat Storage, Redhat Enterprise Linux, Redhat Enterprise Linux Eus, Fedoraproject Fedora.