{"id":"CVE-2024-24824","published":"2024-02-07T17:25:20Z","modified":"2025-06-17T21:29:28Z","title":"graylog2-server vulnerable to instantiation of arbitrary classes triggered by API request","vendor":"Graylog2","product":"graylog2-server","tier":"tail","description":{"text":"Graylog is a free and open log management platform. Starting in version 2.0.0 and prior to versions 5.1.11 and 5.2.4, arbitrary classes can be loaded and instantiated using a HTTP PUT request to the `/api/system/cluster_config/` endpoint. Graylog's cluster config system uses fully qualified class names as config keys. To validate the existence of the requested class before using them, Graylog loads the class using the class loader. If a user with the appropriate permissions performs the request, arbitrary classes with 1-arg String constructors can be instantiated. This will execute arbitrary code that is run during class instantiation. In the specific use case of `java.io.File`, the behavior of the internal web-server stack will lead to information exposure by including the entire file content in the response to the REST request. Versions 5.1.11 and 5.2.4 contain a fix for this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.34739,"percentile":0.98462,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/Graylog2/graylog2-server/security/advisories/GHSA-p6gg-5hf4-4rgj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Graylog2/graylog2-server/commit/75ef2b8d60e7d67f859b79fe712c8ae7b2e861d8","tags":["x_refsource_MISC"]},{"url":"https://github.com/Graylog2/graylog2-server/commit/7f8ef7fa8edf493106d5ef6f777d4da02c5194d9","tags":["x_refsource_MISC"]},{"url":"https://github.com/Graylog2/graylog2-server/blob/e458db8bf4f789d4d19f1b37f0263f910c8d036c/graylog2-server/src/main/java/org/graylog2/rest/resources/system/ClusterConfigResource.java#L208-L214","tags":["x_refsource_MISC"]}],"priority":{"score":30.9,"factors":[{"name":"EPSS percentile","points":19.69},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-06-29","earliestUrl":"https://github.com/rootkiTED/graylog-cve-2024-24824-exploit","repos":[{"name":"rootkiTED/graylog-cve-2024-24824-exploit","url":"https://github.com/rootkiTED/graylog-cve-2024-24824-exploit","stars":1,"created":"2026-06-29"}]},"first":{"date":"2026-06-29","source":"PoC-in-GitHub","url":"https://github.com/rootkiTED/graylog-cve-2024-24824-exploit"},"provenance":"source"},"vendorSlug":"graylog2","affectedVersions":[{"vendor":"Graylog2","product":"graylog2-server","versions":[">= 2.0.0, < 5.1.11",">= 5.2.0, < 5.2.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-02-07T20:11:04.554438Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.graylog2:graylog2-server","vulnerableRanges":[">=2.0.0, <5.1.11",">=5.2.0-alpha.1, <5.2.4"],"patched":["5.1.11","5.2.4"],"from":["GHSA-p6gg-5hf4-4rgj"],"provenance":"source"}],"summary":{"text":"The flaw is in the cluster configuration component of Graylog's graylog2-server, where the /api/system/cluster_config/ endpoint loads and validates arbitrary fully qualified class names supplied as config keys. An attacker with a Graylog user account holding the appropriate permissions can send a crafted HTTP PUT request to that endpoint to instantiate arbitrary classes that take a single String constructor argument, executing code during instantiation, and can read file contents by targeting java.io.File.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:32:13Z"},"euvd":{"id":"EUVD-2024-0682","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-41044","published":"2023-08-31","fixed":"5.1.3","kev":false,"link":{"from":"CVE-2023-41044","to":"CVE-2024-24824","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.graylog2:graylog2-server","fromFixed":"5.1.3","toFixed":"5.1.11","daysApart":160}]}},{"cve":"CVE-2023-41045","published":"2023-08-31","fixed":"5.1.3","kev":false},{"cve":"CVE-2024-24823","published":"2024-02-07","fixed":"5.2.4","kev":false},{"cve":"CVE-2024-24824","published":"2024-02-07","fixed":"5.2.4","kev":false},{"cve":"CVE-2025-30373","published":"2025-04-07","fixed":"6.1.9","kev":false},{"cve":"CVE-2025-46827","published":"2025-05-07","fixed":"6.1.10","kev":false},{"cve":"CVE-2025-53106","published":"2025-07-02","fixed":"6.3.0-rc.2","kev":false}],"package":"Maven:org.graylog2:graylog2-server"}}