Skip to content
RCE Write-up Advanced

CVE-2024-3400: What is the Palo Alto GlobalProtect vulnerability?

A flaw in the device analytics of Palo Alto GlobalProtect's portal and gateway allows an unauthenticated remote attacker to write a file with malicious code in its name to logging folders; when processed, the code executes, giving arbitrary command execution.

intruder.io

Published on intruder.io

On the 12th of April Volexity, in coordination with Palo Alto released information about a serious vulnerability (CVE-2024-3400) which has been exploited in the wild.

The author, on intruder.io

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

Impact

An unauthenticated remote attacker could gain control over the device and run arbitrary commands; active exploitation has been witnessed.

What the attacker needed

GlobalProtect gateway or portal enabled; Device telemetry enabled; Affected PAN-OS version

The fix

Apply the latest patches from Palo Alto and monitor the advisory for further patches.

How it was found

  1. Identify a GlobalProtect device with gateway or portal enabled and device telemetry on.
  2. Send a crafted HTTP request that writes a file with malicious code in its name to the logging folders.
  3. Wait for the GlobalProtect application to process the file, causing the code in the filename to execute.

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 bug in a security appliance that sits between the internet and a private network. An attacker can send a specially crafted request that makes the device save a file whose name contains commands. Later, when the device processes that file, those commands run, letting the attacker take control. No login is needed.

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.