Skip to content
SSRF Write-up Intermediate

SSRF via ffmeg processing

The video transcoding platform used FFmpeg to process uploaded videos, and FFmpeg's HLS playlist handling allowed external file references. An attacker could upload a crafted video file that caused the server to make requests to an attacker-controlled URL, confirming server-side request forgery.

Pflash Punk Follow

Published on medium.com

Basically Redacted.com is a video transcoding platform , so its 99% sure that they’ll be using FFmpeg :P So its obvious the first test i’ll perform on the target will be SSRF only using FFmpeg HLS Processing.

Pflash Punk, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could make the server send requests to arbitrary external hosts, which could be used to probe internal networks or exfiltrate data, though the report only demonstrates a request to an attacker-controlled server.

What the attacker needed

A free account; ability to upload a video

How it was found

  1. Log in to the target platform.
  2. Upload the crafted video file.
  3. Check the attacker-controlled server logs for incoming requests.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Server-side request forgery (SSRF) is when a server is tricked into making a request to a location the attacker chooses, such as an external server. Here, the video processing tool FFmpeg read a malicious video file that told it to fetch a remote URL, and the attacker could see that request arrive on their own server.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

More by Pflash Punk

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.