Exploits Explained: Using APIs to Execute a Server-Side Request Forgery
A video upload feature processed uploaded files with ffmpeg, which could be tricked into reading local files through a malicious HLS playlist embedded in an AVI file. An attacker could read internal files such as /etc/passwd from the server.
In one scenario, a scanner may perform a normal function with “user A” credentials and attempt to simulate another user (“user B”) editing user A’s data. If the API does not return an error code (400), the scanner may flag the endpoint as being vulnerable to an Attribute Based Access Control (ABAC) vulnerability.
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
Root cause
Likely the video processing tool (ffmpeg) accepted a crafted HLS playlist that referenced a local file, causing the server to read and render that file.
Impact
An attacker could read internal files from the server, potentially exposing sensitive information.
What the attacker needed
Access to video upload feature
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 an attacker makes a server fetch something it should not, like a local file or an internal service. Here, the video processing software could be told to read a file on the server and show it in the video output.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.