Niedrig

Graylog vulnerable to insecure source port usage for DNS queries

  • Veröffentlicht: 06.07.2023
  • Aktualisiert: 11.10.2026 11:21

Summary

Graylog utilises only one single source port for DNS queries.

Details

Graylog seems to bind a single socket for outgoing DNS queries. That socket is bound to a random port number which is not changed again. This goes against recommended practice since 2008, when Dan Kaminsky discovered how easy is to carry out DNS cache poisoning attacks. In order to prevent cache poisoning with spoofed DNS responses, it is necessary to maximise the uncertainty in the choice of a source port for a DNS query.

PoC

The attached figure shows the source ports distribution difference between Graylog configured to use a data adapter based on DNS queries and ISC Bind. The source port distribution of the DNS queries sent from Graylog to a recursive DNS name server running Bind (CLIENT_QUERY) are depicted in purple, while the queries sent from the recursive DNS server to the authoritatives (RESOLVER_QUERY) are plotted in green color. As it can be observed, in contrast to ISC Bind which presents a heterogeneous usage of source port, Graylog utilises a single source port.

image

Impact

Although unlikely in many setups, an external attacker could inject forged DNS responses into a Graylog's lookup table cache. In order to prevent this, it is at least recommendable to distribute the DNS queries through a pool of distinct sockets, each of them with a random source port and renew them periodically.

(Credit to Iratxe Niño from Fundación Sarenet and Borja Marcos from Sarenet)

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Java / Kotlin (Maven) org.graylog2:graylog2-server >= 5.1.0, < 5.1.3, < 5.0.9 5.1.3, 5.0.9

Verweise

CVSS-Wert 3.7/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Schwäche (CWE)
CWE-345
Plattform
Java / Kotlin (Maven)
Paket
org.graylog2:graylog2-server
Veröffentlicht
06.07.2023
Aktualisiert
11.10.2026 11:21

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-g96c-x7rh-99r3 - CC BY 4.0

Schwachstellenhistorie: org.graylog2:graylog2-server

Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Alle (16) im Archiv
Einträge insgesamt
16
Erste → letzte
05.2022 09.2026
Ohne Fix
0
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Hoch 5
  • Mittel 8
  • Niedrig 3

Veröffentlichungen pro Jahr

  1. 2022: 3
  2. 2023: 3
  3. 2024: 2
  4. 2025: 4
  5. 2026: 4
Schweregrad:
  1. Hoch · 7.5 CVE-2026-55841 < 6.3.12, >= 7.0.0, < 7.0.7, >= 7.1.0, < 7.1.2 6.3.12, 7.0.7, 7.1.2
  2. Hoch CVE-2025-53106 >= 6.2.0, < 6.2.4, >= 6.3.0-alpha.1, < 6.3.0-rc.2 6.2.4, 6.3.0-rc.2
  3. Hoch · 8.0 CVE-2025-46827 < 6.0.14, >= 6.1.0, < 6.1.10 6.0.14, 6.1.10
  4. Hoch · 8.8 CVE-2024-24824 >= 2.0.0, < 5.1.11, >= 5.2.0-alpha.1, < 5.2.4 5.1.11, 5.2.4
  5. Graylog vulnerable to insecure source port usage for DNS queries dieser Eintrag
    Niedrig · 3.7 CVE-2023-41045 >= 5.1.0, < 5.1.3, < 5.0.9 5.1.3, 5.0.9

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.