提交 #1083869: liketrek TREK 3.4.1 Incorrect Permission Assignment信息

标题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 日前)
管理2026-12-04 09時26分 (24 days later)
状态已接受
VulDB条目449623 [liketrek TREK 直到 3.4.1 Public Calendar Feed feeds.controller.ts 权限提升]
积分20

Might our Artificial Intelligence support you?

Check our Alexa App!