Zafiyet.live Keşfet. Değerlendir. Düzelt. Doğrula.
  • Aktif istismar
  • Yama var
  • CWE-347

CVE-2020-2021

PAN-OS SAML kimlik doğrulamasında imza doğrulama hatası ile kimlik doğrulama atlatma

Palo Alto Networks PAN-OS

Kritik 10,0 CVSS 3.1
Yayımlandı
Güncellendi
22 Eki 2025
Açık yaşı
2312 gün
Kaydı açan
palo_alto
Saldırılarda kullanılıyor CISA, bu açığın gerçek saldırılarda kullanıldığını doğruladı ve 25 Mar 2022 tarihinde KEV listesine ekledi. ABD kamu kurumlarına verilen son yama tarihi: 15 Nis 2022. Fidye yazılımı saldırılarında da kullanılmış.

Yönetici özeti

Güvenlik duvarı ve VPN altyapısında, belirli bir ayar nedeniyle saldırganlar parola bilmeden içeri girebilir ve en kötü durumda cihazın yönetimini ele geçirebilir. Açık CISA tarafından aktif olarak istismar edilen zafiyetler listesinde yer almaktadır. Etkilenen sürümler ivedilikle güncellenmelidir.

ÖzetTürkçe

PAN-OS'ta SAML kimlik doğrulaması etkinken 'Validate Identity Provider Certificate' seçeneği devre dışı bırakıldığında imzalar yanlış doğrulanmaktadır. Bu durum, ağ erişimi olan kimliği doğrulanmamış bir saldırganın korumalı kaynaklara erişmesine imkan tanır. Etkilenen sürümler: 9.1.3 öncesi PAN-OS 9.1, 9.0.9 öncesi PAN-OS 9.0, 8.1.15 öncesi PAN-OS 8.1 ve ömrünü doldurmuş PAN-OS 8.0'ın tüm sürümleridir. PAN-OS 7.1 etkilenmez; SAML kullanılmıyorsa veya ilgili sertifika doğrulama seçeneği açıksa açık istismar edilemez.

Saldırgan ne yapabilir?

Saldırgan GlobalProtect, Captive Portal gibi SSO ile korunan kaynaklara yetkisiz erişim sağlayabilir. PAN-OS ve Panorama web arayüzlerinde ise yönetici olarak oturum açıp yönetici işlemleri yapabilir.

Kaynaktaki açıklama (İngilizce)

When Security Assertion Markup Language (SAML) authentication is enabled and the 'Validate Identity Provider Certificate' option is disabled (unchecked), improper verification of signatures in PAN-OS SAML authentication enables an unauthenticated network-based attacker to access protected resources. The attacker must have network access to the vulnerable server to exploit this vulnerability. This issue affects PAN-OS 9.1 versions earlier than PAN-OS 9.1.3; PAN-OS 9.0 versions earlier than PAN-OS 9.0.9; PAN-OS 8.1 versions earlier than PAN-OS 8.1.15, and all versions of PAN-OS 8.0 (EOL). This issue does not affect PAN-OS 7.1. This issue cannot be exploited if SAML is not used for authentication. This issue cannot be exploited if the 'Validate Identity Provider Certificate' option is enabled (checked) in the SAML Identity Provider Server Profile. Resources that can be protected by SAML-based single sign-on (SSO) authentication are: GlobalProtect Gateway, GlobalProtect Portal, GlobalProtect Clientless VPN, Authentication and Captive Portal, PAN-OS next-generation firewalls (PA-Series, VM-Series) and Panorama web interfaces, Prisma Access In the case of GlobalProtect Gateways, GlobalProtect Portal, Clientless VPN, Captive Portal, and Prisma Access, an unauthenticated attacker with network access to the affected servers can gain access to protected resources if allowed by configured authentication and Security policies. There is no impact on the integrity and availability of the gateway, portal or VPN server. An attacker cannot inspect or tamper with sessions of regular users. In the worst case, this is a critical severity vulnerability with a CVSS Base Score of 10.0 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N). In the case of PAN-OS and Panorama web interfaces, this issue allows an unauthenticated attacker with network access to the PAN-OS or Panorama web interfaces to log in as an administrator and perform administrative actions. In the worst-case scenario, this is a critical severity vulnerability with a CVSS Base Score of 10.0 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H). If the web interfaces are only accessible to a restricted management network, then the issue is lowered to a CVSS Base Score of 9.6 (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H). Palo Alto Networks is not aware of any malicious attempts to exploit this vulnerability.

Üreticinin çözüm notu (İngilizce)

This issue is fixed in PAN-OS 8.1.15, PAN-OS 9.0.9, PAN-OS 9.1.3, and all later versions.

Important: Ensure that the signing certificate for your SAML Identity Provider is configured as the 'Identity Provider Certificate' before you upgrade to a fixed version to ensure that your users can continue to authenticate successfully. Configuring the 'Identity Provider Certificate' is an essential part of a secure SAML authentication configuration. https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-admin/authentication/configure-saml-authentication

