제출 #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. AM 02:43 (24 날 ago)
모더레이션2026. 12. 04. AM 09:26 (24 days later)
상태수락
VulDB 항목449622 [liketrek TREK 까지 3.4.1 Protected Public Share Token Hadler share.controller.ts get 권한 상승]
포인트들20

Do you want to use VulDB in your project?

Use the official API to access entries easily!