Description
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.
CVSS scores
| Version | Scored by | Score | Vector |
|---|---|---|---|
| CVSS 3.1 | palo_alto (CNA) | 10 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| CVSS 2.0 | NVD (NIST) | 9.3 High | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Timeline
- CVE published
- Added to CISA KEV (exploited in the wild)
- CISA remediation deadline (passed)
- Last updated by the CVE authority
- First tracked by SecureCyberVM
Exploit likelihood (EPSS)
Exploitation
- Listed in the CISA Known Exploited Vulnerabilities catalog on 2022-03-25.
- U.S. federal remediation due date: 2022-04-15.
- Known to be used in ransomware campaigns.
Exploit status (CNA): Palo Alto Networks is not aware of any malicious attempts to exploit this vulnerability.
Am I affected?
- Do you run Palo Alto Networks PAN-OS? Check the exact versions in the affected products list.
- Is the affected service reachable from the internet or by untrusted users? Exposed systems come first.
- It is actively exploited: assume attackers are scanning for it and look for indicators of compromise on exposed systems.
- Apply the fix below, or the workaround if you cannot patch yet, then confirm the new version is running.
Affected products
- Palo Alto Networks PAN-OS: 8.0.*; from 8.1 before 8.1.15; from 9.0 before 9.0.9; from 9.1 before 9.1.3 · All Palo Alto Networks vulnerabilities
Fix
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-authenticationDetails 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=kA14u0000008UXyRestarting 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 c
Mitigations
- 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 required action: Apply updates per vendor instructions.
Weakness
CWE-347 Improper Verification of Cryptographic Signature
Other Palo Alto Networks vulnerabilities
- CVE-2024-3400 Exploited Palo Alto Networks PAN-OS Command Injection Vulnerability
- CVE-2024-9463 Exploited Palo Alto Networks Expedition OS Command Injection Vulnerability
- CVE-2024-0012 Exploited Palo Alto Networks PAN-OS Management Interface Authentication Bypass Vulnerability
- CVE-2024-5910 Exploited Palo Alto Networks Expedition Missing Authentication Vulnerability
- CVE-2026-0300 Exploited Palo Alto Networks PAN-OS Out-of-bounds Write Vulnerability
- CVE-2024-9465 Exploited Palo Alto Networks Expedition SQL Injection Vulnerability
All Palo Alto Networks vulnerabilities →
Frequently asked questions
Is CVE-2020-2021 being actively exploited?
Yes. CISA added CVE-2020-2021 to its Known Exploited Vulnerabilities catalog on 2022-03-25, which means attackers are using it in real attacks. US federal agencies must fix it by 2022-04-15. It is known to be used in ransomware campaigns.
How severe is CVE-2020-2021?
CVE-2020-2021 has a highest CVSS score of 10.0 (Critical) under CVSS 3.1. Severity alone is not priority: check exploitation status and whether you run an affected version.
How do I fix CVE-2020-2021?
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…
Which products are affected by CVE-2020-2021?
Palo Alto Networks PAN-OS. See the affected products list on this page for exact versions.
References
- https://security.paloaltonetworks.com/CVE-2020-2021
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-2021
Change log
- First recorded on SecureCyberVM from CVE.org, NVD, CISA KEV and FIRST EPSS.
Sources: CVE.org, NIST NVD, CISA KEV and ADP, FIRST EPSS. This record is refreshed automatically every day; changes are listed in the change log above.
