Skip to content
Info disclosure Write-up Beginner

View the country of a private Instagram User

An internal endpoint returned the country of a private Instagram account when given the account's identifier. An attacker could use this to learn the country of a private user without their knowledge.

Philippe Harewood Follow

Published on philippeharewood.com

There is a XController that allows information to be returned about an Instagram user. This feature discloses the country of a private account.

admin, on philippeharewood.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 endpoint returned the account's location field without checking whether the account was private or whether the requester should see that data.

Impact

An attacker could learn the country of a private Instagram account, which the owner had no way of knowing was disclosed.

What the attacker needed

Knowledge of the target's Instagram user ID

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 keep your account private, so only approved followers see your posts. This report found that a hidden tool could still reveal which country a private account is in. The company decided this was not a serious enough privacy problem to fix or reward.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Philippe Harewood

View all

12 more disclosed reports, best first.

More from Meta

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.