Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2024-3400: Unauthenticated Root Command Execution in PAN-OS GlobalProtect

Published Apr 12, 2024 · Updated 11 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days6 mentions · peak 2 in a dayToday
CVSS10.0Critical · v3.1
EPSS100.0%100th percentile
CISA KEVYesAdded Apr 12, 2024
In the wildActivePer CISA KEV
Vendor
Palo Alto Networks
IdentifiersCVE-2024-3400CWE-78

CVE-2024-3400 is an arbitrary file creation and OS command injection vulnerability in the GlobalProtect functionality of Palo Alto Networks PAN-OS 10.2, 11.0, and 11.1. Insufficient validation of attacker-controlled session identifiers permits path traversal and creation of files with attacker-selected names. A second flaw incorporates these filenames into shell commands without safe handling, allowing a scheduled system job to execute embedded commands as root. Successful exploitation requires a vulnerable firewall configured with a GlobalProtect gateway, portal, or both; device telemetry does not need to be enabled. Customer-managed VM-Series firewalls can also be affected. Cloud NGFW, Panorama appliances, and Prisma Access are not affected. Arbitrary file creation alone does not establish successful command execution. The vulnerability has been actively exploited and is included in CISA's Known Exploited Vulnerabilities catalog.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation gives an unauthenticated remote attacker root-level control of the firewall, compromising its confidentiality, integrity, and availability. Attackers can steal device configurations and credentials, install malware or web shells, alter security controls, and use the firewall as a foothold for internal reconnaissance and lateral movement. Observed exploitation has supported configuration exfiltration, persistent access, and ransomware deployment in connected networks. Post-exploitation persistence techniques can survive upgrades and ordinary resets, so installing a patch does not establish that a previously compromised device is clean.

Mitigation

If you can’t patch tonight, do this now.

With a Threat Prevention subscription, deploy Applications and Threats content version 8836-8695 or later and enable Threat IDs 95187, 95189, and 95191. Apply vulnerability protection to the GlobalProtect interface and verify that the protections actually block matching traffic; signature installation alone is insufficient. Keep protection content current and patch even when signatures are deployed. Disabling device telemetry is not an effective mitigation. Isolate suspected compromised devices from the Internet without powering them off, preserve volatile evidence where possible, and investigate unusual outbound connections, privileged accounts, and internal logins originating from the firewall.

Remediation

Patch, then assume compromise.

Immediately install a fixed PAN-OS release: 10.2.9-h1, 11.0.4-h1, 11.1.2-h3, an applicable maintenance-branch hotfix, or a later fixed release. Before rebooting or upgrading a potentially compromised appliance, preserve forensic evidence and collect a Tech Support File because some historical logs may become inaccessible afterward. Engage Palo Alto Networks support to assess exploitation and persistence. Schedule an enhanced factory reset through support if neither the fixes nor correctly applied Threat Prevention protections were in place on or before April 25, 2024, or if persistent compromise cannot be excluded. For compromised devices, follow vendor-directed recovery, restore only reviewed configuration, renew the Master Key and authentication secrets, revoke old certificates, and reset potentially exposed connected-system credentials.

Public exploits

Exploits

11 exploits validated by Mallory's analysis. Hidden: 14 rejected by Mallory's analysis as not a working exploit; 3 not yet analyzed, such as Exploit-DB entries.

