Description
Yao through v1.0.0-rc22 authenticates but fails to authorize the GET /user/teams/:id endpoint, allowing any logged-in user to read full team records. Attackers can supply a known team identifier to retrieve sensitive team data including name, description, owner information, and settings without membership verification.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
YaoApp yao
Default version status: unaffected
0 to ≤ 1.0.0-rc22affected
pkg:golang/github.com/yaoapp/yaoReferences
- https://github.com/YaoApp/yao/issues/1553 ↗
- https://github.com/YaoApp/yao/blob/v1.0.0-rc22/openapi/user/team.go#L80-L149 ↗
- https://github.com/YaoApp/yao/blob/v1.0.0-rc22/openapi/oauth/providers/user/team.go#L37-L55 ↗
- https://github.com/YaoApp/yao ↗
- https://www.vulncheck.com/advisories/yao-through-1.0.0-rc22-missing-authorization-via-openapi-team-endpoint ↗