CVE-2020-2004 GlobalProtect App: Passwords may be logged in clear text while collecting troubleshooting logs
Under certain circumstances a user's password may be logged in cleartext in the PanGPS.log diagnostic file when logs are collected for troubleshooting on GlobalProtect app (also known as GlobalProtect Agent) for MacOS and Windows.
For this issue to occur all of these conditions must be true: (1) 'Save User Credential' option should be set to 'Yes' in the GlobalProtect Portal's Agent configuration, (2) the GlobalProtect user manually selects a gateway, (3) and the logging level is set to 'Dump' while collecting troubleshooting logs.
This issue does not affect GlobalProtect app on other platforms (for example iOS/Android/Linux).
This issue affects GlobalProtect app 5.0 versions earlier than 5.0.9, GlobalProtect app 5.1 versions earlier than 5.1.2 on Windows or MacOS.
Since becoming aware of the issue, Palo Alto Networks has safely deleted all the known GlobalProtectLogs zip files sent by customers with the credentials. We now filter and remove these credentials from all files sent to Customer Support.
The GlobalProtectLogs zip files uploaded to Palo Alto Networks systems were only accessible by authorized personnel with valid Palo Alto Networks credentials. We do not have any evidence of malicious access or use of these credentials.
|GlobalProtect App 5.1||< 5.1.2 on Windows and MacOS||>= 5.1.2|
|GlobalProtect App 5.0||< 5.0.9 on Windows and MacOS||>= 5.0.9|
CVSSv3.1 Base Score:6.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L)
CWE-534 Information Exposure Through Debug Log Files
This issue is fixed in GlobalProtect app 5.0.9; GlobalProtect app 5.1.2; and all later GlobalProtect app versions.
GlobalProtect app 4.1 is now End-of-life as of March 1, 2020 and is no longer covered by our Product Security Assurance policies.
Workarounds and Mitigations
Multiple workarounds exists for this issue:
1. Do not set the 'Logging Level' option to 'Dump' while collecting troubleshooting logs. This issue does not occur when the 'Logging Level' is set to 'Debug'.
2. Set the 'Save User Credential' option to 'No' in the GlobalProtect Portal's Agent configuration.
3. Use Single-Sign-On (SSO) feature instead of the ‘Save User Credential’ option.