CVE-2023-3961
Last modified
CVE-2023-3961 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 2.41% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Samba | Samba | < 4.17.12 |
| Samba | Samba | >= 4.18.0, < 4.18.8 |
| Samba | Samba | >= 4.19.0, < 4.19.1 |
| Redhat | Storage | 3.0 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux Eus | 9.0 |
| Fedoraproject | Fedora | 39 |
References
- https://access.redhat.com/errata/RHSA-2023:6209Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:6744Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2023-3961Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2241881Issue Tracking
- https://bugzilla.samba.org/show_bug.cgi?id=15422Exploit, Issue Tracking
- https://www.samba.org/samba/security/CVE-2023-3961.htmlVendor Advisory
- https://access.redhat.com/errata/RHSA-2023:6209Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:6744Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2023-3961Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2241881Issue Tracking
- https://bugzilla.samba.org/show_bug.cgi?id=15422Exploit, Issue Tracking
- https://www.samba.org/samba/security/CVE-2023-3961.htmlVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-3961?
How severe is CVE-2023-3961?
How do I fix CVE-2023-3961?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-39584Hexo up to v7.0.0 (RC2) was discovered to contain an arbitra…7.5
- CVE-2023-3959Zavio CF7500, CF7300, CF7201, CF7501, CB3211, CB3212, CB5220…9.8
- CVE-2023-39593Insecure permissions in the sys_exec function of MariaDB v10…5.6
- CVE-2023-39598Cross Site Scripting vulnerability in IceWarp Corporation We…6.1
- CVE-2023-39599Cross-Site Scripting (XSS) vulnerability in CSZ CMS v.1.3.0 …5.4
- CVE-2023-39600IceWarp 11.4.6.0 was discovered to contain a cross-site scri…6.1
- CVE-2023-39610An issue in TP-Link Tapo C100 v1.1.15 Build 211130 Rel.15378…6.5
- CVE-2023-39611An issue in Software FX Chart FX 7 version 7.0.4962.20829 al…7.5
- CVE-2023-39612A cross-site scripting (XSS) vulnerability in FileBrowser be…9
- CVE-2023-39615Xmlsoft Libxml2 v2.11.0 was discovered to contain an out-of-…6.5
- CVE-2023-39616AOMedia v3.0.0 to v3.5.0 was discovered to contain an invali…7.5
- CVE-2023-39617TOTOLINK X5000R_V9.1.0cu.2089_B20211224 and X5000R_V9.1.0cu.…9.8
Are you affected by CVE-2023-3961?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
