title: PAN-OS: Administrator secrets are logged in web server logs when using the PAN-OS XML API incorrectly
description: An information exposure through log file vulnerability exists in Palo Alto Networks PAN-OS software where secrets in PAN-OS XML API requests are logged in cleartext to the web server logs when the API is used incorrectly. This vulnerability applies only to PAN-OS appliances that are configured to use the PAN-OS XML API and exists only when a client includes a duplicate API parameter in API requests. Logged information includes the cleartext username, password, and API key of the administrator making the PAN-OS XML API request.
problem types: CWE-532 Information Exposure Through Log Files
affected:
{
product: PAN-OS
vendor: Palo Alto Networks
versions:
changes: [at: 8.1.19, status: unaffected], lessThan: 8.1.19, status: affected, version: 8.1, versionType: custom
changes: [at: 9.0.12, status: unaffected], lessThan: 9.0.12, status: affected, version: 9.0, versionType: custom
changes: [at: 9.1.6, status: unaffected], lessThan: 9.1.6, status: affected, version: 9.1, versionType: custom
changes: [at: 10.0.1, status: unaffected], lessThan: 10.0.1, status: affected, version: 10.0, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: NONE
baseScore: 4.4
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: NONE
privilegesRequired: HIGH
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
version: 3.1
]
exploits: Palo Alto Networks is not aware of any malicious exploitation of this issue.
solutions: This issue is fixed in PAN-OS 8.1.19, PAN-OS 9.0.12, PAN-OS 9.1.6, PAN-OS 10.0.1, and all later PAN-OS versions.
After you upgrade the PAN-OS appliance, you must change the passwords and generate a new API key for all impacted PAN-OS administrators.
workarounds: You must change the passwords and generate a new API key for all impacted PAN-OS administrators. Confirm that there aren’t any PAN-OS XML API requests that repeat API parameters in the request.