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

Exp

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.

公開: 2023-11-03 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2023-3961 は悪用リスクが高い(80.5/100)。CVSS 深刻度は重大。悪用される可能性が高い(EPSS 2.41%、82 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2023-3961 に関する公開 exploit 参照(Exploit-DB)

EDB-ID ソース 種別 公開 リンク
nvd_ref exploit_tag Exploit-DB ↗

CVE-2023-3961 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 1.94% 2.41% +0.47%
2 2025-11-28 1.67% 1.94% +0.27%
3 2025-11-23 1.67%

EPSS の全履歴 (全 24 件)

CVE-2023-3961 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
9.1 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:N)
機微情報の漏えいは想定しにくい。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
3.9 5.2 [email protected]
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
3.9 5.9 [email protected]

CVE-2023-3961 の弱点分類(列挙)

CVE-2023-3961 の OS トラッカー

vendor priority summary link
alpine CVE-2023-3961: 1 source package rows (samba); 155 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 6, open 149. https://security.alpinelinux.org/vuln/CVE-2023-3961
debian unimportant CVE-2023-3961 unimportant priority: Debian including 1 source packages (samba), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2023-3961
gentoo high CVE-2023-3961: 1 GLSA(s) (202402-28), 1 atom(s) (net-fs/samba); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2023-3961
redhat medium https://access.redhat.com/security/cve/CVE-2023-3961
suse medium CVE-2023-3961 severity moderate: SUSE including 516 source package names (amazon/suse-sles-15-sp1-chost-byos-v20210304-hvm-ssd-x86_64, amazon/suse-sles-15-sp1-chost-byos-v20220127-hvm-ssd-x86_64, …), 1647 product×package rows across 90 product lines (Image SLES15-SP5-Azure-3P, Image SLES15-SP5-Azure-Basic, … (90 product lines)): Known Not Affected 1130, Fixed 286, Known Affected 231. https://www.suse.com/security/cve/CVE-2023-3961/
ubuntu medium CVE-2023-3961 medium priority: Ubuntu including 1 source packages (samba), 8 status rows across 8 suites (bionic, focal, jammy, lunar, mantic, trusty, upstream, xenial): not-affected 7, needs-triage 1. https://ubuntu.com/security/CVE-2023-3961

CVE-2023-3961 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
samba samba < 4.17.12 cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
samba samba >= 4.18.0, < 4.18.8 cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
samba samba >= 4.19.0, < 4.19.1 cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
redhat storage 3.0 cpe:2.3:a:redhat:storage:3.0:*:*:*:*:*:*:*
redhat enterprise_linux 8.0 cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
redhat enterprise_linux_eus 9.0 cpe:2.3:o:redhat:enterprise_linux_eus:9.0:*:*:*:*:*:*:*
fedoraproject fedora 39 cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*

CVE-2023-3961 の参考情報

cvelogic Threat Intelligence