Detect CVE-2025-55182 — Meta React Server Components Remote Code Execution in CrowdStrike LogScale
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
LogScale Detection Query
#event_simpleName IN (ProcessRollup2, NetworkConnectIP4, FileWritten)
| ImageFileName = /(?i)(node|next)(\.(exe|js))?$/
| CommandLine = /(?i)(child_process|execSync|spawnSync|eval|Function\(|vm\.runInNewContext|__import__|os\.system)/ OR
(TargetFileName = /(?i)(\/tmp\/|\\Temp\\)/ AND TargetFileName = /\.(sh|py|elf|exe|pl)$/) OR
(RemotePort IN [4444, 1337, 9001, 8080] AND #event_simpleName = NetworkConnectIP4)
| groupby([ComputerName, ImageFileName, CommandLine, TargetFileName, RemoteIP, RemotePort])
| eval rce_indicator = case(
CommandLine = /(?i)(child_process|exec)/, "ChildProcessSpawn",
CommandLine = /(?i)(eval|Function\()/, "DynamicCodeEval",
TargetFileName = /(?i)\/tmp\//, "TempFileWrite",
#event_simpleName = "NetworkConnectIP4", "SuspiciousOutbound",
true(), "Unknown"
)
| select([ComputerName, ImageFileName, CommandLine, TargetFileName, RemoteIP, RemotePort, rce_indicator])
| sort(timestamp, order=desc) CrowdStrike Falcon LogScale/CQL query correlating process, file, and network events from Node.js/Next.js processes to detect CVE-2025-55182 React Server Components RCE indicators including dynamic code evaluation and reverse shell activity.
Data Sources
Required Tables
False Positives & Tuning
- Falcon-protected development workstations running local Next.js development servers with hot reload
- Automated testing pipelines that use CrowdStrike-monitored endpoints for integration tests
- Node.js microservices that legitimately connect to internal services on overlapping port numbers
- Package manager operations (npm, yarn, pnpm) that invoke child processes during install hooks
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.