CVE-2020-1978 VM-Series on Microsoft Azure: Inadvertent collection of credentials in Tech support files on HA configured VMs
Description
TechSupport files generated on Palo Alto Networks VM Series firewalls for Microsoft Azure platform configured with high availability (HA) inadvertently collect Azure dashboard service account credentials.
These credentials are equivalent to the credentials associated with the Contributor role in Azure. A user with the credentials will be able to manage all the Azure resources in the subscription except for granting access to other resources. These credentials do not allow login access to the VMs themselves.
This issue affects VM Series Plugin versions before 1.0.9 for PAN-OS 9.0.
This issue does not affect VM Series in non-HA configurations or on other cloud platforms. It does not affect hardware firewall appliances.
Since becoming aware of the issue, Palo Alto Networks has safely deleted all the tech support files with the credentials. We now filter and remove these credentials from all TechSupport files sent to us.
The TechSupport 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.
Product Status
Versions | Affected | Unaffected |
---|---|---|
VM-Series Plugin 1.0 | <= 1.0.8 on Microsoft Azure | >= 1.0.9 on Microsoft Azure |
Required Configuration for Exposure
This issue only affects VM Series appliances with HA configuration on Microsoft Azure.
Severity: MEDIUM
CVSSv3.1 Base Score: 5.8 (CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:H)
Weakness Type
CWE-255 Credentials Management
Solution
This issue is fixed in VM-Series Plugin 1.0.9 for Microsoft Azure.
Customers who generated TechSupport files on older versions are advised to change their Azure dashboard credentials. Customers are advised to delete any previously generated TechSupport files.
Instructions to change the credentials:
1. Create a new Service Principal with a Contributor role in the Azure AD Portal. Instructions to create a new Service Principal can be found here - https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal
2. Update your Azure HA configuration in the PA-VM configuration with the new Service Principal credentials. The steps to update the configuration are provided in “Step 3” of the PA-VM Azure HA configuration guide - https://docs.paloaltonetworks.com/vm-series/9-0/vm-series-deployment/set-up-the-vm-series-firewall-on-azure/configure-activepassive-ha-for-vm-series-firewall-on-azure.html
3. Delete the old Service Principal in the Azure AD Portal that was being used in the Azure HA configuration. Note: If the old Service Principal is used in other applications, then the other applications need to be updated with the new Service Principal.
Workarounds and Mitigations
Do not generate TechSupport files on the affected VMs.