Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_EXPL_LNX_CUPS_CVE_2024_47177_Sep24

Detects exploit code for CUPS CVE-2024-47177

ExploitSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Florian Roth
Date
2024-09-27
Modified
2024-12-12
Score / Quality
75 / 85

What this rule detects

Detects exploit code for CUPS CVE-2024-47177

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

Summary generated from the rule's metadata and condition.

Rule source

expl-lnx-cups-cve-2024-47177-sep24.yarDetection Rule License 1.1
rule SIGNATURE_BASE_EXPL_LNX_CUPS_CVE_2024_47177_Sep24 : CVE_2024_47177 FILE
{
	meta:
		description = "Detects exploit code for CUPS CVE-2024-47177"
		author = "Florian Roth"
		id = "a7b986ad-e943-5350-a6e0-34c40f07874c"
		date = "2024-09-27"
		modified = "2024-12-12"
		reference = "https://github.com/OpenPrinting/cups-browsed/security/advisories/GHSA-rj88-6mr5-rcw8"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_cups_sep24.yar#L2-L15"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "633314dea5e3cbdf3cef6e4f18c2efca261dfc600bb9c11d0834fdae102ac9e6"
		score = 75
		quality = 85
		tags = "CVE-2024-47177, FILE"

	strings:
		$s1 = "FoomaticRIPCommandLine: " ascii
		$s2 = "cupsFilter2 : " ascii

	condition:
		filesize < 400KB and all of them
}

Strings (2 patterns)

IdentifierTypeValueModifiers
$s1text"FoomaticRIPCommandLine: "ascii
$s2text"cupsFilter2 : "ascii

Condition

filesize < 400KB and all of them

In plain words (Heuristic)

  • The file must be smaller than 400KB (a cheap guard that skips large files).
  • 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: a7b986ad-e943-5350-a6e0-34c40f07874c

Tags:CVE_2024_47177FILE