Skip to content

Bearer Token Session Ownership Bypass in checkWorkspaceOwner #32

Description

@harsharajkumar-273

The extractAccessToken middleware sets req.authSession = null if a token is supplied via the Authorization: Bearer <token> header. Because of this, the checkWorkspaceOwner middleware finds login = undefined and immediately calls next(), completely bypassing workspace owner security validation for clients using Bearer tokens.

Metadata

Metadata

Assignees

Labels

ELUSOCRequired TrackingVETERANAdvanced (50 pts)

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions