Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_EXPL_SUSP_JS_POC_Dec25

Detects RCE indicators related to the proof-of-concept code for the React Server Remote Code Execution Vulnerability (CVE-2025-55182) but could be used in other JavaScript based PoC code as well

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

What this rule detects

Detects RCE indicators related to the proof-of-concept code for the React Server Remote Code Execution Vulnerability (CVE-2025-55182) but could be used in other JavaScript based PoC code as well

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

Summary generated from the rule's metadata and condition.

Rule source

expl-susp-js-poc-dec25.yarDetection Rule License 1.1
rule SIGNATURE_BASE_EXPL_SUSP_JS_POC_Dec25 : CVE_2025_55182 FILE
{
	meta:
		description = "Detects RCE indicators related to the proof-of-concept code for the React Server Remote Code Execution Vulnerability (CVE-2025-55182) but could be used in other JavaScript based PoC code as well"
		author = "Florian Roth"
		id = "114c83f8-b798-5db9-a054-a6148dde7d5a"
		date = "2025-12-05"
		modified = "2025-12-06"
		reference = "https://github.com/msanft/CVE-2025-55182/blob/main/poc.py"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/react_pocs_indicators_dec25.yar#L89-L104"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "142749ac6538d80a9c713eb19b763063e4d788e622f4938ecd0c1edbf51b3c74"
		score = 70
		quality = 85
		tags = "CVE-2025-55182, FILE"

	strings:
		$xr1 = /process\.mainModule\.require\(["']child_process["']\).{5,40}\(["'](whoami|powershell|\/bin\/sh|\/bin\/bash|wget|curl|cat \/etc\/passwd|uname|id["'])/

	condition:
		1 of them and not uint16( 0 ) == 0x3c3f
}

Strings (1 patterns)

IdentifierTypeValueModifiers
$xr1regex/process\.mainModule\.require\(["']child_process["']\).{5,40}\(["'](whoami|powershell|\/bin\/sh|\/bin\/bash|wget|curl|cat \/etc\/passwd|uname|id["'])/

Condition

1 of them and not uint16( 0 ) == 0x3c3f

In plain words (Heuristic)

  • At least 1 patterns in the rule 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: 114c83f8-b798-5db9-a054-a6148dde7d5a

Tags:CVE_2025_55182FILE