| Título | GitHub warehouse V1.0 Absolute Path Traversal |
|---|
| Descrição | A path traversal vulnerability exists in the warehouse application. The /file/showImageByPath endpoint accepts a user-supplied path parameter. This parameter is passed directly to AppFileUtils.createResponseEntity(path). Inside this method, the application concatenates the base directory path with the user input using getChars without proper validation or sanitization.
Due to the lack of boundary checks, an attacker can inject directory traversal sequences (e.g., ../) into the path parameter to traverse outside the restricted directory. This allows an authenticated attacker to read or download arbitrary files from the server’s filesystem. |
|---|
| Fonte | ⚠️ https://fanatical-brain-9ba.notion.site/warehouse-381f1a573df48073ae69fd68e2c27b69 |
|---|
| Utilizador | paramecium (UID 99013) |
|---|
| Submissão | 16/06/2026 05h33 (há 2 meses) |
|---|
| Moderação | 04/08/2026 22h11 (2 months later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 385940 [yeqifu warehouse até aaf29962ba407d22d991781de28796ee7b4670e4 FileController.java path Travessia de Diretório] |
|---|
| Pontos | 17 |
|---|