A flaw was found in the samba client, all samba versions before samba 4.11.2, 4.10.10 and 4.9.15, where a malicious server can supply a path
A flaw was found in the samba client, all samba versions before samba 4.11.2, 4.10.10 and 4.9.15, where a malicious server can supply a pathname to the client with separators. This could allow the client to access files and folders outside of the SMB network pathnames. An attacker could use this vulnerability to create files outside of the current working directory using the privileges of the client user.
- Yayın
- 6 Kas 2019
- Güncelleme
- 16 Haz 2026
- EPSS
- %3,4 · 88. yüzdelik
- CWE
- CWE-22
Takip etmek için giriş yap · Takip ettiğin kayıt KEV’e girer, istismarı çıkar ya da güncellenirse bildirim alırsın.
Rapor araçları
Aksiyon skoru
27
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 26 / 40 · 6.5 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 1 / 30 · %3,4
CNA ile NVD puanı
- NVD
- 6,5
- CNA · redhat
- 5,3
- 1,2 puan fark
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Kaydı açan otoritenin puanı ile NVD’nin bağımsız puanı. İki puan arasındaki fark ciddiyetin tartışmalı olduğunu gösterir.
Etkilenen sistemler
| Üretici | Ürün | CPE |
|---|---|---|
| samba | samba | cpe:2.3:a:samba:samba |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Etkilenen sürümler
NVD sürüm aralıkları (katalogdaki ürünler için). Stack’ine sürümle eklersen eşleşme bunlarla yapılır.
- fedoraproject fedora29
- fedoraproject fedora31
- samba samba4.9.15 öncesi
- samba samba4.10.0 ve sonrası · 4.10.10 öncesi
- samba samba4.11.0 ve sonrası · 4.11.2 öncesi
Üreticinin bildirdiği sürümler
Kaydı açan otorite (redhat) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.
Samba samba
- all samba versions before samba 4.11.2, 4.10.10 and 4.9.15etkilenir
Paket düzeyi etkilenme
OSV ve GitHub Advisory verisi: ekosistem, paket ve aralık. SBOM eşleşmesi bu tabloyu kullanır.
| Ekosistem | Paket | Etkilenen aralık | Düzeltme |
|---|---|---|---|
| Alpine:v3.10 | samba | 4.10.0 itibarıyla · 4.10.10-r0 öncesi | 4.10.10-r0 |
| Alpine:v3.11 | samba | 4.10.0 itibarıyla · 4.11.2-r0 öncesi | 4.11.2-r0 |
| Alpine:v3.8 | samba | 4.10.0 itibarıyla · 4.8.12-r1 öncesi | 4.8.12-r1 |
| Debian:10 | samba | 2:4.9.5+dfsg-5+deb10u4 öncesi | 2:4.9.5+dfsg-5+deb10u4 |
| Debian:12 | samba | 2:4.11.1+dfsg-2 öncesi | 2:4.11.1+dfsg-2 |
| Debian:9 | samba | 2:4.5.16+dfsg-1+deb9u4 öncesi | 2:4.5.16+dfsg-1+deb9u4 |
| openSUSE:Leap 15.0 | samba | 4.7.11+git.186.d75219614c3-lp150.3.18.2 öncesi | 4.7.11+git.186.d75219614c3-lp150.3.18.2 |
| openSUSE:Leap 15.1 | samba | 4.9.5+git.210.ab0549acb05-lp151.2.9.1 öncesi | 4.9.5+git.210.ab0549acb05-lp151.2.9.1 |
| Red Hat:enterprise_linux:7::client | libsmbclient | 0:4.10.4-10.el7 öncesi | 0:4.10.4-10.el7 |
| Red Hat:enterprise_linux:7::client | libsmbclient-devel | 0:4.10.4-10.el7 öncesi | 0:4.10.4-10.el7 |
| Red Hat:enterprise_linux:7::client | libwbclient | 0:4.10.4-10.el7 öncesi | 0:4.10.4-10.el7 |
| Red Hat:enterprise_linux:7::client | libwbclient-devel | 0:4.10.4-10.el7 öncesi | 0:4.10.4-10.el7 |
| Red Hat:enterprise_linux:7::client | samba | 0:4.10.4-10.el7 öncesi | 0:4.10.4-10.el7 |
| Red Hat:enterprise_linux:7::client | samba-client | 0:4.10.4-10.el7 öncesi | 0:4.10.4-10.el7 |
| Red Hat:enterprise_linux:7::client | samba-client-libs | 0:4.10.4-10.el7 öncesi | 0:4.10.4-10.el7 |
| Red Hat:enterprise_linux:7::client | samba-common | 0:4.10.4-10.el7 öncesi | 0:4.10.4-10.el7 |
| Red Hat:enterprise_linux:7::client | samba-common-libs | 0:4.10.4-10.el7 öncesi | 0:4.10.4-10.el7 |
| Red Hat:enterprise_linux:7::client | samba-common-tools | 0:4.10.4-10.el7 öncesi | 0:4.10.4-10.el7 |
| Red Hat:enterprise_linux:7::client | samba-dc | 0:4.10.4-10.el7 öncesi | 0:4.10.4-10.el7 |
| Red Hat:enterprise_linux:7::client | samba-dc-libs | 0:4.10.4-10.el7 öncesi | 0:4.10.4-10.el7 |
| Red Hat:enterprise_linux:7::client | samba-debuginfo | 0:4.10.4-10.el7 öncesi | 0:4.10.4-10.el7 |
| Red Hat:enterprise_linux:7::client | samba-devel | 0:4.10.4-10.el7 öncesi | 0:4.10.4-10.el7 |
| Red Hat:enterprise_linux:7::client | samba-krb5-printing | 0:4.10.4-10.el7 öncesi | 0:4.10.4-10.el7 |
| Red Hat:enterprise_linux:7::client | samba-libs | 0:4.10.4-10.el7 öncesi | 0:4.10.4-10.el7 |
+96
Aynı üründe
samba: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2017-7494Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allowing a malicious cliKEV99Hemen
- CVE-2015-0240The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x befor66Bu hafta
- CVE-2003-0085Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in Samba before 2.2.8, and Samba-TNG before 0.3.1, al66Bu hafta
- CVE-2003-0201Buffer overflow in the call_trans2open function in trans2.c for Samba 2.2.x before 2.2.8a, 2.0.10 and earlier 2.0.x versions, and Samba-TNG 65Bu hafta
- CVE-2007-2446Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through 3.0.25rc3 allow remote attackers to execute arbitrary63Bu hafta
- CVE-2012-1182The RPC code generator in Samba 3.x before 3.4.16, 3.5.x before 3.5.14, and 3.6.x before 3.6.4 does not implement validation of an array len62Bu hafta
Düzeltme
Hangi sürüme geçmeli
Üretici, paket deposu ve Microsoft kayıtlarından derlenen düzeltme sürümleri. Yükseltmeden önce üreticinin notunu doğrulayın.
| Ürün / paket | Düzeltilmiş sürüm | Kaynak |
|---|---|---|
| alpine:samba | 4.10.10-r0 · Alpine:v3.10 | Paket deposu (OSV) |
| debian:samba | 2:4.11.1+dfsg-2 · Debian:12 | Paket deposu (OSV) |
| opensuse:samba | 4.9.5+git.210.ab0549acb05-lp151.2.9.1 · openSUSE:Leap 15.1 | Paket deposu (OSV) |
| red hat:ctdb | 0:4.11.6-104.el7rhgs · Red Hat:storage:3.5:samba:el7 | Paket deposu (OSV) |
| red hat:libsmbclient | 0:4.11.6-104.el7rhgs · Red Hat:storage:3.5:samba:el7 | Paket deposu (OSV) |
| red hat:libsmbclient-devel | 0:4.11.6-104.el7rhgs · Red Hat:storage:3.5:samba:el7 | Paket deposu (OSV) |
| red hat:libtalloc | 0:2.2.0-9.el7rhgs · Red Hat:storage:3.5:samba:el7 | Paket deposu (OSV) |
| red hat:libtalloc-debuginfo | 0:2.2.0-9.el7rhgs · Red Hat:storage:3.5:samba:el7 | Paket deposu (OSV) |
| red hat:libtalloc-devel | 0:2.2.0-9.el7rhgs · Red Hat:storage:3.5:samba:el7 | Paket deposu (OSV) |
| red hat:libtdb | 0:1.4.2-4.el7rhgs · Red Hat:storage:3.5:samba:el7 | Paket deposu (OSV) |
| red hat:libtdb-debuginfo | 0:1.4.2-4.el7rhgs · Red Hat:storage:3.5:samba:el7 | Paket deposu (OSV) |
| red hat:libtdb-devel | 0:1.4.2-4.el7rhgs · Red Hat:storage:3.5:samba:el7 | Paket deposu (OSV) |
| red hat:libtevent | 0:0.10.0-4.el7rhgs · Red Hat:storage:3.5:samba:el7 | Paket deposu (OSV) |
| red hat:libtevent-debuginfo | 0:0.10.0-4.el7rhgs · Red Hat:storage:3.5:samba:el7 | Paket deposu (OSV) |
| red hat:libtevent-devel | 0:0.10.0-4.el7rhgs · Red Hat:storage:3.5:samba:el7 | Paket deposu (OSV) |
| suse:ldb | 1.5.8-3.5.1 · SUSE:Linux Enterprise Software Development Kit 12 SP5 | Paket deposu (OSV) |
| suse:samba | 3.6.3-94.23.1 · SUSE:Linux Enterprise Point of Sale 11 SP3 | Paket deposu (OSV) |
| suse:samba-doc | 3.6.3-94.23.1 · SUSE:Linux Enterprise Point of Sale 11 SP3 | Paket deposu (OSV) |
İstismar durumu
Bilinen kamuya açık istismar yok
Şu an kamuya açık bir istismar görülmedi. Bu, güvende olduğunuz anlamına gelmez; yalnızca eşiğin biraz daha yüksek olduğunu gösterir.
Araştırma bağlamı
Pentester ve araştırmacı için: saldırı profili, puan anlaşmazlığı, zaman çizelgesi, yama commit’leri, kredi, varyant ve zincir adayları, bug bounty kapsamı. Hepsi mevcut veriden türetilir; istismar kodu içermez.
Zaman çizelgesi
Yayından bugüne: kavram kanıtı, Metasploit modülü, CISA KEV ve düzeltme kaydı. Tarihler kaynakların bildirdiği tarihlerdir.
Yayın dışında tarihli olay yok.
FIRST EPSS günlük puanı; yalnızca 0,01 ve üstü değişimler kaydedilir (adım grafiği).
Yama ve commit bağlantıları
Referanslardaki commit, PR ve diff adresleri. Patch-diff ve varyant avı için başlangıç noktası; istismar değil, düzeltmedir.
Referanslarda commit ya da PR bağlantısı yok.
Kredi
Tüm araştırmacılarCNA kaydında adı geçen bulan, bildiren ve analistler. Ada tıkla, aynı araştırmacının diğer kayıtlarını gör.
CNA kaydında kredi yok.
Varyant adayları
Aynı üründe aynı zafiyet sınıfı, 18 ay içinde. Yama kök nedeni kapatmadıysa kardeş hata burada olur.
Gece hesaplanan ilişki yok.
Zincir adayları
Aynı üründe kimlik doğrulama atlatma ile yetki isteyen bir açık kısa aralıkla yayımlanmış: birlikte kimlik doğrulamasız bir yola dönüşebilir.
—
Bug bounty kapsamı
Bilinen herkese açık program yok.
Kaynak: bounty-targets-data (HackerOne, Bugcrowd, Intigriti, YesWeHack herkese açık listeleri).
Teknik detay
Saldırı koşulları
- İnternetten erişebilen herkes tetikleyebilir.
- Hesap ya da parola gerekmez.
- Bir kullanıcının bağlantıyı açması ya da sayfayı ziyaret etmesi gerekir.
- Özel bir koşul gerekmez; tekrarlanabilir.
Başarılı olursa
- Gizlilik
- yok
- Bütünlük
- yüksek · veri ya da yapılandırma değiştirilebilir
- Erişilebilirlik
- yok
- Saldırı vektörü
- Ağ
- Karmaşıklık
- Düşük
- Gereken yetki
- Yok
- Kullanıcı etkileşimi
- Gerekir
- Kapsam
- Değişmez
- Gizlilik etkisi
- Yok
- Bütünlük etkisi
- Yüksek
- Erişilebilirlik etkisi
- Yok
Zayıflık sınıfı (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CVSS vektörü
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
nvd-primary
Kök neden
Kullanıcının verdiği dosya adı izin verilen klasörle birleştiriliyor, ama sonucun hâlâ o klasörün içinde olup olmadığı kontrol edilmiyor.
Hatanın kod karşılığı
CWE-22 sınıfının tamamıBu zafiyet sınıfının temsili örneği. Üreticinin kaynak kodu değildir; hatalı kalıbı ve düzeltmesini gösterir.
Hatalı
const file = path.join(ROOT, req.query.name);res.sendFile(file);Düzeltilmiş
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) { return res.sendStatus(400);}res.sendFile(file);Saldırı bağlamı
Bu zafiyet sınıfının (CWE) MITRE CAPEC saldırı desenleri ve ATT&CK teknikleri. Tespit kuralı ve tehdit avı için başlangıç noktası.
Saldırı desenleri (CAPEC)
- Path TraversalCAPEC-126olasılık: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64olasılık: High · High
- Manipulating Web Input to File System CallsCAPEC-76olasılık: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78olasılık: High · High
- Using Slashes in Alternate EncodingCAPEC-79olasılık: High · High
ATT&CK teknikleri
—
Noroxi analizi
Bu kayıt için henüz Noroxi analizi yok
385 binden fazla zafiyetin tamamına elle analiz yazmıyoruz; bu dürüst olmazdı. Öne çıkan ve sahada etkisi olan zafiyetler için mekanizma, tespit ve kapatma adımlarını ekibimiz yazıyor.
Bu ürünü kullanıyoruz, yardım isteyinDeğişiklik günlüğü
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
- lists.opensuse.org/opensuse-security-announce/2019-11/msg00015.html
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10218
- lists.debian.org/debian-lts-announce/2021/05/msg00023.html
- lists.debian.org/debian-lts-announce/2023/09/msg00013.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OKPYHDFI7HRELVXBE5J4MTGSI35AKFBI/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UMIYCYXCPRTVCVZ3TP6ZGPJ6RZS3IX4G/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XQ3IUACPZJXSC4OM6P2V4IC4QMZQZWPD/
- www.samba.org/samba/security/CVE-2019-10218.html
- www.synology.com/security/advisory/Synology_SA_19_35
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.