title: PAN-OS: Passwords may be logged in clear text while storing operational command (op command) history
description: An information exposure through log file vulnerability where an administrator's password or other sensitive information may be logged in cleartext while using the CLI in Palo Alto Networks PAN-OS software. The opcmdhistory.log file was introduced to track operational command (op-command) usage but did not mask all sensitive information. The opcmdhistory.log file is removed in PAN-OS 9.1 and later PAN-OS versions. Command usage is recorded, instead, in the req_stats.log file in PAN-OS 9.1 and later PAN-OS versions. This issue impacts: PAN-OS 8.1 versions earlier than PAN-OS 8.1.16; PAN-OS 9.0 versions earlier than PAN-OS 9.0.10; PAN-OS 9.1 versions earlier than PAN-OS 9.1.3.
problem types: CWE-532 Information Exposure Through Log Files
affected:
{
product: PAN-OS
vendor: Palo Alto Networks
versions:
status: affected, version: 8.0.*
changes: [at: 8.1.16, status: unaffected], lessThan: 8.1.16, status: affected, version: 8.1, versionType: custom
changes: [at: 9.0.10, status: unaffected], lessThan: 9.0.10, status: affected, version: 9.0, versionType: custom
changes: [at: 9.1.3, status: unaffected], lessThan: 9.1.3, status: affected, version: 9.1, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: NONE
baseScore: 3.3
baseSeverity: LOW
confidentialityImpact: LOW
integrityImpact: NONE
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
version: 3.1
]
exploits: Palo Alto Networks is not aware of any malicious attempts to exploit this vulnerability.
solutions: This issue is fixed in PAN-OS 8.1.16, PAN-OS 9.0.10, PAN-OS 9.1.3, and all later PAN-OS versions.
workarounds: This issue requires access to PAN-OS log files generated in the system. You can mitigate the impact of this issue by following best practices for securing the PAN-OS management interface. Please review the Best Practices for Securing Administrative Access in the PAN-OS technical documentation, available at https://docs.paloaltonetworks.com/best-practices.