Palo Alto Networks Security Advisories / CVE-2022-0022

CVE-2022-0022 PAN-OS: Use of a Weak Cryptographic Algorithm for Stored Password Hashes

047910
Severity 4.1 · MEDIUM
Attack Vector LOCAL
Scope UNCHANGED
Attack Complexity HIGH
Confidentiality Impact HIGH
Privileges Required HIGH
Integrity Impact NONE
User Interaction NONE
Availability Impact NONE

Description

Usage of a weak cryptographic algorithm in Palo Alto Networks PAN-OS software where the password hashes of administrator and local user accounts are not created with a sufficient level of computational effort, which allows for password cracking attacks on accounts in normal (non-FIPS-CC) operational mode.

An attacker must have access to the account password hashes to take advantage of this weakness and can acquire those hashes if they are able to gain access to the PAN-OS software configuration.

Fixed versions of PAN-OS software use a secure cryptographic algorithm for account password hashes.

This issue does not impact Prisma Access firewalls.

This issue impacts:

PAN-OS 8.1 versions earlier than PAN-OS 8.1.21;

All versions of PAN-OS 9.0;

PAN-OS 9.1 versions earlier than PAN-OS 9.1.11;

PAN-OS 10.0 versions earlier than PAN-OS 10.0.7.

Product Status

VersionsAffectedUnaffected
PAN-OS 10.2None10.2.*
PAN-OS 10.1None10.1.*
PAN-OS 10.0< 10.0.7>= 10.0.7
PAN-OS 9.1< 9.1.11>= 9.1.11
PAN-OS 9.09.0.*
PAN-OS 8.1< 8.1.21>= 8.1.21
Prisma Access 3.0NonePreferred, Innovation
Prisma Access 2.2NonePreferred
Prisma Access 2.1NonePreferred, Innovation

Required Configuration for Exposure

This issue is applicable only to PAN-OS firewalls and Panorama appliances running in normal (non-FIPS-CC) operational mode. PAN-OS software is not affected by this issue when running in FIPS-CC mode.

Severity:MEDIUM

CVSSv3.1 Base Score:4.1 (CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N)

Exploitation Status

Palo Alto Networks is not aware of any malicious exploitation of this issue.

Weakness Type

CWE-916 Use of Password Hash With Insufficient Computational Effort

Solution

This issue is fixed in PAN-OS 8.1.21, PAN-OS 9.1.11, PAN-OS 10.0.7, and all later PAN-OS versions.

The passwords for all existing local user and administrator accounts must be changed after PAN-OS is upgraded to a fixed version to leverage the more secure cryptography for password hashes. You cannot update existing password hashes. All new local user and administrator accounts will use secure cryptography.

PAN-OS 9.0 is end-of-life as of March 1, 2022, and is no longer covered by our Product Security Assurance policies.

Workarounds and Mitigations

Ensure that any exported firewall configuration files are secured and that only trusted users have firewall management access to prevent the exposure of password hashes.

Using complex and secure passwords for all administrator and local user accounts makes password cracking infeasible and mitigates the impact of this issue.

Switching PAN-OS software from normal mode to FIPS-CC mode ensures that appliances use secure cryptography to store hashed credentials for all local user accounts. However, when you enable FIPS-CC mode, the appliance will reset to the factory default settings and the existing configuration is removed.

Documentation to enable FIPS-CC mode is available here:

https://docs.paloaltonetworks.com/pan-os/10-2/pan-os-admin/certifications/enable-fips-and-common-criteria-support.html

Acknowledgments

Palo Alto Networks thanks an external security researcher for discovering and reporting this issue.

Timeline

Initial publication
© 2022 Palo Alto Networks, Inc. All rights reserved.