Skip to content
Open redirect Write-up Intermediate

Facebook Redirect Link – New Bypass Method – “:/” after the domain name

Facebook's external-link redirector (l.php) could be skipped by appending a colon-slash sequence after the domain name, so clicking such a link went straight to the destination instead of through the redirect page. This defeated the single choke point Facebook used to block malicious or unwanted links.

soroush.me

Published on soroush.me

Facebook is using “facebook.com/l.php?u=THEExternalURL” whenever you click on an external link; and as a result: 1- Your current page won’t be sent via the “Referer” section of the HTTP header. So, it is useful for the privacy.

The author, on soroush.me

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 link parser treated the colon-slash sequence as part of the URL in a way that made Facebook believe the link was internal, so it did not route it through the redirector.

Impact

Users could be sent straight to an external destination, bypassing the single point Facebook used to stop malicious or unwanted links.

What the attacker needed

Ability to post a link on Facebook; victim clicks the crafted link

How it was found

  1. Post a link containing the colon-slash sequence after the domain name in a comment on a Facebook page.
  2. Click the posted link.
  3. Observe that the browser goes directly to the destination instead of through the l.php redirect page.

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.

Facebook normally sends you through its own page (l.php) before opening an outside link, so it can check or block bad links. The author found that adding a colon and slash right after the domain name made Facebook skip that check page and open the link directly. That means the safety net could be bypassed.

What is Open redirect?

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.

Similar reports

View all

Same bug class and techniques, clearest first.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.