In postgresql 9.3.x before 9.3.21, 9.4.x before 9.4.16, 9.5.x before 9.5.11, 9.6.x before 9.6.7 and 10.x before 10.2, pg_upgrade creates fil
In postgresql 9.3.x before 9.3.21, 9.4.x before 9.4.16, 9.5.x before 9.5.11, 9.6.x before 9.6.7 and 10.x before 10.2, pg_upgrade creates file in current working directory containing the output of `pg_dumpall -g` under umask which was in effect when the user invoked pg_upgrade, and not under 0077 which is normally used for other temporary files. This can allow an authenticated attacker to read or modify the one file, which may contain encrypted or unencrypted database passwords. The attack is infeasible if a directory mode blocks the attacker searching the current working directory or if the prevailing umask blocks the attacker opening the file.
- Yayın
- 9 Şub 2018
- Güncelleme
- 16 Haz 2026
- EPSS
- %0,5 · 39. yüzdelik
- CWE
- CWE-377
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
28
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 28 / 40 · 7.0 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,5
Etkilenen sistemler
| Üretici | Ürün | CPE |
|---|---|---|
| postgresql | postgresql | cpe:2.3:a:postgresql:postgresql |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| redhat | cloudforms | cpe:2.3:a:redhat:cloudforms |
postgresql mu kullanıyorsun? Stack’ine ekle, bunun gibi CVE’lerde ilk sen haberdar ol. (PostgreSQL)
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.
- postgresql postgresql9.3.0 ve sonrası · 9.3.21 öncesi
- postgresql postgresql9.4.0 ve sonrası · 9.4.16 öncesi
- postgresql postgresql9.5.0 ve sonrası · 9.5.11 öncesi
- postgresql postgresql9.6.0 ve sonrası · 9.6.7 öncesi
- postgresql postgresql10.0
- postgresql postgresql10.1
Ü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.
The PostgreSQL Global Development Group postgresql
- 9.3.x before 9.3.21, 9.4.x before 9.4.16, 9.5.x before 9.5.11, 9.6.x before 9.6.7, 10.x before 10.2etkilenir
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 | postgresql | 9.3.0 itibarıyla · 10.2-r0 öncesi | 10.2-r0 |
| Alpine:v3.15 | postgresql14 | 10.2-r0 öncesi | 10.2-r0 |
| Alpine:v3.17 | postgresql15 | 10.2-r0 öncesi | 10.2-r0 |
| Alpine:v3.4 | postgresql | 9.3.0 itibarıyla · 9.5.11-r0 öncesi | 9.5.11-r0 |
| Alpine:v3.5 | postgresql | 9.3.0 itibarıyla · 9.6.7-r0 öncesi | 9.6.7-r0 |
| Debian:7 | postgresql-9.1 | 9.1.24lts2-0+deb7u2 öncesi | 9.1.24lts2-0+deb7u2 |
| openSUSE:Tumbleweed | postgresql10 | 10.18-1.3 öncesi | 10.18-1.3 |
| Red Hat:cloudforms_managementengine:5.9::el7 | cfme | 0:5.9.6.5-3.el7cf öncesi | 0:5.9.6.5-3.el7cf |
| Red Hat:cloudforms_managementengine:5.9::el7 | cfme-amazon-smartstate | 0:5.9.6.5-2.el7cf öncesi | 0:5.9.6.5-2.el7cf |
| Red Hat:cloudforms_managementengine:5.9::el7 | cfme-appliance | 0:5.9.6.5-1.el7cf öncesi | 0:5.9.6.5-1.el7cf |
| Red Hat:cloudforms_managementengine:5.9::el7 | cfme-appliance-common | 0:5.9.6.5-1.el7cf öncesi | 0:5.9.6.5-1.el7cf |
| Red Hat:cloudforms_managementengine:5.9::el7 | cfme-appliance-debuginfo | 0:5.9.6.5-1.el7cf öncesi | 0:5.9.6.5-1.el7cf |
| Red Hat:cloudforms_managementengine:5.9::el7 | cfme-appliance-tools | 0:5.9.6.5-1.el7cf öncesi | 0:5.9.6.5-1.el7cf |
| Red Hat:cloudforms_managementengine:5.9::el7 | cfme-debuginfo | 0:5.9.6.5-3.el7cf öncesi | 0:5.9.6.5-3.el7cf |
| Red Hat:cloudforms_managementengine:5.9::el7 | cfme-gemset | 0:5.9.6.5-2.el7cf öncesi | 0:5.9.6.5-2.el7cf |
| Red Hat:cloudforms_managementengine:5.9::el7 | cfme-gemset-debuginfo | 0:5.9.6.5-2.el7cf öncesi | 0:5.9.6.5-2.el7cf |
| Red Hat:cloudforms_managementengine:5.9::el7 | dbus-api-service | 0:1.0.1-3.1.el7cf öncesi | 0:1.0.1-3.1.el7cf |
| Red Hat:cloudforms_managementengine:5.9::el7 | httpd-configmap-generator | 0:0.2.2-1.2.el7cf öncesi | 0:0.2.2-1.2.el7cf |
| Red Hat:cloudforms_managementengine:5.9::el7 | postgresql96 | 0:9.6.10-1PGDG.el7at öncesi | 0:9.6.10-1PGDG.el7at |
| Red Hat:cloudforms_managementengine:5.9::el7 | postgresql96-contrib | 0:9.6.10-1PGDG.el7at öncesi | 0:9.6.10-1PGDG.el7at |
| Red Hat:cloudforms_managementengine:5.9::el7 | postgresql96-debuginfo | 0:9.6.10-1PGDG.el7at öncesi | 0:9.6.10-1PGDG.el7at |
| Red Hat:cloudforms_managementengine:5.9::el7 | postgresql96-devel | 0:9.6.10-1PGDG.el7at öncesi | 0:9.6.10-1PGDG.el7at |
| Red Hat:cloudforms_managementengine:5.9::el7 | postgresql96-docs | 0:9.6.10-1PGDG.el7at öncesi | 0:9.6.10-1PGDG.el7at |
| Red Hat:cloudforms_managementengine:5.9::el7 | postgresql96-libs | 0:9.6.10-1PGDG.el7at öncesi | 0:9.6.10-1PGDG.el7at |
+65
Aynı üründe
postgresql: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2017-7546PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allowing remote attackers57Planlayın
- CVE-2019-9193In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_server_program' group to 55Planlayın
- CVE-2020-25695A flaw was found in PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24.49Planlayın
- CVE-2007-3280The Database Link library (dblink) in PostgreSQL 8.1 implements functions via CREATE statements that map to arbitrary libraries based on the44Planlayın
- CVE-2013-1899Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows remote attackers to ca42Planlayın
- CVE-2018-16850postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGER ...41Planlayı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 |
|---|---|---|
| Alpine:postgresql | 10.2-r0 · Alpine:v3.10 | Paket deposu (OSV) |
| Alpine:postgresql14 | 10.2-r0 · Alpine:v3.15 | Paket deposu (OSV) |
| Alpine:postgresql15 | 10.2-r0 · Alpine:v3.17 | Paket deposu (OSV) |
| Debian:postgresql-9.1 | 9.1.24lts2-0+deb7u2 · Debian:7 | Paket deposu (OSV) |
| openSUSE:postgresql10 | 10.18-1.3 · openSUSE:Tumbleweed | Paket deposu (OSV) |
| Red Hat:rh-postgresql95-postgresql | 0:9.5.14-1.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| Red Hat:rh-postgresql95-postgresql-contrib | 0:9.5.14-1.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| Red Hat:rh-postgresql95-postgresql-debuginfo | 0:9.5.14-1.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| Red Hat:rh-postgresql95-postgresql-devel | 0:9.5.14-1.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| Red Hat:rh-postgresql95-postgresql-docs | 0:9.5.14-1.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| Red Hat:rh-postgresql95-postgresql-libs | 0:9.5.14-1.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| Red Hat:rh-postgresql95-postgresql-plperl | 0:9.5.14-1.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| Red Hat:rh-postgresql95-postgresql-plpython | 0:9.5.14-1.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| Red Hat:rh-postgresql95-postgresql-pltcl | 0:9.5.14-1.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| Red Hat:rh-postgresql95-postgresql-server | 0:9.5.14-1.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| Red Hat:rh-postgresql95-postgresql-static | 0:9.5.14-1.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| Red Hat:rh-postgresql95-postgresql-test | 0:9.5.14-1.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| SUSE:postgresql94 | 9.4.16-0.23.13.2 · SUSE:Linux Enterprise Server 11 SP4 | Paket deposu (OSV) |
| SUSE:postgresql94-libs | 9.4.16-0.23.13.2 · SUSE:Linux Enterprise Software Development Kit 11 SP4 | Paket deposu (OSV) |
| SUSE:postgresql96 | 9.6.7-3.13.1 · SUSE:Linux Enterprise Desktop 12 SP2 | Paket deposu (OSV) |
| SUSE:postgresql96-libs | 9.6.7-3.13.1 · SUSE:Linux Enterprise Desktop 12 SP2 | 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ı
- Sisteme yerel erişimi olan biri tetikleyebilir.
- Düşük yetkili bir hesap yeterli.
- Kullanıcının bir şey yapması gerekmez.
- Zamanlama ya da yapılandırma gibi özel koşullar gerekir.
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
- Yüksek
- Gereken yetki
- Düşük
- Kullanıcı etkileşimi
- Gerekmez
- 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-377 · Insecure Temporary FileCVSS vektörü
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
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)
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
- www.securityfocus.com/bid/102986
- access.redhat.com/errata/RHSA-2018:2511
- access.redhat.com/errata/RHSA-2018:2566
- access.redhat.com/errata/RHSA-2018:3816
- lists.debian.org/debian-lts-announce/2018/02/msg00006.html
- usn.ubuntu.com/3564-1/
- www.postgresql.org/about/news/1829/
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.