Gửi #859531: GitHub warehouse V1.0 Absolute Path Traversal
| tiêu đề | GitHub warehouse V1.0 Absolute Path Traversal |
|---|---|
| Mô tả | 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. |
| Nguồn | ⚠️ https:/ |
| Người dùng | paramecium (UID 99013) |
| Đệ trình | 16/06/2026 05:33 (cách đây 2 các tháng) |
| Kiểm duyệt | 04/08/2026 22:11 (2 months later) |
| Trạng thái | được chấp nhận |
| Mục VulDB | 385940 [yeqifu warehouse đến aaf29962ba407d22d991781de28796ee7b4670e4 FileController.java path duyệt thư mục] |
| điểm | 17 |