CVE-2023-41045
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.
Weakness
- CWE-345: Insufficient Verification of Data Authenticity
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2024-10-01 |
Timeline
- 2023-07-06GitHub advisory published (GHSA-g96c-x7rh-99r3)56 days before publication
- 2023-08-31Published by the CNA17:59 UTC
- 2024-10-01CISA SSVC decision recorded397 days after publication
Exploit and advisory records
GitHub advisory GHSA-g96c-x7rh-99r3, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.graylog2:graylog2-server | before 5.0.9 | 5.0.9 |
| Maven org.graylog2:graylog2-server | from 5.1.0 before 5.1.3 | 5.1.3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| graylog graylog | before 5.0.9fixed in 5.0.9from 5.1.0 before 5.1.3fixed in 5.1.3 | 5.0.95.1.3 |
References
- https://github.com/Graylog2/graylog2-server/commit/466af814523cffae9fbc7e77bab7472988f03c3e
- https://github.com/Graylog2/graylog2-server/commit/a101f4f12180fd3dfa7d3345188a099877a3c327
- https://github.com/Graylog2/graylog2-server/security/advisories/GHSA-g96c-x7rh-99r3
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2023-41045'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2023-41045'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2023-41045'curl 'https://api.contrastcyber.com/cve_products/CVE-2023-41045'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).