SecBoard
Zurück zur CVE-Übersicht

CVE-2024-52533

CRITICAL(9.8)

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

Risk Signal Score25/100 — MITTEL
  • CVSS 9.8 — Kritisch

Erwähnungen (letzte 60 Tage)

Artikel

EPSS-Score

1.5%

Exploit-Wahrscheinlichkeit (30 Tage)

CVSS Score

9.8

Technische Schwere

SecBoard-Einordnung

Die Schwachstelle CVE-2024-52533 betrifft GNOME GLib vor Version 2.82.1 und ist eine Off-by-one-Fehler mit nachfolgendem Pufferüberlauf in gio/gsocks4aproxy.c. Dieser Fehler entsteht, weil SOCKS4_CONN_MSG_LEN nicht ausreichend Platz für ein abschließendes Nullzeichen bereitstellt. Eine erfolgreiche Ausnutzung könnte zu Denial of Service oder potenziell zur Ausführung beliebigen Codes führen.

Mit einem CVSS-Score von 9.8 wird diese Schwachstelle als kritisch eingestuft, was auf ein hohes Risiko hinweist. Die EPSS-Rate liegt bei 2%, was eine derzeit geringe Wahrscheinlichkeit einer aktiven Ausnutzung andeutet. Die Schwachstelle ist derzeit nicht im KEV-Katalog aufgeführt, was bedeutet, dass sie noch nicht als aktiv ausgenutzt bekannt ist.

Security-Teams sollten umgehend alle betroffenen GNOME GLib-Installationen auf die Version 2.82.1 oder höher aktualisieren. Obwohl die Exploit-Wahrscheinlichkeit derzeit gering ist, rechtfertigt die hohe Kritikalität eine schnelle Reaktion, um potenzielle Risiken zu minimieren. Eine kontinuierliche Überwachung auf neue Informationen bezüglich dieser Schwachstelle wird empfohlen.

KI-gestützte Einordnung auf Basis der NVD-Daten.

Beschreibung

gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant buffer overflow because SOCKS4_CONN_MSG_LEN is not sufficient for a trailing '\0' character.

Erkennung & Indikatoren

Ausnutzung

In den geprüften Quellen nicht genannt

Behobene Versionen

  • glib 2.82.1
  • glib2.0 2.66.8-1+deb11u5
  • SINEC OS V3.3
  • Ruggedcom ROX V2.17.0
  • SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.5

Threat-Hunting-Queries

Detect attempts to exploit buffer overflow vulnerabilities in SOCKS4a proxy implementations. This typically involves monitoring for unusually long hostnames or usernames in SOCKS4a connection messages that could trigger the overflow. Specific byte patterns or lengths might be indicative, but general anomalous behavior in proxy communication is a starting point.

Sentinel/Defender KQL

DeviceNetworkEvents
| where ActionType == "ConnectionAttempt"
| where RemotePort == 1080 // Default SOCKS port
| where InitiatingProcessCommandLine contains "socks4a"
| extend HostnameLength = strlen(extract(@"hostname=([^&]+)", 1, InitiatingProcessCommandLine))
| extend UsernameLength = strlen(extract(@"username=([^&]+)", 1, InitiatingProcessCommandLine))
| where HostnameLength > 255 or UsernameLength > 255 // Example: SOCKS4_MAX_LEN is 255
| project DeviceName, InitiatingProcessCommandLine, RemoteIP, RemotePort, HostnameLength, UsernameLength, Timestamp

Splunk SPL

index=* (sourcetype=network OR sourcetype=proxy) (dest_port=1080 OR port=1080) (protocol=socks4a OR socks_version=4a)
| rex field=_raw "hostname=(?<hostname>[^&]+)"
| rex field=_raw "username=(?<username>[^&]+)"
| eval hostname_len = len(hostname)
| eval username_len = len(username)
| where hostname_len > 255 OR username_len > 255
| table _time, host, src_ip, dest_ip, dest_port, hostname, hostname_len, username, username_len

Sigma

title: Glib SOCKS4a Buffer Overflow Attempt
id: 7e0e4b2a-1c2d-4f3e-8a9b-0c1d2e3f4a5b
status: experimental
description: Detects potential attempts to exploit CVE-2024-52533 by monitoring for unusually long hostnames or usernames in SOCKS4a proxy connection attempts.
references:
  - https://gitlab.gnome.org/GNOME/glib/-/issues/3461
logsource:
  category: network_connection
  product: linux
detection:
  selection:
    TargetPort: 1080
    Protocol: "socks4a"
  filter_long_hostname:
    Hostname|length:
      - '>255'
  filter_long_username:
    Username|length:
      - '>255'
  condition: selection and (filter_long_hostname or filter_long_username)
fields:
  - SourceIp
  - TargetIp
  - TargetPort
  - Hostname
  - Username
level: high

Elastic ES|QL

from network.connection
| where destination.port == 1080
| where process.command_line : "*socks4a*"
| eval hostname = regex_extract(process.command_line, "hostname=([^&]+)", 1)
| eval username = regex_extract(process.command_line, "username=([^&]+)", 1)
| where length(hostname) > 255 or length(username) > 255
| select @timestamp, host.name, process.command_line, destination.ip, destination.port, hostname, username

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

Betroffene Produkte

  • cpe:2.3:a:gnome:glib:*:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
  • cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*
  • cpe:2.3:a:netapp:ontap_tools:10:*:*:*:*:vmware_vsphere:*:*

Referenzen