Skip to content
Race condition Write-up Intermediate

How Hackers Can Exploit Caching X Race Conditions For Followers Count Manipulation On Twitter

The author claims that sending many concurrent follow requests to Twitter can cause a race condition combined with caching, temporarily inflating a target's follower count. Twitter classified this as out of scope, stating that such statistics may temporarily display inaccurate figures due to caching when many requests are submitted in a short time.

7h3h4ckv157 Follow

Published on infosecwriteups.com

I extend a warm “Hai” to each and every one of you. Prepare to embark on an intellectual journey that will unravel the enigmatic nuances of manipulating follower counts, while shedding light on the often overlooked caching issues and race conditions that lie at the intersection of innovation and risk.

7h3h4ckv157, on infosecwriteups.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 a race condition in the follow action combined with caching, where concurrent requests cause the cached follower count to temporarily diverge from the accurate back-end data store.

Impact

The follower count may temporarily appear inflated, which could be used to create a false impression of influence, but Twitter states the effect is temporary and due to caching.

What the attacker needed

A Twitter account; ability to intercept requests; tool for concurrent requests

How it was found

  1. Create a Twitter account.
  2. Intercept the request sent when the Follow button is clicked, using a tool such as Burp Suite.
  3. Use Turbo Intruder to send many concurrent follow requests to the same user.
  4. Monitor the target's follower count during and after the attack to see if it increases.

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.

A race condition happens when many actions occur at the same moment and the system handles them in an unexpected order. Caching means the site stores a temporary copy of data to respond faster, so the displayed number can be briefly wrong. The author says that by sending many follow requests at once, the follower count can appear higher for a short time, but Twitter said this is just a temporary display issue and not a security bug.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More by 7h3h4ckv157

View all

9 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.