Improper Access Control Affecting org.graylog2:graylog2-server package, versions [2.0.0,5.1.11) [5.2.0-alpha.1,5.2.4)
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.07% (31st
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-ORGGRAYLOG2-6231775
- published 8 Feb 2024
- disclosed 7 Feb 2024
- credit Fabian Yamaguchi
Introduced: 7 Feb 2024
CVE-2024-24824 Open this link in a new tabHow to fix?
Upgrade org.graylog2:graylog2-server
to version 5.1.11, 5.2.4 or higher.
Overview
org.graylog2:graylog2-server is a log management platform.
Affected versions of this package are vulnerable to Improper Access Control via the /api/system/cluster_config/
endpoint. An attacker can execute arbitrary code that is run during class instantiation by sending a specially crafted HTTP PUT request.
Note:
This is only exploitable if the attacker possesses the clusterconfigentry:create
and clusterconfigentry:edit
permissions, which are typically only granted to Admin
users.
PoC
curl -u admin:<admin-password> -X PUT http://localhost:9000/api/system/cluster_config/java.io.File \
-H "Content-Type: application/json" \
-H "X-Requested-By: poc" \
-d '"/etc/passwd"'
References
CVSS Scores
version 3.1