Soumettre #1083869: liketrek TREK 3.4.1 Incorrect Permission Assignmentinformation

Titreliketrek TREK 3.4.1 Incorrect Permission Assignment
DescriptionThe 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.
La source⚠️ https://github.com/liketrek/TREK/security/advisories/GHSA-r7r4-gr5q-hv54
Utilisateur
 scivous (UID 102872)
Soumission10/11/2026 02:45 (il y a 24 jours)
Modérer04/12/2026 09:26 (24 days later)
StatutAccepté
Entrée VulDB449623 [liketrek TREK jusqu’à 3.4.1 Public Calendar Feed feeds.controller.ts élévation de privilèges]
Points20

Do you need the next level of professionalism?

Upgrade your account now!