| タイトル | liketrek TREK 3.4.1 Incorrect Permission Assignment |
|---|
| 説明 | The calendar feed token routes do not enforce the separate share_manage permission, which defaults to owner-only. The check in feeds.controller.ts:75-86 treats membership in trip_members as sufficient to manage the feed token, so any ordinary non-owner member can read, create, rotate, disable or delete the trip's public calendar feed bearer token.
The token is stored in trips.feed_token and is the sole credential for the unauthenticated endpoint GET /api/feed/trip/:token.ics. A member can therefore mint a persistent anonymous feed URL that exposes itinerary, booking notes, addresses, confirmation numbers and flight/train details. Because the rotate and disable service methods do not receive the acting user's ID, there is no defense-in-depth check available inside the service layer.
The member can also rotate or revoke the token, which breaks the owner's and other members' existing calendar subscriptions. Removing the member from the trip does not invalidate a feed URL that has already been copied. |
|---|
| ソース | ⚠️ https://github.com/liketrek/TREK/security/advisories/GHSA-r7r4-gr5q-hv54 |
|---|
| ユーザー | scivous (UID 102872) |
|---|
| 送信 | 2026年11月10日 02:45 (24 日 ago) |
|---|
| モデレーション | 2026年12月04日 09:26 (24 days later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 449623 [liketrek TREK 迄 3.4.1 Public Calendar Feed feeds.controller.ts 特権昇格] |
|---|
| ポイント | 20 |
|---|