| Название | 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) |
|---|
| Представление | 10.11.2026 02:45 (24 дни назад) |
|---|
| Модерация | 04.12.2026 09:26 (24 days later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 449623 [liketrek TREK до 3.4.1 Public Calendar Feed feeds.controller.ts эскалация привилегий] |
|---|
| Баллы | 20 |
|---|