Description
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".
Problem types
CWE-285: Improper Authorization
Product status
>= 6.3.0-alpha.1, < 6.3.0-rc.2
References
github.com/...server/security/advisories/GHSA-3m86-c9x3-vwm9
github.com/...ommit/6936bd16a783c2944a3d2f1e83902062520f90e3
github.com/...ommit/9215b8f1fd32566c31e6f7447ed864df3590c157