FFmpeg DASH Playlist Server-Side Request Forgery Vulnerability

Vulnerability

A server-side request forgery (SSRF) vulnerability has been identified in FFmpeg's DASH playlist support, specifically in versions 4.2 through 6.0. This flaw allows arbitrary HTTP GET requests to be made from the machine running FFmpeg, using a crafted DASH playlist that contains malicious URLs. The vulnerability arises because the DASH demuxer does not properly check the protocol whitelist before initiating HTTP requests, potentially leading to unauthorized access or data exfiltration.

Impact

Exploitation of this vulnerability allows for arbitrary HTTP GET requests to be sent on behalf of the affected machine, which could be used to access internal resources or exfiltrate data.

Reproduction

To reproduce this vulnerability, create a DASH playlist (MPD file) that includes a SegmentURL pointing to an attacker-controlled server. When FFmpeg processes this playlist, it will make a GET request to the specified URL, bypassing the protocol whitelist. This can be verified by checking the server logs for the incoming request.

Remediation

DASH playlists should be configured to restrict URIs to data:// and file:// protocols, unless otherwise specified with a protocol_whitelist.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
8.4
impact
0.6
exploitability
6.0
remediation
7.9
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.