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-51567-poc — CVE-2024-51567 is a Python PoC exploit targeting an RCE vulnerability in CyberPanel v2.3.6’s upgrademysqlstatus endpoint, bypassing CSRF protections. | Kitploit
Tools/GitHubGitHub/kkdt12138/cve-2024-51567-poc
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and Control
GitHubkkdt12138/cve-2024-51567-poc

cve-2024-51567-poc

CVE-2024-51567 is a Python PoC exploit targeting an RCE vulnerability in CyberPanel v2.3.6’s upgrademysqlstatus endpoint, bypassing CSRF protections.

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-51567-poc

Simplified Description

Vulnerability Overview

  • ID: CVE-2024-51567
  • Type: Command Injection / CSRF Bypass
  • Affected Versions: CyberPanel 2.3.6 and 2.3.7 (unpatched)
  • Description:
    In the upgrademysqlstatus endpoint of CyberPanel, by bypassing the secMiddleware protection for POST requests, an attacker can exploit the statusfile parameter to inject commands and execute them remotely.

Features

  • Automatically retrieves the target server's CSRF Token
  • Bypasses CSRF protection and sends malicious requests
  • Supports single-target or multi-target batch attacks
  • Provides interactive command execution functionality
  • Returns an error message if the CSRF Token is missing

Requirements

  • Python 3
  • httpx module

Installation and Usage

  1. Clone the project and install dependencies

    root@kitploit:~
    git clone https://github.com/XiaomingX/cve-2024-51567-poc.git
    cd cve-2024-51567-poc
    pip install httpx
    
  2. Single-target execution

    root@kitploit:~
    python CVE-2024-51567.py <target URL>
    

    Example:

    root@kitploit:~
    python CVE-2024-51567.py http://example.com
    
  3. Multi-target batch execution
    List all targets in a file, one URL per line, then run:

    root@kitploit:~
    python CVE-2024-51567.py <target file>
    

    Example:

    root@kitploit:~
    python CVE-2024-51567.py targets.txt
    

Example Output

After running the script, it enters interactive mode, allowing you to continuously input commands until you exit (enter exit or quit).


FAQ

  • "CSRF token not found":
    • Verify that the target server correctly returns the CSRF Token.
    • If the path differs, adjust the get_CSRF_token function.

References

  • Vulnerability Details - NVD
  • Detailed Analysis - Ionix
  • Technical Assessment - Dreyand
Download Tool