Budibase: SSO OAuth2 Token Leakage via User Metadata Endpoints to Power-Role Users
budibase
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @budibase/server npm |
|
|
Original description
Budibase is an open-source low-code platform. Prior to 3.39.25, GET /api/users/metadata and GET /api/users/metadata/:id returned user objects processed by packages/server/src/utilities/global.ts without removing oauth2.accessToken or oauth2.refreshToken. A user with the POWER role could retrieve the identity-provider credentials of SSO-authenticated users and use the refresh tokens for persistent access to connected services. This issue is fixed in version 3.39.25.
From the CVE record · GitHub_M