| 제목 | mauriceboe TREK <= 3.0.22 Path Traversal |
|---|
| 설명 | Path traversal in the public journey photo proxy (local provider) in TREK <= 3.0.22. The GET /api/public/journey/:token/photo/local/:assetId endpoint has insufficient path validation, confining resolution only to /uploads rather than /uploads/journey. An attacker can use directory traversal sequences (e.g., ..%2Ffiles%2F<uuid>.pdf) to escape the intended directory and access files in otherwise protected directories including /uploads/files (normally 401-gated), /uploads/photos (JWT/trip-token protected), /uploads/covers, and /uploads/avatars. Requires only a valid journey share token. CVSS 6.8 (AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N). CWE-22, CWE-863. Fixed in 3.1.0. |
|---|
| 원천 | ⚠️ https://github.com/mauriceboe/TREK/security/advisories/GHSA-h66w-m5g2-cqpc |
|---|
| 사용자 | ByteJMP (UID 99294) |
|---|
| 제출 | 2026. 07. 12. AM 06:42 (1 월 ago) |
|---|
| 모더레이션 | 2026. 08. 25. AM 08:01 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 394942 [liketrek TREK 까지 3.0.22 Public Journey Photo Proxy journey-public.controller.ts 디렉토리 순회] |
|---|
| 포인트들 | 20 |
|---|