CVE-2020-2021: PAN-OS: Authentication Bypass in SAML Authentication

Published Jun 29, 2020
·
Updated

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

5 affected components
Palo Alto Networks PAN-OS>=8.0.0<=8.0.20
Palo Alto Networks PAN-OS>=8.1.0<8.1.15
Palo Alto Networks PAN-OS>=9.0.0<9.0.9
Palo Alto Networks PAN-OS>=9.1.0<9.1.3
Palo Alto Networks PAN-OS

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Palo Alto Networks PAN-OS to a version that resolves this vulnerability.

    Fixed in PAN-OS 8.1.15
  2. Upgrade

    Upgrade Palo Alto Networks PAN-OS to a version that resolves this vulnerability.

    Fixed in PAN-OS 9.0.9
  3. Upgrade

    Upgrade Palo Alto Networks PAN-OS to a version that resolves this vulnerability.

    Fixed in PAN-OS 9.1.3
  4. Configuration

    Enable (check) the 'Validate Identity Provider Certificate' option in the SAML Identity Provider Server Profile to prevent exploitation when SAML is used for authentication.

    SAML Identity Provider Server Profile Validate Identity Provider Certificate = enabled (checked)
  5. Configuration

    Configure the signing certificate for your SAML Identity Provider as the 'Identity Provider Certificate' before upgrading so users can continue to authenticate.

    SAML Identity Provider Server Profile Identity Provider Certificate = signing certificate of your SAML Identity Provider
  6. Configuration

    Change the certificate used to encrypt and decrypt the Authentication Override cookie on GlobalProtect portal and gateways using the Panorama or firewall web interface to eliminate unauthorized sessions.

    GlobalProtect portal and gateways (including Prisma Access managed through Panorama) Authentication Override cookie encryption/decryption certificate = change to a new certificate
  7. Compensating control

    Restrict network access to the PAN-OS and Panorama web interfaces to a restricted management network (trusted management network) to reduce exposure.

  8. Operational

    Run the command 'show user ip-user-mapping all type SSO' to obtain the IPs of SSO-mapped users.

  9. Operational

    For all the IPs returned, run the following commands to clear any unauthorized user sessions: 'clear user-cache <above ips>' and 'clear user-cache-mp <above ips>'.

  10. Operational

    Restart firewalls and Panorama to eliminate any unauthorized sessions on the web interface.

Event History

Jun 29, 2020
CVE Published
via MITRE·03:10 PM
Data Sourced
via MITRE·03:10 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Mar 25, 2022
Known Exploited
via CISA·12:00 AM
Known Ransomware
via CISA·12:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

What is the severity of CVE-2020-2021?

CVE-2020-2021 has a severity rating of critical.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203