CVE-2020-2021: PAN-OS: Authentication Bypass in SAML Authentication
Palo Alto Networks PAN-OS contains a vulnerability in SAML which allows an attacker to bypass authentication.
Other sources
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
PAN-OSto a version that resolves this vulnerability.Fixed in 8.1.15 - Upgrade
Upgrade
PAN-OSto a version that resolves this vulnerability.Fixed in 9.0.9 - Upgrade
Upgrade
PAN-OSto a version that resolves this vulnerability.Fixed in 9.1.3 - Configuration
Enable (check) the 'Validate Identity Provider Certificate' option.
PAN-OS SAML Identity Provider Server Profile Validate Identity Provider Certificate = enabled - Configuration
Configure the signing certificate for the SAML Identity Provider as the 'Identity Provider Certificate' before upgrading.
PAN-OS SAML authentication Identity Provider Certificate = SAML Identity Provider signing certificate - Configuration
Change the certificate used to encrypt and decrypt the Authentication Override cookie on the GlobalProtect portals and gateways using the Panorama or firewall web interface.
GlobalProtect portals and gateways Authentication Override cookie certificate = changed certificate - Operational
To clear unauthorized Captive Portal user sessions, run 'show user ip-user-mapping all type SSO', then for all returned IPs run 'clear user-cache <above ips>' and 'clear user-cache-mp <above ips>'.
- Operational
Restart the firewalls and Panorama to eliminate unauthorized sessions on the web interface.
Event History
Frequently Asked Questions
What is CVE-2020-2021?
CVE-2020-2021 is a vulnerability in Palo Alto Networks PAN-OS that allows an unauthenticated network-based attacker to access protected resources.
How does CVE-2020-2021 affect Palo Alto Networks PAN-OS?
CVE-2020-2021 affects Palo Alto Networks PAN-OS versions 8.0.0 to 8.0.20, 8.1.0 to 8.1.15, 9.0.0 to 9.0.9, and 9.1.0 to 9.1.3.
What is the severity of CVE-2020-2021?
CVE-2020-2021 has a severity rating of critical.
How can an attacker exploit CVE-2020-2021?
An attacker can exploit CVE-2020-2021 by bypassing SAML authentication and improper verification of signatures in PAN-OS, enabling access to protected resources.
Is there a fix for CVE-2020-2021?
Yes, Palo Alto Networks has released security patches to address CVE-2020-2021. It is recommended to update to the latest version of PAN-OS.