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-2025-55182 — Automated proof-of-concept exploit for Next.js RCE (CVE-2025-55182) with interactive shell, batch scanning, and advanced payload encoding for security research and authorized penetration testing. | Kitploit
Tools/GitHubGitHub/hualy13/cve-2025-55182
Vulnerability ScannersExploitationWeb Application ExploitationPenetration TestingRed TeamingPayload Development
GitHubhualy13/cve-2025-55182

CVE-2025-55182

Automated proof-of-concept exploit for Next.js RCE (CVE-2025-55182) with interactive shell, batch scanning, and advanced payload encoding for security research and authorized penetration testing.

View Repository
459 months 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-2025-55182 Next.js RCE Exploit Tool 🚀

Python License Security

This is an automated Proof-of-Concept (PoC) tool for the Next.js React Server Components (CVE-2025-55182) Remote Code Execution (RCE) vulnerability.

The tool integrates an interactive Shell, intelligent protocol detection, and multi-threaded batch scanning capabilities, designed for security researchers and penetration testers to quickly verify and exploit this vulnerability.

⚠️ Disclaimer: This tool is intended solely for cybersecurity education and authorized security testing. It is strictly prohibited to use it for any unauthorized attacks. Users assume all legal responsibilities arising from the use of this tool.


✨ Core Features

  • Interactive Shell Mode: Simulates a terminal-like environment, supports session persistence and continuous command execution without repeatedly running the script.
  • Intelligent Protocol Detection: Automatically handles non-standard inputs (e.g. 192.168.1.1, example.com, or URLs without protocols). The tool will attempt HTTPS first and automatically fall back to HTTP upon failure.
  • Batch Vulnerability Scanning: Supports importing a list of URLs from a file for high-performance multi-threaded scanning to quickly discover vulnerable targets.
  • Automatic Deduplication: Automatically removes duplicate targets in batch mode to avoid repeated requests.
  • Advanced Payload Encoding (Core Advantage):
    • Uses Node.js native Base64 for command output handling.
    • Perfectly resolves errors caused by JSON escape characters.
    • Supports viewing binary output (e.g. ls -F or reading non-text files).
    • Does not rely on base64 or tr commands on the target system (perfectly adapted for Alpine/Distroless and other minimal container environments).
  • Robust Error Handling: Built-in automatic retry mechanism and timeout handling to adapt to unstable network environments and gracefully handle CMD encoding errors.

  • 🛠️ Installation Guide

    1. Clone the repository:

      root@kitploit:~
      git clone https://github.com/hualy13/CVE-2025-55182.git
      cd CVE-2025-55182
      
    2. Install dependencies:

      root@kitploit:~
      pip install -r requirements.txt
      

    💻 Usage

    1. Interactive Shell (Recommended)

    Connect to the target like SSH, supporting continuous command execution.

    root@kitploit:~
    python CVE-2025-55182.py -u [https://target.com/apps] --shell
    

    Note: If you enter an IP (e.g. 127.0.0.1), the tool will automatically attempt HTTPS connection first.

    2. Batch Scan

    Load a list of targets from a text file for batch detection.

    Bash

    root@kitploit:~
    python CVE-2025-55182.py -f targets.txt -t 20
    
    • -f: Path to the target list file (one target per line).
    • -t: Number of scanning threads (default is 10).
    • Result: Vulnerable URLs will be automatically saved to a success.txt file in the current directory.

    3. Single Command Execution

    Execute one command and exit, suitable for quick verification.

    Bash

    root@kitploit:~
    python CVE-2025-55182.py -u [https://target.com/apps] -c "id"
    

    4. Proxy Support

    Supports configuring an HTTP/HTTPS proxy (e.g., to use with Burp Suite for packet analysis).

    Bash

    root@kitploit:~
    python CVE-2025-55182.py -u [https://target.com/apps] --shell -p [http://127.0.0.1:8080]
    

    📝 Batch Scan Input Format

    The targets.txt file supports mixed formats; the tool will automatically normalize them:

    Plaintext

    root@kitploit:~
    192.168.1.100          # Automatically attempts [http://192.168.1.100]
    10.0.0.5:3000          # Automatically attempts [http://10.0.0.5:3000]
    example.com            # Attempts [https://example.com] first, falls back to http://
    [https://site.com/apps]  # Tests as-is
    

    🔍 Technical Principle

    This vulnerability exploits unsafe deserialization of payloads in Next.js Server Actions. This tool constructs a malicious JSON payload; the execution flow is as follows:

    1. Injects a Node.js child_process.execSync call.
    2. Wraps the execution logic in a try-catch block to prevent a server 500 error if the command does not exist or fails.
    3. Uses Node.js internal Buffer to convert the command execution result to a Base64 string.
    4. By throwing an exception (Throw Error), the Base64 result is included in the HTTP response header (X-Action-Redirect or Location) and returned to the attacker.

    ⚖️ Legal Notice

    The tools and information provided in this repository are intended solely for security research and authorized testing. The author is not responsible for any illegal actions or losses caused by misuse of this tool.

    Do not test any system without explicit authorization.

    Download Tool