Skip to content
Access control Write-up Beginner

Change any link at https://fbwat.ch/

The fbwat.ch short link service allowed anyone to update the destination URL of any existing short link without authorisation. An attacker could redirect any fbwat.ch link to an arbitrary website, such as a phishing page or a malicious site.

Philippe Harewood Follow

Published on philippeharewood.com

Bounty$1,000 View original

There is a call to update fbwat.ch short links for viewing videos at Facebook Watch. It was really flexible so much so that it was possible to redirect https://fbwat.ch/1 to https://www.facebook.com/nike.

Philippe, 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 for updating short links lacked authorisation checks, allowing any user to modify any short URL.

What the attacker needed

Access to the update endpoint; knowledge of an existing short URL

The fix

The issue was fixed by Facebook, as confirmed on June 5, 2020.

How it was found

  1. Create a short link using the Facebook video sharing plugin.
  2. Use the update call to change the destination URL of an existing short link.

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 short link is a web address that redirects to a longer one. The service that managed these short links did not check who was making the change, so anyone could alter where an existing short link pointed. This meant a link someone trusted could be silently redirected to a different site.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Philippe Harewood

View all

56 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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.