Skip to content
Medium 4.9

Cross-tenant authorization gap in the GitLab integration inbound-webhook handler

GHSA-27h6-gg7j-wj5w First seen on SecPulse

Summary

Summary

This is a defect in Outline's handling of inbound GitLab webhooks (not a flaw in GitLab; no GitLab server is involved, and the request is forged directly to Outline). Outline's inbound GitLab webhook endpoint (POST /api/gitlab.webhooks) does not scope its side effects to the worksp...

Affected packages

PackageAffected → Fixed
otherOutline
< 1.11.0→ 1.11.0
Original description The description as published by the source.

Summary

This is a defect in Outline's handling of inbound GitLab webhooks (not a flaw in GitLab; no GitLab server is involved, and the request is forged directly to Outline). Outline's inbound GitLab webhook endpoint (POST /api/gitlab.webhooks) does not scope its side effects to the workspace/team that owns the webhook. The endpoint authenticates a request by matching a client secret that the caller can obtain for their own workspace, but the webhook handlers then look up and mutate Integration rows globally, by identifiers taken from the attacker-controlled webhook payload, with no teamId/tenant filter and no authorization check. On a multi-tenant instance, a user who administers any one workspace can therefore modify another workspace's GitLab integration state (its stored issueSources), and can also hang a webhook worker via a deadlock in the same code path. This is a confused-deputy / IDOR pattern (CWE-639 / CWE-863).

The affected data is only the integration's cached list of linked GitLab sources (not documents, credentials, or accounts) and exploitation requires several conditions to line up, though it does cross the workspace/tenant boundary. I am reporting it because the missing tenant scoping is a clear authorization defect and the same code path contains a webhook worker deadlock.

What I verified, and how

Runtime-confirmed (local build of the current server, Postgres and Redis, the project's own server test harness, with negative cont…

Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details