Unsafe URL assembly flaw in allowed script location check
LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-open etc. Access is intended to be restricted to scripts under the share/Scripts/python, user/Scripts/python sub-directories of the LibreOffice install. Protection was added, to address CVE-2019-9852, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed by employing a URL encoding attack to defeat the path verification step. However this protection could be bypassed by taking advantage of a flaw in how LibreOffice assembled the final script URL location directly from components of the passed in path as opposed to solely from the sanitized output of the path verification step. This issue affects: Document Foundation LibreOffice 6.2 versions prior to 6.2.7; 6.3 versions prior to 6.3.1.
- Yayın
- 6 Eyl 2019
- Güncelleme
- 16 Haz 2026
- EPSS
- %1,8 · 77. 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
32
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 1 / 30 · %1,8
Etkilenen sistemler
| Üretici | Ürün | CPE |
|---|---|---|
| libreoffice | libreoffice | cpe:2.3:a:libreoffice:libreoffice |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
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.
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- canonical ubuntu linux19.04
- debian debian linux10.0
- debian debian linux8.0
- debian debian linux9.0
- fedoraproject fedora29
- libreoffice libreoffice6.2.0 ve sonrası · 6.2.7 öncesi
- libreoffice libreoffice6.3.0 ve sonrası · 6.3.1 öncesi
- opensuse leap15.0
- opensuse leap15.1
- redhat enterprise linux7.0
- redhat enterprise linux8.0
Üreticinin bildirdiği sürümler
Kaydı açan otorite (Document Fdn.) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.
Document Foundation LibreOffice
- 6.2 ve sonrası · 6.2.7 öncesietkilenir
- 6.3 ve sonrası · 6.3.1 öncesietkilenir
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 |
|---|---|---|---|
| Debian:10 | libreoffice | 1:6.1.5-3+deb10u4 öncesi | 1:6.1.5-3+deb10u4 |
| Debian:12 | libreoffice | 1:6.3.1~rc2-1 öncesi | 1:6.3.1~rc2-1 |
| Debian:8 | libreoffice | 1:4.3.3-2+deb8u13 öncesi | 1:4.3.3-2+deb8u13 |
| Debian:9 | libreoffice | 1:5.2.7-1+deb9u11 öncesi | 1:5.2.7-1+deb9u11 |
| openSUSE:Leap 15.0 | libreoffice | 6.2.7.1-lp150.2.19.1 öncesi | 6.2.7.1-lp150.2.19.1 |
| openSUSE:Leap 15.1 | libreoffice | 6.2.7.1-lp151.3.6.1 öncesi | 6.2.7.1-lp151.3.6.1 |
| openSUSE:Tumbleweed | libreoffice | 7.1.5.2-3.13 öncesi | 7.1.5.2-3.13 |
| Red Hat:enterprise_linux:7::client | autocorr-af | 1:5.3.6.1-24.el7 öncesi | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-bg | 1:5.3.6.1-24.el7 öncesi | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-ca | 1:5.3.6.1-24.el7 öncesi | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-cs | 1:5.3.6.1-24.el7 öncesi | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-da | 1:5.3.6.1-24.el7 öncesi | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-de | 1:5.3.6.1-24.el7 öncesi | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-en | 1:5.3.6.1-24.el7 öncesi | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-es | 1:5.3.6.1-24.el7 öncesi | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-fa | 1:5.3.6.1-24.el7 öncesi | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-fi | 1:5.3.6.1-24.el7 öncesi | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-fr | 1:5.3.6.1-24.el7 öncesi | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-ga | 1:5.3.6.1-24.el7 öncesi | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-hr | 1:5.3.6.1-24.el7 öncesi | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-hu | 1:5.3.6.1-24.el7 öncesi | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-is | 1:5.3.6.1-24.el7 öncesi | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-it | 1:5.3.6.1-24.el7 öncesi | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-ja | 1:5.3.6.1-24.el7 öncesi | 1:5.3.6.1-24.el7 |
+96
Aynı üründe
libreoffice: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2019-9851LibreLogo global-event script execution62Bu hafta
- CVE-2018-16858It was found that libreoffice before versions 6.0.7 and 6.1.3 was vulnerable to a directory traversal attack which could be used to execute 59Planlayın
- CVE-2018-10583An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache OpenOffice Writer 4.1.5 automatically process and initiate 54Planlayın
- CVE-2019-9848LibreOffice has a feature where documents can specify that pre-installed scripts can be executed on various document events such as mouse-ov48Planlayın
- CVE-2018-6871LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary files via =WEBSERVICE calls in a document, which use46Planlayın
- CVE-2023-1183Arbitrary file write41Planlayın
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 |
|---|---|---|
| debian:libreoffice | 1:6.3.1~rc2-1 · Debian:12 | Paket deposu (OSV) |
| opensuse:libreoffice | 6.2.7.1-lp151.3.6.1 · openSUSE:Leap 15.1 | Paket deposu (OSV) |
| red hat:autocorr-af | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Paket deposu (OSV) |
| red hat:autocorr-bg | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Paket deposu (OSV) |
| red hat:autocorr-ca | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Paket deposu (OSV) |
| red hat:autocorr-cs | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Paket deposu (OSV) |
| red hat:autocorr-da | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Paket deposu (OSV) |
| red hat:autocorr-de | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Paket deposu (OSV) |
| red hat:autocorr-en | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Paket deposu (OSV) |
| red hat:autocorr-es | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Paket deposu (OSV) |
| red hat:autocorr-fa | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Paket deposu (OSV) |
| red hat:autocorr-fi | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Paket deposu (OSV) |
| red hat:autocorr-fr | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Paket deposu (OSV) |
| red hat:autocorr-ga | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Paket deposu (OSV) |
| suse:libreoffice | 6.2.7.1-43.56.3 · SUSE:Linux Enterprise Desktop 12 SP4 | 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.
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ı
- Sisteme yerel erişimi olan biri 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
- yüksek · veriler okunabilir
- Bütünlük
- yüksek · veri ya da yapılandırma değiştirilebilir
- Erişilebilirlik
- yüksek · hizmet durdurulabilir
- Saldırı vektörü
- Yerel
- Karmaşıklık
- Düşük
- Gereken yetki
- Yok
- Kullanıcı etkileşimi
- Gerekir
- Kapsam
- Değişmez
- Gizlilik etkisi
- Yüksek
- Bütünlük etkisi
- Yüksek
- Erişilebilirlik etkisi
- Yüksek
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:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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-09/msg00067.html
- lists.opensuse.org/opensuse-security-announce/2019-10/msg00055.html
- lists.debian.org/debian-lts-announce/2019/10/msg00005.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XQKKOIY2DMZCXJINOLIQXD2NWISDKK3N/
- seclists.org/bugtraq/2019/Sep/17
- usn.ubuntu.com/4138-1/
- www.debian.org/security/2019/dsa-4519
- www.libreoffice.org/about-us/security/advisories/CVE-2019-9854/
- bugzilla.redhat.com/show_bug.cgi?id=1769907
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.