Skip to content
RCE Write-up Advanced

CVE-2024–3400: Attackers Revive a Palo Alto GlobalProtect RCE — Exploitation and Detection

The GlobalProtect portal on PAN-OS did not sanitise the user-supplied session ID, so a crafted cookie containing directory traversal sequences let an unauthenticated attacker write files to arbitrary paths as root. A second stage, abusing the telemetry upload script that ran filenames through a shell, could then turn that file write into remote code execution.

SaiPrashanth Pulisetti Follow

Published on systemweakness.com

In late September 2025, security researchers observed a surge in attacks against an “old” vulnerability — CVE-2024–3400 — affecting Palo Alto Networks GlobalProtect gateways. A single source IP (141.98.82.26) was seen aggressively targeting unpatched GlobalProtect systems worldwide.

SaiPrashanth Pulisetti, on systemweakness.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 session ID from the cookie was concatenated into a filesystem path without validation, and the telemetry script later passed attacker-influenced filenames to a shell.

Impact

An unauthenticated attacker could achieve remote code execution as root on a vulnerable firewall, though the known escalation path depended on device telemetry being enabled.

What the attacker needed

Reachable GlobalProtect portal; unpatched PAN-OS 10.2, 11.0 or 11.1; telemetry enabled for the RCE stage

The fix

It was fixed in later PAN-OS maintenance releases, and disabling telemetry was offered as a partial mitigation for those who could not patch immediately.

How it was found

  1. Send a POST to the HIP report endpoint with a session cookie containing directory traversal sequences so a file is created in the portal images directory.
  2. Send a GET for the created file; a 403 response confirms the file exists and the write succeeded.
  3. Place a file with a crafted name in the telemetry directory so the upload script runs it through a shell.
  4. The telemetry job executes the injected command as root, giving code execution.

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.

GlobalProtect is the VPN login page on a Palo Alto firewall. The software took a value the visitor controls (a session cookie) and used it directly as part of a file path, so someone could point it at a folder of their choosing and drop a file there. Because a background job later ran file names through a command shell, a cleverly named file could make the firewall run the attacker's command as an administrator.

What is RCE?

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

More by SaiPrashanth Pulisetti

View all

2 more disclosed reports, best first.

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.