8x8 · Report #3485343
jitsi-call-analytics: Unauthenticated arbitrary file write via path traversal in `/api/v1/uploads/analyze`
Summary
The jitsi-call-analytics backend contained a path traversal vulnerability in the /api/v1/uploads/analyze endpoint that allowed unauthenticated users to write files within the configured RTCSTATS_DOWNLOADS_PATH directory. The upload handler used user-controlled file.originalname directly in path.join() without sanitization, enabling attackers to include ../ sequences to escape the intended per-session UUID directory and write or overwrite files anywhere under the configured root path.
Changes:
- fix(security) Prevent path traversal in file upload handler.
The fix has been deployed to production instances.
We thank @r1skr1der for submitting this report to us.
How it was found
The write-up for this report has not been downloaded yet, or the program disclosed it without one. Read it on HackerOne.