Detect CVE-2025-55182 — Meta React Server Components Remote Code Execution in Sumo Logic CSE
Detects exploitation of CVE-2025-55182, a critical remote code execution vulnerability in Meta React Server Components. This vulnerability allows attackers to achieve server-side code execution by abusing the React Server Components protocol, potentially leading to full server compromise. The vulnerability is actively exploited in the wild (CISA KEV).
MITRE ATT&CK
- Tactic
- Initial Access Execution Persistence Impact
Sumo Detection Query
(_sourceCategory=*endpoint* OR _sourceCategory=*process* OR _sourceCategory=*syslog*)
| where (%"process.name" in ("node", "node.exe", "next") or %"ProcessName" in ("node", "node.exe", "next"))
| where (
matches(%"CommandLine", "(?i).*(child_process|execSync|spawnSync|eval|Function\(|vm\.runInNewContext).*")
or matches(%"file.path", "(?i).*(/tmp/|/var/tmp/|\\\\Temp\\\\).*\.(sh|py|elf|exe|pl)$")
or (%"network.dest_port" in ("4444", "1337", "9001") and %"network.direction" = "outbound")
)
| if(matches(%"CommandLine", "(?i).*(child_process|exec)"), "CommandExecution",
if(matches(%"CommandLine", "(?i).*(eval|Function\()"), "DynamicEval",
if(matches(%"file.path", "(?i).*/tmp/.*"), "FileDrop", "NetworkC2"))) as exploit_stage
| count by _sourceHost, %"process.name", %"CommandLine", %"file.path", exploit_stage
| sort by _count desc Sumo Logic query aggregating React Server Component (Node.js/Next.js) process telemetry to surface CVE-2025-55182 exploitation indicators including dangerous function calls, temp file writes, and outbound reverse shell connections.
Data Sources
Required Tables
False Positives & Tuning
- Serverless functions invoking shell commands through Node.js runtime wrappers
- Next.js API routes that legitimately spawn child processes for media transcoding
- Development tooling such as nodemon or ts-node that restarts processes on file change
- Container health check scripts launched by Node.js process monitors
Other platforms for CVE-2025-55182
Testing Methodology
Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1CVE-2025-55182 RSC Protocol RCE Simulation — Command Execution via child_process
Expected signal: EDR telemetry: ProcessCreate event with parent=node, child=sh or node with args containing execSync. Audit logs: execve syscall for 'id', 'whoami', 'hostname' with parent PID matching the node process.
- Test 2CVE-2025-55182 RSC Exploitation — Reverse Shell Payload Drop to /tmp
Expected signal: File creation event in /tmp with .sh extension, owned by node process user, with executable permissions set. EDR FileCreated event with FolderPath=/tmp and FileName=rsc_test_shell.sh.
- Test 3CVE-2025-55182 RSC Post-Exploitation — Dynamic Code Evaluation Abuse
Expected signal: Process event showing node.exe/node with args containing vm.runInNewContext. If eval succeeds, subsequent execve events for 'id' binary with node as ancestor process.
- Test 4CVE-2025-55182 RSC Network C2 Beacon Simulation
Expected signal: Network connection event from node process to 127.0.0.1:4444 (substitute real C2 IP in production test). EDR NetworkConnectionFound or equivalent with InitiatingProcessFileName=node and RemotePort=4444.
Unlock Pro Content
Get the full detection package for CVE-2025-55182 including response playbook, investigation guide, and atomic red team tests.