提出 #1083868: liketrek TREK 3.4.1 Authorization Bypass情報

タイトルliketrek TREK 3.4.1 Authorization Bypass
説明TREK's public share-link endpoint GET /api/trips/:tripId/share-link only verifies that the caller is authenticated and allowed to read the trip. It does not enforce the share_manage permission that the corresponding create and delete operations enforce. The code base already provides requireManage()/canManage() for those paths, but the GET handler calls verifyTripAccess() instead and then returns the full share token via getShareLink(). As a result, any ordinary member of a trip (not only the owner or a member holding share_manage) can retrieve the owner's public share token. That token is a bearer credential for the unauthenticated endpoint GET /api/shared/:token, so the member can turn it into a transferable anonymous read channel and hand it to a third party outside the trip. Depending on the owner's flags, the token exposes reservations, accommodations, budget data, places, itinerary notes and collaboration messages. Tokens remain valid for up to the default 90 days, and removing the member from the trip does not revoke a token that has already been copied.
ソース⚠️ https://github.com/liketrek/TREK/security/advisories/GHSA-cm52-wp2v-cjcq
ユーザー
 scivous (UID 102872)
送信2026年11月10日 02:43 (24 日 ago)
モデレーション2026年12月04日 09:26 (24 days later)
ステータス承諾済み
VulDBエントリ449622 [liketrek TREK 迄 3.4.1 Protected Public Share Token Hadler share.controller.ts get 特権昇格]
ポイント20

Do you need the next level of professionalism?

Upgrade your account now!