VDB
Sign up
MEDIUM

GHSA-j769-9gv9-65gr

Graylog token revocation endpoint allows authenticated users to delete other users’ access tokens

Quick fix

GHSA-j769-9gv9-65gr — org.graylog2:graylog2-server: upgrade to the fixed version with the command below.

# pom.xml: bump <version>6.3.12</version> for org.graylog2:graylog2-server

Details

### Impact

Graylog contains an insecure direct object reference (IDOR) vulnerability in the token revocation endpoint. An authenticated user can delete access tokens belonging to other users, including service account tokens and administrator tokens, if they know or can guess a valid token identifier.

The issue does not expose token contents, but it allows unauthorized token deletion, leading to integrity impact and potential availability impact for access token based integrations.

### Patches

The issue has been fixed in the following Graylog versions: `6.3.12`, `7.0.7`, `7.1.2`. Users should upgrade to one of these versions or above to remediate the vulnerability.

Graylog Cloud has already been patched.

### Workarounds

There are no feasible workarounds for this issue. Upgrading to a patched version is recommended.

Customers using Graylog Enterprise or Security can review the audit log[^1] for suspicious activity. Audit log lines for successful token deletions begin with `access token deleted from user`.

### Credits

Thanks to [michaelddickenson](https://github.com/michaelddickenson) and [sreelim](https://github.com/sreelim) for reporting.

[^1]: https://go2docs.graylog.org/current/interacting_with_your_log_data/audit_log.html

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.graylog2:graylog2-server
Introduced in: 6.2.0Fixed in: 6.3.12
Fix# pom.xml: bump <version>6.3.12</version> for org.graylog2:graylog2-server
Maven/org.graylog2:graylog2-server
Introduced in: 7.0.0Fixed in: 7.0.7
Fix# pom.xml: bump <version>7.0.7</version> for org.graylog2:graylog2-server
Maven/org.graylog2:graylog2-server
Introduced in: 7.1.0Fixed in: 7.1.2
Fix# pom.xml: bump <version>7.1.2</version> for org.graylog2:graylog2-server

References