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
Tools/GitHubGitHub/opsecramdan
/
react2shell-cve-2025-55182
Privilege EscalationReconnaissanceVulnerability ScannersPayload GenerationExploitationWeb Application ExploitationPenetration TestingCommand and ControlSubdomain EnumerationRemote Access Tool
GitHubopsecramdan/react2shell-cve-2025-55182

react2shell-cve-2025-55182

Automated exploitation framework for CVE-2025-55182 (Next.js RCE) with subdomain enumeration, vulnerability scanning, payload generation, and interactive remote shell with file operations.

View Repository
407 months agoNot yet reviewed
Share

🚨 React2Shell - CVE-2025-55182 Exploitation Framework

Severity Type Platform Python

Advanced exploitation framework for CVE-2025-55182 (Next.js Remote Code Execution)

Author: opsecramdan


📚 Table of Contents

  • Overview
  • Vulnerability Details
  • Features
  • Requirements
  • Installation
  • Usage
  • Interactive Shell
  • Output Files
  • Impact
  • Mitigation
  • Limitations
  • Disclaimer

📌 Overview

React2Shell is an exploitation framework for identifying and exploiting vulnerability CVE-2025-55182 in Next.js-based applications.

Tool ini dirancang sebagai all-in-one offensive toolkit yang mencakup:

  • Subdomain enumeration
  • Vulnerability scanning
  • Exploitation engine
  • Interactive remote shell

🔍 Vulnerability Details

  • CVE ID: CVE-2025-55182
  • Type: Remote Code Execution (RCE)
  • Platform: Next.js
  • Attack Vector: Malicious multipart/form-data request
  • Impact: Arbitrary command execution

🧠 Root Cause

This vulnerability leverages Next.js internal mechanisms by:

  1. Injecting payload into the request
  2. Calling: process.mainModule.require('child_process')
  3. Executing OS commands
  4. Encoding output in Base64
  5. Leaking results via redirect (/login?a=)

⚙️ Features

🔎 Subdomain Enumeration

  • DNS + HTTP scanning
  • Built-in wordlist
  • Custom wordlist support
  • Auto save result

🧪 Vulnerability Scanner

  • Multi-endpoint testing:
  • /
  • /api
  • /api/auth
  • /_next
  • /admin
  • /dashboard
  • Header & response analysis
  • False-positive reduction

💣 Exploitation Engine

  • Automatic payload generation
  • Base64 encoded execution
  • Redirect-based output extraction

🖥️ Interactive Shell

  • Remote command execution
  • Persistent session
  • Directory tracking

📂 File Operations

  • Upload file
  • Download file
  • Create file

👑 Root Mode

  • sudo -i execution
  • Privilege escalation simulation

📦 Requirements

  • Python 3.x

Install dependencies: pip install requests dnspython


📥 Installation

1. Clone Repository

git clone https://github.com/yourusername/react2shell-cve-2025-55182.git

2. Enter the directory

cd react2shell-cve-2025-55182

3. Run the tool

python3 react2shell.py


🚀 Usage

🎯 Single Target

python3 react2shell.py -u https://target.com

Without protocol:

python3 react2shell.py -u target.com


📄 Multiple Targets

python3 react2shell.py -f targets.txt

Example contents of targets.txt:

https://target1.com http://target2.com:3000 target3.com


🌐 Full Mode (Recon + Scan + Exploit)

python3 react2shell.py -d example.com

Flow:

  1. Subdomain enumeration
  2. Vulnerability scanning
  3. Exploitation (optional)

📚 Custom Wordlist

python3 react2shell.py -d example.com -w wordlist.txt


🐞 Debug Mode

python3 react2shell.py -d example.com --debug


🖥️ Interactive Shell

After a successful exploit, you will gain shell access.

Basic Commands

whoami
id
uname -a
pwd
ls -lah


⚙️ Special Commands

CommandDescription
.rootToggle root mode
.uploadUpload file ke target
.downloadDownload file dari target
.createCreate file di target
.saveSave output ke file lokal
.exitExit shell

📂 Upload File

.upload shell.php /tmp/shell.php


📥 Download File

.download /etc/passwd


📄 Create File

.create /tmp/test.txt


🔄 Example Workflow

1. Scan domain

python3 react2shell.py -d example.com

2. Identify vulnerable targets

3. Enter shell

whoami

4. Upload payload

.upload backdoor.sh /tmp/backdoor.sh


📁 Output Files

The tool will produce:

  • subdomains_*.txt
  • vulnerable_*.txt
  • output_*.txt

⚠️ Impact

If successfully exploited:

  • Remote command execution
  • Akses file sensitif
  • Upload backdoor
  • Persistence access
  • Privilege escalation

🛡️ Mitigation

  • Update Next.js to the latest version
  • Restrict internal endpoints
  • Validate input strictly
  • Use a WAF (OWASP CRS)
  • Monitor anomalous activity

⚠️ Disclaimer

This tool is created solely for:

  • Learning
  • Research
  • Authorized penetration testing

It is prohibited to use it for illegal activities.


⭐ Notes

This project demonstrates:

  • Advanced exploitation skill
  • Understanding of Next.js internals
  • Real-world attack simulation
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.

    755
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    510
  • 3

    ARTEX

    baarai/artex

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

    415
  • 4

    redforge

    cybersecurity91/redforge

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

    343
  • 5

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    259
  • 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.

    258

Explore all tools

Browse our collection of tools

View all tools →