Skip to content
IDOR Write-up Beginner

How I hacked worldwide Tiktok users

The family pairing feature allowed a parent account to change settings for any child account by modifying the child_user_id parameter, without verifying that the child belonged to the parent. An attacker could change any user's account from public to private and disable comments, direct messages, and other features.

s3c Follow

Published on s3c.medium.com

Bounty$7,500 View original

In this write up I am sharing a TikTok vulnerability reported via TikTok’s bug bounty program

s3c, on s3c.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

Root cause

Likely missing authorization check that the child_user_id belongs to the parent's linked child account.

Impact

An attacker could potentially change any user's account from public to private and disable comments, direct messages, and other features, affecting all TikTok users.

What the attacker needed

A TikTok account; a linked child account; ability to intercept requests

The fix

The issue was resolved by TikTok, likely by adding an authorization check that the child_user_id belongs to the parent's linked child.

How it was found

  1. Create two accounts, one as parent and one as child, and link them.
  2. Turn on Burp Suite to intercept requests.
  3. In the parent account, change the child account from public to private and capture the request.
  4. Modify the child_user_id parameter to another user's ID.
  5. Observe that the settings change for the other user's account.

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.

Family pairing lets a parent control a child's TikTok account. The app trusted the parent's request to change settings for any child ID without checking if that child was actually linked to the parent. So anyone could change other people's privacy settings.

What is IDOR?

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.

More by s3c

View all

1 more disclosed report, 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.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.