title: PAN-OS: OS Command Injection Vulnerability in Web Interface XML API
description: An OS command injection vulnerability in the Palo Alto Networks PAN-OS web interface enables an authenticated administrator with permissions to use XML API the ability to execute arbitrary OS commands to escalate privileges. This issue impacts: PAN-OS 8.1 versions earlier than PAN-OS 8.1.20-h1; PAN-OS 9.0 versions earlier than PAN-OS 9.0.14-h3; PAN-OS 9.1 versions earlier than PAN-OS 9.1.11-h2; PAN-OS 10.0 versions earlier than PAN-OS 10.0.8; PAN-OS 10.1 versions earlier than PAN-OS 10.1.3. This issue does not impact Prisma Access firewalls.
problem types: CWE-78 OS Command Injection
affected:
{
product: PAN-OS
vendor: Palo Alto Networks
versions:
changes: [at: 10.1.3, status: unaffected], lessThan: 10.1.3, status: affected, version: 10.1, versionType: custom
changes: [at: 9.0.14-h3, status: unaffected], lessThan: 9.0.14-h3, status: affected, version: 9.0, versionType: custom
changes: [at: 8.1.20-h1, status: unaffected], lessThan: 8.1.20-h1, status: affected, version: 8.1, versionType: custom
changes: [at: 9.1.11-h2, status: unaffected], lessThan: 9.1.11-h2, status: affected, version: 9.1, versionType: custom
changes: [at: 10.0.8, status: unaffected], lessThan: 10.0.8, status: affected, version: 10.0, versionType: custom
}
{
product: Prisma Access
vendor: Palo Alto Networks
versions:
status: unaffected, version: 2.1 all
status: unaffected, version: 2.2 all
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: HIGH
baseScore: 8.8
baseSeverity: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.20-h1, PAN-OS 9.0.14-h3, PAN-OS 9.1.11-h2, PAN-OS 10.0.8, PAN-OS 10.1.3, and all later PAN-OS versions.
workarounds: Enable signatures for Unique Threat ID 91715 on traffic processed by the firewall to block attacks against CVE-2021-3058.
This issue requires the attacker to have authenticated access to the PAN-OS web interface. You can mitigate the impact of this issue by following best practices for securing the PAN-OS web interface. Please review the Best Practices for Securing Administrative Access in the PAN-OS technical documentation at https://docs.paloaltonetworks.com/best-practices.