| 제목 | 648540858 wvp-GB28181-pro v2.7.4-20260107 Path Traversal |
|---|
| 설명 | The log-file download endpoint GET /api/log/file/{fileName} reads and streams an arbitrary file from the host filesystem. The path-variable value is passed directly into new File(logDir, fileName) with no path canonicalization or traversal filtering; the only guard checks exists() and isFile(), neither of which blocks ../ sequences. An authenticated user (the endpoint requires a JWT) can therefore download any file readable by the application process, including configuration files and stored secrets. |
|---|
| 원천 | ⚠️ https://github.com/648540858/wvp-GB28181-pro/issues/2176 |
|---|
| 사용자 | fakebug (UID 94486) |
|---|
| 제출 | 2026. 06. 26. AM 04:23 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 08. 14. AM 08:00 (2 months later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 389965 [648540858 wvp-GB28181-pro 2.7.4-20260107 Log File Download Endpoint LogController.java fileName 디렉토리 순회] |
|---|
| 포인트들 | 20 |
|---|