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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| YaoApp | yao | ≤ 1.0.0-rc22 | — |
References
- https://github.com/YaoApp/yao/issues/1553 issue-tracking
- https://github.com/YaoApp/yao/blob/v1.0.0-rc22/openapi/user/team.go#L80-L149 technical-description
- https://github.com/YaoApp/yao/blob/v1.0.0-rc22/openapi/oauth/providers/user/team.go#L37-L55 technical-description
- https://github.com/YaoApp/yao product
- VulnCheck Advisory: Yao through v1.0.0-rc22 Missing Authorization via OpenAPI team endpoint third-party-advisory