CVE-2024-24823: Graylog session fixation vulnerability through cookie injection
Impact Reauthenticating with an existing session cookie would re-use that session id, even if for different user credentials. In this case, the pre-existing session could be used to gain elevated access to an existing Graylog login session, provided the malicious user could successfully inject their session cookie into someone else's browser.
Published Feb 7, 2024 · Updated Feb 17, 2024
Affected packages
org.graylog2:graylog2-server
- Ecosystem
- Maven
- Affected
- >= 4.3.0, < 5.1.11
- Fixed in
- 5.1.11
- Check
mvn dependency:tree -Dincludes=org.graylog2:graylog2-server
org.graylog2:graylog2-server
- Ecosystem
- Maven
- Affected
- >= 5.2.0-alpha.1, < 5.2.4
- Fixed in
- 5.2.4
- Check
mvn dependency:tree -Dincludes=org.graylog2:graylog2-server
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
Reauthenticating with an existing session cookie would re-use that session id, even if for different user credentials. In this case, the pre-existing session could be used to gain elevated access to an existing Graylog login session, provided the malicious user could successfully inject their session cookie into someone else's browser.
The complexity of such an attack is high, because it requires presenting a spoofed login screen and injection of a session cookie into an existing browser, potentially through an XSS attack. No such attack has been discovered.
Patches
Graylog 5.1.11 and 5.2.4, and any versions of the 6.0 development branch contain patches to not re-use sessions under any circumstances, making this type of attack impossible.
Workarounds
Using short session expiration and explicit log outs of unused sessions can help limiting the attack vector. Unpatched this vulnerability exists, but is relatively hard to exploit. A proxy could be leveraged to clear the authentication cookie for the Graylog server URL for the /api/system/sessions endpoint, as that is the only one vulnerable.
Analysis provided by Fabian Yamaguchi - Whirly Labs (Pty) Ltd
Credited to fabsx00.
References
- https://github.com/Graylog2/graylog2-server/security/advisories/GHSA-3xf8-g8gr-g7rh
- https://github.com/Graylog2/graylog2-server/commit/1596b749db86368ba476662f23a0f0c5ec2b5097
- https://github.com/Graylog2/graylog2-server/commit/b93a66353f35a94a4e8f3f75ac4f5cdc5a2d4a6a
- https://nvd.nist.gov/vuln/detail/CVE-2024-24823
- https://github.com/advisories/GHSA-3xf8-g8gr-g7rh
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-69190
Graylog: Manager-to-Owner privilege escalation on saved searches and dashboards
medium6.3Sep 22, 2026CVE-2026-55425
Graylog Server: System Catalog titles endpoint can be used to retrieve values of protected database fields
medium5.0Aug 28, 2026CVE-2026-55841
Fortigate syslog message parser can be exploited to modify or delete fields from the original message
high7.5Aug 28, 2026CVE-2026-55867
Graylog token revocation endpoint allows authenticated users to delete other users’ access tokens
medium5.3Aug 28, 2026CVE-2025-53106
Graylog vulnerable to privilege escalation through API tokens
high8.8Jun 30, 2025CVE-2025-46827
Graylog Allows Session Takeover via Insufficient HTML Sanitization
high8.0May 7, 2025
