Invia #870241: 648540858 wvp-GB28181-pro v2.7.4-20260107 Path Traversalinformazioni

Titolo648540858 wvp-GB28181-pro v2.7.4-20260107 Path Traversal
DescrizioneThe 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.
Fonte⚠️ https://github.com/648540858/wvp-GB28181-pro/issues/2176
Utente
 fakebug (UID 94486)
Sottomissione26/06/2026 04:23 (2 mesi fa)
Moderazione14/08/2026 08:00 (2 months later)
StatoAccettato
Voce VulDB389965 [648540858 wvp-GB28181-pro 2.7.4-20260107 Log File Download Endpoint LogController.java fileName directory traversal]
Punti20

Do you want to use VulDB in your project?

Use the official API to access entries easily!