# CVE-2024-24823: graylog2-server Session Fixation vulnerability through cookie injection

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.7
- **CVSS:** 5.7 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: High; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.56% (percentile 40, 2026-11-26)
- **CWE:** CWE-384
- **Aliases:** GHSA-3xf8-g8gr-g7rh
- **Published:** 2024-02-07T17:21:20.492Z
- **Modified:** 2026-09-10T03:50:05.341Z

## Who should check

- Projects that depend on Maven package org.graylog2:graylog2-server (\>= 4.3.0, \< 5.1.11)
- Anyone running graylog2-server \>= 4.3.0, \< 5.1.11; \>= 5.2.0, \< 5.2.4

## Description

Graylog is a free and open log management platform. Starting in version 4.3.0 and prior to versions 5.1.11 and 5.2.4, 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 a cross-site scripting attack. No such attack has been discovered. 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. Some workarounds are available. 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.

## Affected and fixed versions

- Maven `org.graylog2:graylog2-server`: affected \>= 4.3.0, \< 5.1.11; fixed 5.1.11, 5.2.4 (osv)
- graylog2-server: \>= 4.3.0, \< 5.1.11; \>= 5.2.0, \< 5.2.4 (cvelist)

## Mitigation

- Upgrade org.graylog2:graylog2-server to one of 5.1.11, 5.2.4 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-24823. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-24823.md
Affected: org.graylog2:graylog2-server >= 4.3.0, < 5.1.11
Fixed in: 5.1.11, 5.2.4

Steps:
1. Search this machine and project for org.graylog2:graylog2-server (Maven), graylog2-server: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-24823 being exploited?

There is no confirmed exploitation: CVE-2024-24823 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.56% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-24823?

Medium: CVSS 5.7 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-24823?

org.graylog2:graylog2-server \>= 4.3.0, \< 5.1.11.

### Is there a fix for CVE-2024-24823?

Yes. Fixed in 5.1.11, 5.2.4. Upgrade org.graylog2:graylog2-server to one of 5.1.11, 5.2.4 (or later in the same release line).

### How do I check if I'm affected by CVE-2024-24823?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/Graylog2/graylog2-server/security/advisories/GHSA-3xf8-g8gr-g7rh>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-24823>
- patch: <https://github.com/Graylog2/graylog2-server/commit/1596b749db86368ba476662f23a0f0c5ec2b5097>
- patch: <https://github.com/Graylog2/graylog2-server/commit/b93a66353f35a94a4e8f3f75ac4f5cdc5a2d4a6a>
- other: <https://github.com/Graylog2/graylog2-server>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-24823>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-3xf8-g8gr-g7rh> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-24823> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-24823>
