CVE-2023-41045

Graylog is a free and open log management platform. Graylog makes use of only one single source port for DNS queries. Graylog binds a single socket for outgoing DNS queries and while that socket is bound to a random port number it is never 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. 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. This issue has been addressed in versions 5.0.9 and 5.1.3. Users are advised to upgrade. There are no known workarounds for this issue.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:graylog:graylog:*:*:*:*:*:*:*:*
cpe:2.3:a:graylog:graylog:*:*:*:*:*:*:*:*

History

17 Jun 2026, 06:20

Type Values Removed Values Added
Summary
  • (es) Graylog es una plataforma de gestión de logs gratuita y de código abierto. Graylog utiliza solo un único puerto de origen para las consultas DNS. Graylog enlaza un único socket para las consultas DNS salientes y, aunque ese socket está enlazado a un número de puerto aleatorio, nunca se vuelve a cambiar. Esto va en contra de la práctica recomendada desde 2008, cuando Dan Kaminsky descubrió lo fácil que es llevar a cabo ataques de envenenamiento de caché DNS. Para evitar el envenenamiento de caché con respuestas DNS falsificadas, es necesario maximizar la incertidumbre en la elección de un puerto de origen para una consulta DNS. Aunque improbable en muchas configuraciones, un atacante externo podría inyectar respuestas DNS falsificadas en la caché de la tabla de búsqueda de Graylog. Para evitar esto, es al menos recomendable distribuir las consultas DNS a través de un pool de sockets distintos, cada uno de ellos con un puerto de origen aleatorio y renovarlos periódicamente. Este problema ha sido abordado en las versiones 5.0.9 y 5.1.3. Se aconseja a los usuarios actualizar. No se conocen soluciones alternativas para este problema.

21 Nov 2024, 08:20

Type Values Removed Values Added
References () https://github.com/Graylog2/graylog2-server/commit/466af814523cffae9fbc7e77bab7472988f03c3e - Patch () https://github.com/Graylog2/graylog2-server/commit/466af814523cffae9fbc7e77bab7472988f03c3e - Patch
References () https://github.com/Graylog2/graylog2-server/commit/a101f4f12180fd3dfa7d3345188a099877a3c327 - Patch () https://github.com/Graylog2/graylog2-server/commit/a101f4f12180fd3dfa7d3345188a099877a3c327 - Patch
References () https://github.com/Graylog2/graylog2-server/security/advisories/GHSA-g96c-x7rh-99r3 - Exploit, Vendor Advisory () https://github.com/Graylog2/graylog2-server/security/advisories/GHSA-g96c-x7rh-99r3 - Exploit, Vendor Advisory
CVSS v2 : unknown
v3 : 5.3
v2 : unknown
v3 : 3.7

06 Sep 2023, 20:02

Type Values Removed Values Added
First Time Graylog
Graylog graylog
References (MISC) https://github.com/Graylog2/graylog2-server/security/advisories/GHSA-g96c-x7rh-99r3 - (MISC) https://github.com/Graylog2/graylog2-server/security/advisories/GHSA-g96c-x7rh-99r3 - Exploit, Vendor Advisory
References (MISC) https://github.com/Graylog2/graylog2-server/commit/a101f4f12180fd3dfa7d3345188a099877a3c327 - (MISC) https://github.com/Graylog2/graylog2-server/commit/a101f4f12180fd3dfa7d3345188a099877a3c327 - Patch
References (MISC) https://github.com/Graylog2/graylog2-server/commit/466af814523cffae9fbc7e77bab7472988f03c3e - (MISC) https://github.com/Graylog2/graylog2-server/commit/466af814523cffae9fbc7e77bab7472988f03c3e - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3
CPE cpe:2.3:a:graylog:graylog:*:*:*:*:*:*:*:*

31 Aug 2023, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-08-31 18:15

Updated : 2026-06-17 06:20


NVD link : CVE-2023-41045

Mitre link : CVE-2023-41045

CVE.ORG link : CVE-2023-41045


JSON object : View

Products Affected

graylog

  • graylog
CWE
CWE-345

Insufficient Verification of Data Authenticity