Description
LibreTV before v2.21.2 contains a server-side request forgery vulnerability that allows authenticated users to bypass checkUpstreamAllowed() by exploiting unpinned DNS resolution in fetchWithSafeRedirects(). Attackers controlling authoritative DNS can return public addresses during validation and internal addresses at connection time via /api/source/test, /api/proxy, /api/search or /api/detail to reach loopback services, private hosts or cloud metadata endpoints.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
LibreSpark LibreTV
Default version status: unaffected
0 to < v2.21.2affected
pkg:github/librespark/libretvReferences
- https://github.com/LibreSpark/LibreTV/issues/941 ↗
- https://github.com/LibreSpark/LibreTV/pull/960 ↗
- https://github.com/LibreSpark/LibreTV/commit/cb4219368b7f6502387a703ef2a781ba763da2b1 ↗
- https://github.com/LibreSpark/LibreTV/releases/tag/v2.21.2 ↗
- https://github.com/LibreSpark/LibreTV/blob/29cbeb3d37b4876f909a0354087a3531af0447f6/src/lib/ssrf.ts#L56-L85 ↗
- https://www.vulncheck.com/advisories/libretv-before-2.21.2-ssrf-protection-bypass-via-dns-rebinding ↗