Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_EXPL_RCE_React_Server_Next_JS_CVE_2025_66478_Errors_Dec25

Detects error messages caused by the exploitation of the React Server Remote Code Execution Vulnerability (CVE-2025-55182) in Next.js applications (CVE-2025-66478). This can also be caused by vulnerability scanning.

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
65 / 85

What this rule detects

Detects error messages caused by the exploitation of the React Server Remote Code Execution Vulnerability (CVE-2025-55182) in Next.js applications (CVE-2025-66478). This can also be caused by vulnerability scanning.

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

Summary generated from the rule's metadata and condition.

Rule source

expl-rce-react-server-next-js-cve-2025-66478-errors-dec25.yarDetection Rule License 1.1
rule SIGNATURE_BASE_EXPL_RCE_React_Server_Next_JS_CVE_2025_66478_Errors_Dec25 : CVE_2025_55182 CVE_2025_66478
{
	meta:
		description = "Detects error messages caused by the exploitation of the React Server Remote Code Execution Vulnerability (CVE-2025-55182) in Next.js applications (CVE-2025-66478). This can also be caused by vulnerability scanning."
		author = "Florian Roth"
		id = "6baeb522-6299-56a2-be27-21c6b668439b"
		date = "2025-12-05"
		modified = "2026-05-15"
		reference = "https://github.com/Malayke/Next.js-RSC-RCE-Scanner-CVE-2025-66478"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/react_pocs_indicators_dec25.yar#L74-L87"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "6e5d809cd436935324ad4cb657a66a1c257df13a8dd52ee5db1b803ad24560b3"
		score = 65
		quality = 85
		tags = "CVE-2025-55182, CVE-2025-66478"

	strings:
		$s1 = "[Error: NEXT_REDIRECT]"
		$s2 = "digest: 'uid=0(root) gid=0(root)"

	condition:
		all of them
}

Strings (2 patterns)

IdentifierTypeValueModifiers
$s1text"[Error: NEXT_REDIRECT]"
$s2text"digest: 'uid=0(root) gid=0(root)"

Condition

all of them

In plain words (Heuristic)

  • All 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: 6baeb522-6299-56a2-be27-21c6b668439b

Tags:CVE_2025_55182CVE_2025_66478