← Threat feed
CVE-2024-3400criticalCISA KEV

Palo Alto PAN-OS GlobalProtect command injection

Unauthenticated command injection in the GlobalProtect gateway allows root code execution.

Exploitation attempts
15,692peak 3,296 at 26 Sept
20 Sept23 Sept26 Sept
Top attacking sources · 7d
Customers only

What it does

An arbitrary file creation vulnerability in the GlobalProtect feature of PAN-OS lets an unauthenticated attacker write a file with a controlled name, which is then interpreted by a cron job as shell input. The result is command execution as root on the firewall.

Exploitation in the wild began before public disclosure (tracked as Operation MidnightEclipse). Observed payloads deploy a Python backdoor and pivot into the internal network using the firewall's own trust position.

Devices with GlobalProtect gateway or portal enabled are affected. Device telemetry does not need to be enabled for exploitation to succeed.

Remediation

  1. Upgrade to PAN-OS 10.2.9-h1, 11.0.4-h1, 11.1.2-h3 or later hotfixes.
  2. Apply Threat Prevention signature IDs 95187, 95189 and 95191 if a Threat Prevention subscription is active.
  3. Review the device for indicators of compromise: unexpected cron entries, files under /var/appweb/sslvpndocs/global-protect/, and outbound connections from the management plane.
  4. Rotate all credentials and certificates stored on a device that shows signs of exploitation.

Enumeration

Detection templates and scanners you can run to find exposed instances on your own attack surface.

Nuclei
http/cves/2024/CVE-2024-3400.yaml
$ nuclei -id CVE-2024-3400 -u https://TARGET
Detection

Exploitation

Working exploit modules and public PoCs. Use only against systems you own or are authorized to test.

Metasploit
exploit/linux/http/panos_telemetry_cmd_exec
$ msfconsole -q -x "use exploit/linux/http/panos_telemetry_cmd_exec; show options"
RCE
watchTowr
github.com/watchtowrlabs/palo-alto-panos-cve-2024-3400
$ git clone https://github.com/watchtowrlabs/palo-alto-panos-cve-2024-3400.git
PoC

References

Check whether CVE-2024-3400 is exposed on your attack surface.