Graylog2 graylog2-server
Graylog vulnerable to privilege escalation through API tokens
Graylog is a free and open log management platform. In versions 6.2.0 to before 6.2.4 and 6.3.0-alpha.1 to before 6.3.0-rc.2, Graylog users can gain elevated privileges by creating and using API tokens for the local Administrator or any other user for whom the malicious user knows the ID. For the attack to succeed, the attacker needs a user account in Graylog. They can then proceed to issue hand-crafted requests to the Graylog REST API and exploit a weak permission check for token creation. This issue has been patched in versions 6.2.4 and 6.3.0-rc.2. A workaround involves disabling the respective configuration found in System > Configuration > Users > "Allow users to create personal access tokens".
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 6.2.0, < 6.2.4
- >= 6.3.0-alpha.1, < 6.3.0-rc.2
Fixed in 6.2.4, 6.3.0-rc.2
Mitigation
Upgrade graylog2-server to 6.2.4 or 6.3.0-rc.2 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.