Palo Alto Networks PAN-OS Zero-Day Exploitation
An unauthenticated OS command injection in the GlobalProtect feature of Palo Alto Networks PAN-OS allowed a threat actor to execute arbitrary commands on firewall devices. The attacker used this to create reverse shells, deploy a Python backdoor, exfiltrate configuration data, and move laterally into victim networks.
volexity.com
Published on volexity.com
On April 10, 2024, Volexity identified zero-day exploitation of a vulnerability found within the GlobalProtect feature of Palo Alto Networks PAN-OS at one of its network security monitoring (NSM) customers. Volexity received alerts regarding suspect network traffic emanating from the customer’s firewall.
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 an OS command injection vulnerability in the GlobalProtect feature that allowed unauthenticated remote code execution.
Impact
The attacker could execute arbitrary commands, steal credentials and configuration data, and move laterally within victim networks; the report notes that exploitation was likely limited and targeted, but widespread reconnaissance activity was observed.
What the attacker needed
Internet-facing GlobalProtect firewall; No authentication required
How it was found
- The attacker sent crafted network requests to the GlobalProtect interface to exploit the command injection.
- The attacker created a reverse shell to gain interactive access to the firewall.
- The attacker downloaded and executed additional tools, including a Python backdoor called UPSTYLE.
- The attacker set up persistence via a cron job that fetched and ran a remote script every minute.
- The attacker exfiltrated configuration data and used it to move laterally within the victim network.
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.
A firewall is a security device that controls network traffic. In this case, a feature called GlobalProtect had a flaw that let anyone on the internet run commands on the device without logging in. The attacker could then take control of the firewall and use it to break into the rest of the network.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.