GHSA-q79r-r9xg-r863
Graylog Server: System Catalog titles endpoint can be used to retrieve values of protected database fields
Quick fix
GHSA-q79r-r9xg-r863 — org.graylog2:graylog2-server: upgrade to the fixed version with the command below.
# pom.xml: bump <version>7.1.4</version> for org.graylog2:graylog2-serverDetails
### Impact
A vulnerability was found in Graylog's API endpoint for retrieving system catalog entity titles. Authenticated users could retrieve database fields of supported entities by sending a custom API request. These fields can include e.g. the password hash of a user (but not the password itself), which should not be returned through the API, regardless of the endpoint. Permission checks do still apply, so users can retrieve their own password hash, but not those of other users. The admin user (or any user with an admin role) can retrieve password hashes of all users.
### Patches
This issue has been patched in Graylog `7.1.4`. In this version, an allow list will be used to check if protected fields are being accessed, refusing those requests. Affected users should upgrade to `7.1.4` or above to remediate the vulnerability.
### Workarounds
There is no known workaround. Upgrading to a patched version is recommended.
### Credits
Thanks to [Evelynkaz](https://github.com/Evelynkaz) for reporting.
Are you affected?
Enter the version of the package you're using.
Affected packages
7.1.0Fixed in: 7.1.4# pom.xml: bump <version>7.1.4</version> for org.graylog2:graylog2-serverReferences
- https://github.com/Graylog2/graylog2-server/security/advisories/GHSA-q79r-r9xg-r863[WEB]
- https://github.com/Graylog2/graylog2-server/pull/26284[WEB]
- https://github.com/Graylog2/graylog2-server/commit/1d1a91d99c3d2d8993e61c3c52344648163d3a21[WEB]
- https://github.com/Graylog2/graylog2-server/commit/da7767a44233b6a683d0713eed08da31ce0e77b5[WEB]
- https://github.com/Graylog2/graylog2-server[PACKAGE]
- https://github.com/Graylog2/graylog2-server/releases/tag/7.1.4[WEB]
- https://github.com/Graylog2/graylog2-server/releases/tag/7.2.0-alpha.2[WEB]