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-9474 — Palo Alto RCE Vuln | Kitploit
Tools/GitHubGitHub/aratane/cve-2024-9474
ReconnaissanceVulnerability ScannersExploitationWeb Application ExploitationPenetration TestingCommand and Control
GitHubaratane/cve-2024-9474

CVE-2024-9474

Palo Alto RCE Vuln

View Repository
131 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

Palo Alto PAN-OS Exploit PoC - CVE-2024-0012 & CVE-2024-9474

This script is a Proof of Concept (PoC) exploit for vulnerabilities found in Palo Alto PAN-OS (CVE-2024-0012 & CVE-2024-9474). The script can be used to either scan a list of URLs for the vulnerability or exploit a single vulnerable URL interactively.

Features

  • Scan Mode: Automatically scans multiple URLs to detect the vulnerability.
  • Exploit Mode: Interactively exploits a single URL, allowing the user to execute arbitrary commands.
  • Concurrency Support: The script supports multiple threads to speed up the scanning process.
  • Output Saving: Results are saved in a specified output file.
  • Progress Bar: A customizable progress bar to track the scanning progress.

Prerequisites

  • Go 1.18 or later installed on your machine. Required Go dependencies installed (see below).

Installation

  1. Clone the repository
root@kitploit:~
git clone https://github.com/aratane/CVE-2024-9474
cd CVE-2024-9474
  1. Install dependencies This script relies on several Go libraries. Install them by running:
root@kitploit:~
go mod tidy

The required dependencies include:

github.com/cheggaaa/pb/v3: Progress bar for displaying scanning status. github.com/gookit/color: Enhanced color support for console output. github.com/manifoldco/promptui: Interactive command-line prompts. github.com/p0dalirius/goopts/parser: Command-line argument parsing.

Usage

Running in Scan Mode (to scan multiple URLs) Scan Mode is used to check multiple URLs for the vulnerability. You need to provide a file with a list of URLs.

root@kitploit:~
go run main.go --file urls.txt --output results.txt --threads 100

--file: Path to a file containing a list of URLs to scan. --output: Path to save the scan results (default: output.txt). --threads: Number of concurrent threads to use for scanning (default: 200).

Example urls.txt:

root@kitploit:~
http://example1.com
http://example2.com

Running in Exploit Mode (to exploit a single URL interactively)

Exploit Mode allows you to interactively exploit a vulnerable URL.

root@kitploit:~
go run main.go --url http://target.com --output results.txt

--url: The target URL to exploit. --output: Path to save the exploit results. Once in Exploit Mode, you can enter commands to be executed on the target system. Type exit to quit the interactive shell.

Show Help

To display help information:

root@kitploit:~
go run main.go --help

Example Outputs

Scan Mode

After the scan completes, the results will be saved to the specified output file (e.g., results.txt):

root@kitploit:~
[+] http://example1.com - Auth Bypass successful
[+] http://example2.com - Auth Bypass successful

Exploit Mode

When exploiting a URL interactively, the command output is shown after executing commands on the target:

root@kitploit:~
# ls /var
bin  app  lib  tmp
# exit
[+] Exiting interactive shell.

Configuration

Command-Line Arguments Flag Description Default Value --url The URL to exploit in Exploit Mode --file File with URLs to scan (used in Scan Mode) --output Output file for saving results output.txt --threads Number of concurrent threads for scanning (Scan Mode) 200 --help Show help message

License

This project is licensed under the MIT License - see the LICENSE file for details.

Download Tool