VDB
Sign up
MEDIUM5.0

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-server

Details

### 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

Maven/org.graylog2:graylog2-server
Introduced in: 7.1.0Fixed in: 7.1.4
Fix# pom.xml: bump <version>7.1.4</version> for org.graylog2:graylog2-server

References