SSRF: POST /recorders/probe accepts arbitrary URLs and probes raw TCP/UDP on internal network #104
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixed in
04ce096.POST /recorders/probenow:srt,rtmp,rtmps,rtsp,udp,rtp.zgaetano referenced this issue2026-05-26 18:22:49 -04:00
🔧 Fix plan incoming — token verified, posting all plans now...
Fix Plan — #104 SSRF via POST /recorders/probe
Root cause:
recorders.js:698-744forwards user-supplied URL to capture sidecar, falls back to rawnet.connect/dgramagainst any host/port. No hostname validation.Fix (3 steps):
new URL(), reject non-string/missing fields.Files:
src/routes/recorders.js:698-744Effort: ~2h
**Priority: P0 — security