Skip to content
RCE Write-up Intermediate

CVE-2024–3400: A Critical Vulnerability in PAN-OS Firewalls

A command injection vulnerability in PAN-OS GlobalProtect allows an unauthenticated attacker to execute arbitrary commands with root privileges on affected firewalls. This could lead to full system compromise.

infosecwriteups.com

Published on infosecwriteups.com

On April 12, 2024, the cybersecurity community was alerted to a critical vulnerability in Palo Alto Networks’ PAN-OS, specifically within its GlobalProtect feature.

ElNiak, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the software does not properly validate input before passing it to a system shell, allowing command injection.

Impact

An attacker could execute arbitrary commands with root privileges, potentially gaining full control of the firewall and accessing sensitive data.

What the attacker needed

GlobalProtect gateway enabled; device telemetry enabled; PAN-OS versions 10.2, 11.0, or 11.1

The fix

Palo Alto Networks released hotfixes for PAN-OS 10.2.9-h1, 11.0.4-h1, and 11.1.2-h3; a temporary mitigation is to enable Threat Prevention with Threat ID 95187.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is a flaw in Palo Alto Networks firewalls that lets an attacker run their own commands on the device without needing to log in. Because the commands run with the highest permissions, the attacker could take complete control of the firewall.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.