Details of all actions required before and after upgrading PAN-OS are available in https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u0000008UXK.

To eliminate unauthorized sessions on GlobalProtect portals and gateways, Prisma Access managed through Panorama, change the certificate used to encrypt and decrypt the Authentication Override cookie on the GlobalProtect portal and gateways using the Panorama or firewall web interface. Refer to this article for configuring Authentication override cookies: https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u0000008UXy

Restarting firewalls and Panorama eliminates any unauthorized sessions on the web interface.
To clear any unauthorized user sessions in Captive Portal take the following steps:
Run the following command
show user ip-user-mapping all type SSO
For all the IPs returned, run these two commands to clear the users:
clear user-cache-mp <above ips>
clear user-cache <above ips>
PAN-OS 8.0 is end-of-life (as of October 31, 2019) and is no longer covered by our Product Security Assurance policies.
All Prisma Access services have been upgraded to resolve this issue and are no longer vulnerable. Prisma Access customers do not require any changes to SAML or IdP configurations.

Üreticinin geçici önlemi (İngilizce)

Using a different authentication method and disabling SAML authentication will completely mitigate the issue.
Until an upgrade can be performed, applying both these mitigations (a) and (b) eliminates the configuration required for exposure to this vulnerability:

(a) Ensure that the 'Identity Provider Certificate' is configured. Configuring the 'Identity Provider Certificate' is an essential part of a secure SAML authentication configuration.

(b) If the identity provider (IdP) certificate is a certificate authority (CA) signed certificate, then ensure that the 'Validate Identity Provider Certificate' option is enabled in the SAML Identity Provider Server Profile. Many popular IdPs generate self-signed IdP certificates by default and the 'Validate Identity Provider Certificate' option cannot be enabled. Additional steps may be required to use a certificate signed by a CA. This certificate can be signed by an internal enterprise CA, the CA on the PAN-OS, or a public CA. Instructions to configure a CA-issued certificate on IdPs are available at https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u0000008UXP.

Upgrading to a fixed version of PAN-OS software prevents any future configuration changes related to SAML that inadvertently expose protected services to attacks.

CISA'nın önerdiği eylem (İngilizce)

Apply updates per vendor instructions.

Ne yapmalı?

  1. PAN-OS'u sabitlenmiş sürümlere yükseltin: PAN-OS 8.1.15, 9.0.9, 9.1.3 veya daha yeni sürümler. PAN-OS 8.0 ömrünü doldurduğu için desteklenen bir sürüme geçin. Üretici
  2. Yükseltmeden önce SAML kimlik sağlayıcınızın imzalama sertifikasının 'Identity Provider Certificate' olarak yapılandırıldığından emin olun; aksi halde kullanıcılar yükseltme sonrası oturum açamayabilir. Üretici
  3. Yükseltme yapılana kadar geçici önlem olarak SAML kimlik doğrulamasını kapatıp başka bir yöntem kullanın. Alternatif olarak 'Identity Provider Certificate' yapılandırın ve IdP sertifikası CA imzalıysa SAML Identity Provider Server Profile içinde 'Validate Identity Provider Certificate' seçeneğini etkinleştirin. Üretici
  4. CISA gereği, güncellemeleri üretici talimatlarına göre uygulayın. CISA

Ek önlemler

  • PAN-OS ve Panorama yönetim arayüzlerine erişimi yalnızca kısıtlı bir yönetim ağından yapılabilecek şekilde sınırlandırın. Genel öneri
  • SAML Identity Provider Server Profile ayarlarını gözden geçirin; sertifika doğrulama ve IdP sertifikası yapılandırmasının eksiksiz olduğundan emin olun. Genel öneri
  • Yönetici girişlerini, GlobalProtect ve Captive Portal oturum kayıtlarını olağandışı erişimler açısından inceleyin. Genel öneri

Bu açık kişisel verilerin sızmasına yol açabilir. Sistemlerinizde kullanıldığından şüpheleniyorsanız KVKK'daki ihlal bildirimi yükümlülüğünüzü (Kurul'a 72 saat içinde bildirim) hukuk danışmanınızla birlikte değerlendirin. Bu not hukuki tavsiye değildir.

Etkilenen sürümler1 yazılım

YazılımEtkilenenDüzeltildiği sürüm
Palo Alto Networks PAN-OS ≥ 8.1, < 8.1.15 8.1.15
≥ 9.0, < 9.0.9 9.0.9
≥ 9.1, < 9.1.3 9.1.3

Kaynaklar3 kaynak

Kayıt geçmişi

  1. CISA KEV listesine eklendi (saldırılarda kullanılıyor)
  2. Yayımlandı

İlgili açıklar

Türkçe metin, resmi kayıtlardaki bilgilerle yapay zekâ yardımıyla yazıldı ve yayından önce otomatik kontrollerden geçti. Bir değişikliği uygulamadan önce üreticinin duyurusuna mutlaka bakın.