Skip to content
RCE Disclosed report Advanced CVE-2024-3400

GlobalProtect - OS Command Injection #█████████

A command injection vulnerability in the GlobalProtect feature of PAN-OS allows an unauthenticated attacker to execute arbitrary code with root privileges on the firewall. The attacker can create files on the server with root access.

0xr2r Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 10 hours
  • Fixed in 7 days
  • Disclosed after 21 months

Description: A command injection vulnerability in the GlobalProtect feature of Palo Alto Networks PAN-OS software for specific PAN-OS versions and distinct feature configurations may enable an unauthenticated attacker to execute arbitrary code with root privileges on the firewall.Cloud NGFW, Panorama appliances, and Prisma Access are not impacted by this vulnerability.

References

- https://labs.watchtowr.com/palo-alto-putting-the-protecc-in-globalprotect-CVE-2024-3400/
- https://attackerkb.com/topics/SSTk336Tmf/cve-2024-3400/rapid7-analysis
- https://nvd.nist.gov/vuln/detail/CVE-2024-3400

Impact

GlobalProtect - OS Command Injection

System Host(s)

██████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

#poc

CVE-2024-3400 Palo Alto OS Command Injection

send this HTTP request:

██████

you will create hellome1337.txt file on the server with root access

now if you try to access the files you should receive 403 insted of 404

███

More Info : https://github.com/h4x0r-dz/CVE-2024-3400?tab=readme-ov-file https://attackerkb.com/topics/SSTk336Tmf/cve-2024-3400/rapid7-analysis https://labs.watchtowr.com/palo-alto-putting-the-protecc-in-globalprotect-cve-2024-3400/

The original report as published on HackerOne, by 0xr2r. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a command injection flaw in the GlobalProtect feature where user-supplied input is passed to a system command without proper sanitisation.

What the attacker needed

Specific PAN-OS versions; distinct feature configurations; unauthenticated attacker

How it was found

  1. Send a crafted HTTP request to the GlobalProtect endpoint.
  2. The request causes the server to create a file named hellome1337.txt with root privileges.
  3. Accessing the file returns 403 instead of 404, indicating it exists.

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 report has not been written yet. The Original tab links to the source.

This is a flaw in a firewall product that may let someone not logged in run commands as root, potentially creating files.

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 0xr2r

View all

2 more disclosed reports, best first.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

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.