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
185.220.101.34DETor exit412
45.155.205.233RUHosting287
103.203.57.10VNResidential164
91.240.118.172NLHosting119
162.243.140.96USCloud74
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
Upgrade to PAN-OS 10.2.9-h1, 11.0.4-h1, 11.1.2-h3 or later hotfixes.
Apply Threat Prevention signature IDs 95187, 95189 and 95191 if a Threat Prevention subscription is active.
Review the device for indicators of compromise: unexpected cron entries, files under /var/appweb/sslvpndocs/global-protect/, and outbound connections from the management plane.
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"