Skip to content
DoS Write-up Beginner

How a Simple Bug Could Have Taken Down Your Instagram Tags

The Instagram tagging feature accepted an extremely large value for a category parameter without any length limit. An attacker could tag a victim with such a value, causing the victim's Tags and Pending Tags sections to fail to load, preventing them from managing or rejecting tags.

medium.com

Published on medium.com

Hey everyone! I wanted to share a recent finding of mine — a vulnerability in Instagram’s tagging functionality that could have led to a denial of service (DoS) condition for users.

Kiril Krivoguz, on 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 the server accepted and stored an unbounded 'categories' parameter without validating its length, and the client failed to handle the oversized data when rendering the tags list.

Impact

An attacker could prevent any Instagram user from accessing and managing their tags, and if manual tag approval was enabled, the victim could not review or reject the malicious tag, leaving no way to self-mitigate.

What the attacker needed

Instagram account; Ability to intercept app traffic; Victim is tagged by attacker

The fix

The issue was fixed by Meta after the report.

How it was found

  1. Intercept the tagging request in the Instagram Android app using Burp Suite.
  2. Locate the 'categories' parameter in the request to the edit_media endpoint.
  3. Replace the parameter value with an extremely large string (around 8MB).
  4. Send the request and observe that the tag is accepted.
  5. Log in as the tagged account and open the Tags section, which fails to load.

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.

Instagram lets you tag people in posts, and each tag stores a category like 'Business'. The app did not check how long that category text could be, so someone could send a huge amount of text. When the tagged person opened their tags page, the app tried to load that huge text and crashed, so they could not see or manage their tags.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.