Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_EXPL_React_Server_CVE_2025_55182_POC_Dec25

Detects in-memory webshell indicators related to the proof-of-concept code for the React Server Remote Code Execution Vulnerability (CVE-2025-55182)

ExploitSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Florian Roth
Date
2025-12-05
Modified
2026-05-15
Score / Quality
70 / 85

What this rule detects

Detects in-memory webshell indicators related to the proof-of-concept code for the React Server Remote Code Execution Vulnerability (CVE-2025-55182)

It defines 6 patterns (6 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

expl-react-server-cve-2025-55182-poc-dec25.yarDetection Rule License 1.1
rule SIGNATURE_BASE_EXPL_React_Server_CVE_2025_55182_POC_Dec25 : CVE_2025_55182
{
	meta:
		description = "Detects in-memory webshell indicators related to the proof-of-concept code for the React Server Remote Code Execution Vulnerability (CVE-2025-55182)"
		author = "Florian Roth"
		id = "1ad38541-1477-5c07-9975-318357bcb9b8"
		date = "2025-12-05"
		modified = "2026-05-15"
		reference = "https://x.com/pyn3rd/status/1996840827897954542/photo/1"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/react_pocs_indicators_dec25.yar#L1-L20"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "a4f27fc85807e8f94e6947523a09d87ceed0658334756a9724322181c3eecd20"
		score = 70
		quality = 85
		tags = "CVE-2025-55182"

	strings:
		$xs1 = "{const cmd=p.query.cmd;if(!cmd)(s.writeHead(400);"
		$s1 = ";if(p.pathname=="
		$s2 = ".writeHead(400);"
		$s3 = ".writeHead(200,{'Content-Type':"
		$s4 = ".execSync("
		$s5 = ",stdio:'pipe'})"

	condition:
		1 of ( $x* ) or all of ( $s* )
}

Strings (6 patterns)

IdentifierTypeValueModifiers
$xs1text"{const cmd=p.query.cmd;if(!cmd)(s.writeHead(400);"
$s1text";if(p.pathname=="
$s2text".writeHead(400);"
$s3text".writeHead(200,{'Content-Type':"
$s4text".execSync("
$s5text",stdio:'pipe'})"

Condition

1 of ( $x* ) or all of ( $s* )

In plain words (Heuristic)

  • All patterns in ( $s* ) must match.
  • At least 1 patterns in ( $x* ) must match.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Licence & attribution

Author: Florian Roth

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: 1ad38541-1477-5c07-9975-318357bcb9b8

Tags:CVE_2025_55182