RCE on TikTok Ads Portal
The video upload endpoint on the TikTok Ads portal was potentially susceptible to remote code execution due to an ffmpeg misconfiguration. An attacker could run commands on the system, as demonstrated by simple id and ls command results.
- Triaged in 46 hours
- Fixed in 4 days
- Paid in 9 days
- Disclosed after 5 months
Summary by the program
The video upload endpoint on the TikTok Ads portal was potentially susceptible to remote code execution (RCE) due to a ffmpeg misconfiguration. We thank @ bubbounty for reporting this to our team and confirming the resolution.
Summary by the researcher
During my research on the TikTok Ads portal I found a RCE thought the video creation process resulting to a root access on the system mainly due to a misconfugration ffmpeg. A simple id and ls commands results were reported and the TikTok team fixed the weakness quickly.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a misconfiguration in ffmpeg used during video creation allowed command injection.
Impact
An attacker could execute commands on the system, and the reporter states this resulted in root access.
What the attacker needed
Access to TikTok Ads portal; video upload feature
The fix
The TikTok team fixed the weakness quickly.
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 report has not been written yet. The Original tab links to the source.
Remote code execution means an attacker can make the server run their own commands. Here, a misconfigured video processing tool (ffmpeg) allowed this through the video upload feature. The reporter showed basic commands like id and ls running on the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.