Skip to content
RCE Disclosed report Advanced

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.

freesec Follow

Originally disclosed on HackerOne

Critical 9.9 View original
  • 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.

The original report as published on HackerOne, by freesec. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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.

More by freesec

View all

4 more disclosed reports, best first.

More from TikTok

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.