View more in app →
panos_telemetry_cmd_exec.rbThis repository contains a single Metasploit module (modules/exploits/linux/http/panos_telemetry_cmd_exec.rb) that exploits CVE-2024-3400, a critical unauthenticated remote code execution vulnerability in Palo Alto Networks PAN-OS. The exploit leverages two vulnerabilities to create arbitrary files and execute shell commands as root, provided the target is running a vulnerable PAN-OS version with GlobalProtect and telemetry enabled. The module is operational and allows the attacker to execute arbitrary shell commands, typically resulting in a reverse shell. The exploit is network-based, targeting the GlobalProtect web interface (default endpoint: /global-protect/login.esp) over HTTPS. The module creates files in specific directories (/opt/panlogs/tmp/device_telemetry/hour/ and /minute/) to trigger the telemetry service, which executes the payload. Several log and artifact file paths are referenced, which may be useful for detection or forensic analysis. The exploit is part of the Metasploit framework and is implemented in Ruby.Disclosed Apr 12, 2024 · Framework: metasploit · ruby · networkWeaponizedCVE-2024-3400This repository contains a Python exploit script (exploit.py) targeting CVE-2024-3400, a command injection vulnerability in Palo Alto Networks PAN-OS firewalls with the GlobalProtect feature enabled. The exploit works by sending a crafted XML payload to the firewall's API endpoint (https://<target_ip>/api/), allowing unauthenticated attackers to execute arbitrary commands as root. The script supports both single-target and multi-target (CSV-driven) exploitation, with optional SSL certificate verification. The README.md provides detailed usage instructions, example payloads, and CSV formatting guidance. The exploit is operational, requiring the attacker to supply the target IP and desired command payload. The repository is structured simply, with one main Python script, a requirements.txt for dependencies, and a comprehensive README.md.Yuvvi01 · Disclosed Apr 13, 2024 · python · networkOperationalCVE-2024-3400This repository contains a Python-based exploit for CVE-2024-3400, an OS command injection vulnerability. The main file, exploit.py, prompts the user for a target IP/host, a local host, and a port for a reverse shell. It generates a base64-encoded bash reverse shell payload and crafts a malicious POST request to the vulnerable endpoint '/ssl-vpn/hipreport.esp' on the target, injecting the payload via the SESSID cookie. If the target is vulnerable, the exploit establishes a reverse shell from the target to the attacker's machine, granting remote command execution. The repository structure is simple, consisting of a README.md describing the vulnerability and the exploit.py script implementing the attack. The exploit targets network-accessible systems and leverages a specific HTTPS endpoint and file path for exploitation.0x0d3ad · Disclosed Apr 13, 2024 · python · networkOperationalCVE-2024-3400This repository provides a weaponized exploit for CVE-2024-3400, a critical Remote Code Execution (RCE) vulnerability affecting certain Palo Alto Networks PAN-OS devices (notably those with GlobalProtect enabled). The exploit leverages a directory traversal flaw in the '/ssl-vpn/hipreport.esp' endpoint, abusing the 'SESSID' cookie to write files or execute arbitrary commands on the target device. The repository contains two main Python scripts: - 'exploit.py': The primary exploit script, supporting both single-target exploitation (with reverse shell capability) and bulk scanning of multiple targets. In single-target mode, it attempts to open a reverse shell from the target device to the attacker's machine using a base64-encoded bash payload. In bulk mode, it identifies vulnerable devices without attempting exploitation. - 'scanner_oob.py': A secondary script for out-of-band (OOB) detection, which triggers the vulnerability by making the target device perform a 'curl' to an attacker-controlled URL, useful for blind detection. Other files include a sample OpenSSL configuration ('openssl.cnf'), a requirements file for Python dependencies, and a detailed README with usage instructions. The exploit is operational, providing both detection and weaponized exploitation capabilities, and is intended for use by authorized security professionals to test and validate the presence of CVE-2024-3400 on network-accessible Palo Alto devices.Chocapikk · Disclosed Apr 16, 2024 · python · bash · networkOperationalCVE-2024-3400This repository is a standalone Python exploit for CVE-2024-3400 targeting Palo Alto Networks PAN-OS devices. The repo is small and focused: README.md documents usage, requirements.txt lists dependencies, and exploit.py contains the full exploit logic. The script is not part of a larger framework. Core capability: it performs multithreaded remote exploitation over HTTPS. For each supplied target, it normalizes the host to an https:// URL, sends a crafted POST request with a malicious Cookie header, and injects a bash command. The injected command copies /opt/pancfg/mgmt/saved-configs/running-config.xml to /var/appweb/sslvpndocs/global-protect/portal/css/cert.main.css, making the configuration retrievable via the web server. The command is base64-encoded and executed through bash -i in the header payload. Operational flow: the script reads targets from a user-provided file, deduplicates them, and processes them concurrently with ThreadPoolExecutor. It logs possible successes to maybe_rce.log, then enters a confirmation phase where it repeatedly polls pending targets for up to 12 retries at 5-minute intervals. When the dropped file becomes accessible, it downloads the artifact into output/ using a filename derived from the target domain and records the target in confirmed_rce.log. Notable implementation details: thread-safe file writes via a lock, disabled TLS verification warnings, rich-based console logging, graceful shutdown handling, and helper functions for domain extraction and file download. Based on the visible code and README, this is a real exploit rather than a detector: it attempts command execution and artifact exfiltration, with a hardcoded payload intended to prove RCE and collect sensitive configuration data.wa6n3r · Disclosed Apr 20, 2026 · python · markdown · network · webOperationalcve-2024-3400-panos_rce_reproductionThis repository is a small standalone exploit PoC for CVE-2024-3400, a pre-authentication command injection vulnerability in Palo Alto Networks PAN-OS GlobalProtect portal/gateway interfaces. The repository contains two files: a detailed README describing the vulnerability, affected versions, exploitation examples, and mitigations; and a single Python script, exploit.py, which implements the exploit logic. The exploit script targets the GlobalProtect login endpoint /global-protect/login.esp and abuses the SESSID cookie. It constructs a malicious cookie value using a traversal path into /opt/panlogs/tmp/device_telemetry/ and embeds a shell command inside backticks. The payload template is /../../../opt/panlogs/tmp/device_telemetry/`echo${IFS}{cmd}`.py, which is intended to trigger shell execution on the target. The script sends a GET request with requests, supports optional HTTP/HTTPS proxying, configurable timeout, disabled SSL verification by default, and prints basic response metadata. Capabilities include arbitrary command execution, an interactive mode for repeated command submission, and optional base64 wrapping of commands to evade simple filtering. The base64 mode transforms the operator command into a shell pipeline that decodes and executes via bash. The script does not include post-exploitation automation, persistence, or built-in reverse shell payload generation, but it can deliver any operator-supplied shell command, including file reads or reverse shells. The exploit is clearly functional exploit code rather than a detector. It is not part of a larger exploitation framework. Maturity is best classified as OPERATIONAL because it provides working exploitation logic and flexible operator-supplied command execution, but payloading remains manual rather than framework-driven or heavily modularized.razureink · Disclosed Jul 24, 2026 · python · markdown · network · webOperationalCVE-2024-3400-CanaryThis repository contains a proof-of-concept (PoC) exploit for CVE-2024-3400, targeting Palo Alto Networks GlobalProtect. The main exploit code is in 'Poc.py', a Python script that sends a crafted HTTPS GET request to the '/global-protect/login.esp' endpoint of a specified host. The exploit injects a malicious 'SESSID' cookie containing a payload that attempts to execute a base64-decoded bash command on the target system. The repository includes minimal supporting files (CODEOWNERS, README.md) and is structured as a simple PoC for remote code execution via a network attack vector. No hardcoded IPs or domains are present; the target is specified at runtime. The exploit demonstrates the vulnerability but does not provide a weaponized or fully automated attack chain.ZephrFish · Disclosed Apr 17, 2024 · python · networkPoCCVE-2024-3400This repository contains a Bash proof-of-concept exploit for CVE-2024-3400, a file write vulnerability in Palo Alto Networks GlobalProtect VPN. The exploit script (gp-exploit.sh) automates the process of identifying vulnerable GlobalProtect instances and attempts to write an arbitrary file to the target system by exploiting a path traversal flaw. It uses the 'httpx' tool to send a POST request to the '/ssl-vpn/hipreport.esp' endpoint with a specially crafted Cookie header, aiming to write a file to '/var/appweb/sslvpndocs/global-protect/portal/images/'. The script then verifies the exploit by attempting to access the written file via the '/global-protect/portal/images/<file_name>' endpoint. The repository includes a README with usage instructions and guidance on gathering target URLs using Shodan and httpx. The exploit is intended for educational purposes and demonstrates the risk of arbitrary file write on exposed GlobalProtect VPN instances.ak1t4 · Disclosed Apr 17, 2024 · bash · networkPoCCVE-2024-3400This repository contains a proof-of-concept (POC) exploit for CVE-2024-3400, an OS command injection vulnerability in Palo Alto Networks PAN-OS. The main file, 'main.py', is a Python script that automates the exploitation process by reading a list of target IP addresses from a user-supplied file. For each IP, it sends a crafted POST request to the '/ssl-vpn/hipreport.esp' endpoint with a malicious 'Cookie' header designed to exploit a path traversal vulnerability and create a file on the target system. It then checks for the presence of the file at '/global-protect/portal/images/poc.txt' to determine if the exploit was successful. The script prints the HTTP status codes of both requests to inform the user of the outcome. The repository is structured simply, with a README describing the exploit and usage, and a single Python script implementing the exploit logic. No weaponized payload is included; the script is intended for vulnerability verification and assessment.retkoussa · Disclosed Apr 17, 2024 · python · networkPoCCVE-2024-3400This repository provides multiple proof-of-concept (POC) exploits and detection templates for CVE-2024-3400, a critical command injection vulnerability in Palo Alto Networks PAN-OS (GlobalProtect). The repository includes: - A Bash script (CVE-2024-3400.sh) that tests for the vulnerability by creating a 0-byte file on the target system and verifying its existence, indicating a successful exploit. - Two Nuclei YAML templates (CVE20243400.yaml and telemet.yaml) that automate detection and exploitation of the vulnerability by sending crafted HTTP POST requests to the /ssl-vpn/hipreport.esp endpoint. These templates leverage OS command injection via the SESSID cookie, allowing for exfiltration of system information to an attacker-controlled server (e.g., via interactsh or oast.fun domains). - A Python script (fofax3r.py) that scrapes the FOFA search engine for potential vulnerable targets by extracting hostnames from search results. - A README.md file that documents the vulnerability, usage instructions for each script/template, and references for further research. The main exploit vector is unauthenticated network access to the /ssl-vpn/hipreport.esp endpoint on vulnerable PAN-OS devices, with exploitation achieved through path traversal and command injection in the SESSID cookie. The repository is structured to facilitate both exploitation and large-scale detection of vulnerable systems.schooldropout1337 · Disclosed Apr 18, 2024 · bash · yaml · networkPoCCVE-2024-3400-Palo-Alto-OS-Command-InjectionThis repository contains a proof-of-concept exploit for a path traversal and arbitrary file write vulnerability in Palo Alto Networks GlobalProtect SSL VPN. The exploit is documented in two files: README.md and exploit.txt, both of which provide step-by-step instructions for exploiting the vulnerability. The attack involves sending a crafted POST request to the /ssl-vpn/hipreport.esp endpoint with a specially crafted SESSID cookie that uses directory traversal to write a file (0xr2r.txt) to a web-accessible directory on the target device. The exploit demonstrates the ability to create files with root access, which can be verified by accessing the file via HTTPS and observing the change in HTTP response codes. No automated code is provided; the exploit is manual and consists of HTTP request templates. The repository is a clear proof-of-concept and does not include weaponized or automated exploitation scripts.0xr2r · Disclosed Apr 25, 2024 · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Palo Alto NetworksPan-Osoperating_system
FAQ

Frequently asked questions

Is CVE-2024-3400 exploited in the wild?
Yes. As of Nov 11, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Apr 12, 2024.
Is there a public exploit for CVE-2024-3400?
Yes. Mallory tracks 11 public exploits or proofs of concept for CVE-2024-3400, the earliest disclosed Apr 12, 2024.
Is there a patch for CVE-2024-3400?
Immediately install a fixed PAN-OS release: 10.2.9-h1, 11.0.4-h1, 11.1.2-h3, an applicable maintenance-branch hotfix, or a later fixed release. Before rebooting or upgrading a potentially compromised appliance, preserve forensic evidence and collect a Tech Support File because some historical logs may become inaccessible afterward.
What products are affected by CVE-2024-3400?
Palo Alto Networks Pan-Os.
How severe is CVE-2024-3400?
CVE-2024-3400 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 100.0% (100th percentile) as of Nov 11, 2026.
Activity feed

Recent activity

153 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+75 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence24Every report linking this CVE to a named adversary.
Associated malware18Malware families linked to this CVE, with evidence and IOCs.
Detection signatures7YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity64Community discussion across Reddit, Mastodon, and other social sources.