SecBoard
Zurück zur CVE-Übersicht

CVE-2024-28757

HIGH(7.5)

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Risk Signal Score19/100 — NIEDRIG
  • CVSS 7.5 — Hoch

Erwähnungen (letzte 60 Tage)

Artikel

EPSS-Score

2.0%

Exploit-Wahrscheinlichkeit (30 Tage)

CVSS Score

7.5

Technische Schwere

Beschreibung

libexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of external parsers (created via XML_ExternalEntityParserCreate).

Erkennung & Indikatoren

Ausnutzung

In den geprüften Quellen nicht genannt

Behobene Versionen

  • Expat 2.6.2
  • mingw-expat 2.6.1-1.fc39
  • mingw-expat 2.6.1-1.fc38
  • mingw-expat 2.6.1-1.fc40

Threat-Hunting-Queries

Detection for XML Entity Expansion (Billion Laughs) attacks in libexpat. This query looks for suspicious XML content that could indicate an attempt to exploit CVE-2024-28757, specifically targeting the pattern of recursive entity definitions in external DTDs.

Sentinel/Defender KQL

DeviceFileEvents
| where FileName endswith ".xml" or FileName endswith ".dtd"
| where FileContent contains "<!DOCTYPE" and FileContent contains "SYSTEM" and FileContent contains "ENTITY" and FileContent contains "%p1 '%p1'" // Simplified pattern for recursive entity
| project Timestamp, DeviceName, FileName, FolderPath, FileContent
| extend ThreatType = "CVE-2024-28757 XML Entity Expansion Attempt"

Splunk SPL

index=* (sourcetype=xml OR sourcetype=dtd) "<!DOCTYPE" "SYSTEM" "ENTITY" "%p1 '%p1'"
| table _time, host, source, _raw
| rename _raw as FileContent
| eval ThreatType = "CVE-2024-28757 XML Entity Expansion Attempt"

Sigma

title: LibExpat XML Entity Expansion Attempt
id: 00000000-0000-0000-0000-000000000001
status: experimental
description: Detects potential XML Entity Expansion (Billion Laughs) attacks targeting libexpat, specifically looking for recursive entity definitions in external DTDs.
author: SecBoard
date: 2024/07/30
logsource:
  category: file_event
  product: windows
detection:
  selection:
    EventID: 11
    TargetFilename|endswith: ['.xml', '.dtd']
    Image|endswith: ['\parser.exe', '\xml_processor.exe'] # Example processes that might use libexpat
    CommandLine|contains: ['<!DOCTYPE', 'SYSTEM', 'ENTITY', '%p1 \'%p1\'']
  condition: selection
fields:
  - Image
  - TargetFilename
  - CommandLine
tags:
  - attack.defense_evasion
  - attack.impact
  - cve.2024.28757
  - doi.denial_of_service

Elastic ES|QL

from file where file.extension in ("xml", "dtd") and file.content : ("<!DOCTYPE", "SYSTEM", "ENTITY", "%p1 '%p1'")
| project @timestamp, host.name, file.path, file.content
| append { from process where process.args : ("<!DOCTYPE", "SYSTEM", "ENTITY", "%p1 '%p1'") and process.executable : ("*parser*", "*xml_processor*")
| project @timestamp, host.name, process.executable, process.args }
| set threat.type = "CVE-2024-28757 XML Entity Expansion Attempt"

SecBoard-generated · behavioral · requires customization — Von SecBoard erzeugt und nicht in einer Zielumgebung validiert. Vor dem Einsatz an die eigene Protokollierung anpassen.

Indikatoren

Datei-Hashes (1)

  • 6b870c78cff9efe41f1060277f434da98b9f78e9159baf4cb95f034e890ac087

Übernommen wurden nur Indikatoren, die wörtlich in einer Hersteller- oder Research-Quelle standen.

Betroffene Produkte

  • cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*
  • cpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:ontap:9:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:ontap_tools:10:*:*:*:*:vmware_vsphere:*:*
  • cpe:2.3:a:netapp:windows_host_utilities:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:h610c_firmware:-:*:*:*:*:*:*:*
  • cpe:2.3:o:netapp:h610s_firmware:-:*:*:*:*:*:*:*

Referenzen