CVE-2026-54509 TREK IDOR: any authenticated user can read another user's journey share token (full journey leak)
설명
TREK is a collaborative travel planner. From 3.0.0 until 3.1.0, the GET /api/journeys/:id/share-link route in server/src/routes/journey.ts returns the result of getJourneyShareLink() from server/src/services/journeyShareService.ts without checking whether the authenticated requester can access the journey. Any ordinary authenticated user can enumerate sequential journey IDs and retrieve tokens from journey_share_tokens for another user's journey. The token grants unauthenticated access through GET /api/public/journey/:token to the shared journey's entries, captions, locations, moods, gallery photos, photo paths, and asset identifiers. This issue is fixed in version 3.1.0.
영향 받는 제품 제품 1개
-
해결 버전 있음
mauriceboe
TREK
영향 받는 버전
- 3.0.0 이상 3.1.0 미만
해결 버전
- 3.1.0 이상
참고 자료 4건
- github.com https://github.com/liketrek/TREK/commit/ad893eb1cc75b6d56f402d73a6d41bd48ba7ae11 (새 창)
- github.com https://github.com/liketrek/TREK/pull/1185 (새 창)
- github.com https://github.com/liketrek/TREK/releases/tag/v3.1.0 (새 창)
- github.com https://github.com/liketrek/TREK/security/advisories/GHSA-mx6m-qxv8-w624 (새 창)