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-51378 — Exploit for CyberPanel Pre-Auth RCE via Command Injection | Kitploit
Tools/GitHubGitHub/refr4g/cve-2024-51378
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and Control
GitHubrefr4g/cve-2024-51378

CVE-2024-51378

Exploit for CyberPanel Pre-Auth RCE via Command Injection

View Repository
2371 year agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CyberPanel Command Injection Vulnerability - CVE-2024-51378

Exploit for CyberPanel Pre-Auth RCE (Remote Code Execution) via Command Injection
Author: Luka Petrovic (refr4g)
Date Disclosed: October 2024

Overview

Proof-of-concept (PoC) exploit for a command injection vulnerability (CVE-2024-51378) in CyberPanel. This vulnerability enables unauthenticated attackers to inject and execute arbitrary commands on vulnerable servers by sending crafted OPTIONS HTTP requests to /dns/getresetstatus and /ftp/getresetstatus endpoints, potentially leading to full system compromise.

Impact

An attacker with network access to the CyberPanel interface can use this vulnerability to gain full control over the affected system.

Exploit Details

  • Vulnerable Versions: CyberPanel v2.3.5, v2.3.6, v.2.3.7 (before patch)
  • Exploitation Method: Command injection via crafted requests to /dns/getresetstatus and /ftp/getresetstatus CyberPanel endpoints.
  • Requirements: Network access to the CyberPanel interface.

Usage

  1. Clone the repository:
    root@kitploit:~
    git clone https://github.com/refr4g/CVE-2024-51378.git
    
  2. Navigate to the directory:
    root@kitploit:~
    cd CVE-2024-51378
    
  3. Execute the script, specifying the target URL and endpoint:
    root@kitploit:~
    python3 CVE-2024-51378.py <target_url> <endpoint>
    
    • target_url: The URL of the CyberPanel instance (e.g., http://target.com:8090).
    • endpoint: The vulnerable endpoint (/ftp/getresetstatus or /dns/getresetstatus).

Example

root@kitploit:~
python3 CVE-2024-51378.py http://target.com:8090 /ftp/getresetstatus

PoC Video

PoC Video

Disclaimer

This code is for educational purposes only and should only be used on systems for which you have explicit permission to test.

References

  • Detailed Blog Post
  • NVD NIST
Download Tool