CVE-2021-3058 PAN-OS: OS Command Injection Vulnerability in Web Interface XML API
Authenticated administrators can execute arbitrary OS commands via the XML API to escalate privileges on PAN-OS firewalls.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-3058?
CVE-2021-3058 is a high-severity command injection vulnerability in Paloaltonetworks Pan-Os, published on 10 Nov 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2021-3058?
It affects 1 product.
Products include Paloaltonetworks Pan-Os.
How do I fix CVE-2021-3058?
No fix has been published for CVE-2021-3058 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2021-3058 being exploited?
There is no known exploitation of CVE-2021-3058 in the wild and no public exploit code.
Other vulnerabilities in Paloaltonetworks Pan-Os
- CVE-2024-3400 Palo Alto Networks PAN-OS Command Injection
- CVE-2020-2021 Palo Alto Networks PAN-OS Authentication Bypass
- CVE-2017-15944 Palo Alto Networks PAN-OS Remote Code Execution
- CVE-2026-0300 Palo Alto Networks PAN-OS Out-of-bounds Write
- CVE-2024-0012 Palo Alto Networks PAN-OS Management Interface Authentication Bypass
Sources
Also known as GHSA-jr79-8rh7-gxxh.