CVE-2023-41045

Low

Description

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.

SeverityLow
CVSS3.7
Exploit probability—
ProductGraylog
PublishedAug 31, 2023
First seenAug 31, 2023
Weakness typeCWE-345CWE-345

How to fix

Update
  • graylog graylog5.0.9, 5.1.3 or later
  • org.graylog2:graylog2-server5.1.3, 5.0.9 or later

Affected products

ProductAffected versionsFixed in
graylog graylogv < 5.0.9, 5.1.0 ≤ v < 5.1.35.0.9, 5.1.3
org.graylog2:graylog2-serverMaven5.1.0 ≤ v < 5.1.3, v < 5.0.95.1.3, 5.0.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.