Business Logic Vulnerabilities Series: How I became invisible and immune to blocking on Instagram!
The block feature on Instagram had broken logic that allowed a user to follow someone after blocking them, so the blocked person would not be notified and the follower would not appear in the followers list. This let the attacker view the victim's content while remaining invisible and immune to being blocked back.
Published on seekurity.com
Welcome back again, This is Ali Kabeel in case you don’t remember me read my first blog about Abusing invitations systems.
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
The app had broken logic that allowed a user to follow and block the same person at the same time, without enforcing that blocking should prevent following.
Impact
The attacker could view the victim's photos and activities without appearing in the followers list or triggering a notification, and the victim could not block the attacker back.
What the attacker needed
An Instagram account; ability to block and follow a user
The fix
The bug was fixed by Facebook.
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.
Normally, if you block someone on social media, they cannot follow you or see your posts. Here, the app let a user block someone and then follow them anyway, so the blocked person never knew they had a new follower and could not block them back. This is a logic flaw: the app did not check that blocking and following cannot happen together.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.