| タイトル | GitHub warehouse V1.0 Absolute Path Traversal |
|---|
| 説明 | 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. |
|---|
| ソース | ⚠️ https://fanatical-brain-9ba.notion.site/warehouse-381f1a573df48073ae69fd68e2c27b69 |
|---|
| ユーザー | paramecium (UID 99013) |
|---|
| 送信 | 2026年06月16日 05:33 (2 月 ago) |
|---|
| モデレーション | 2026年08月04日 22:11 (2 months later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 385940 [yeqifu warehouse 迄 aaf29962ba407d22d991781de28796ee7b4670e4 FileController.java path ディレクトリトラバーサル] |
|---|
| ポイント | 17 |
|---|