| शीर्षक | 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) |
|---|
| सबमिशन | 10/11/2026 02:43 AM (24 दिन पहले) |
|---|
| संयम | 04/12/2026 09:26 AM (24 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 449622 [liketrek TREK तक 3.4.1 Protected Public Share Token Hadler share.controller.ts get अधिकार वृद्धि] |
|---|
| अंक | 20 |
|---|