| Название | 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) |
|---|
| Представление | 12.07.2026 06:42 (1 месяц назад) |
|---|
| Модерация | 25.08.2026 08:01 (1 month later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 394942 [liketrek TREK до 3.0.22 Public Journey Photo Proxy journey-public.controller.ts обход каталога] |
|---|
| Баллы | 20 |
|---|