Facebook: Linkshim protection bypass using fb://webview
Facebook's linkshim protection could be bypassed by using a fb://webview deep link as a redirect target, causing users to be sent to an attacker-controlled site without warning. The report lists multiple endpoints where this redirect parameter was not properly validated.
Published on servicenger.com
Using fb://webview deep link it is possible to bypass linkshim protection and user redirected to evilzon site without notice.
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 redirect parameters were not validated to prevent fb://webview deep links, allowing them to be used as an open redirect that bypasses linkshim.
Impact
An attacker could redirect users to a malicious site without the linkshim warning, potentially leading to phishing or other attacks.
What the attacker needed
Victim clicks a crafted link
The fix
The issue was fixed server-side.
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.
Linkshim is a Facebook feature that warns you before you leave the site. The researcher found that by putting a special Facebook app link (fb://webview) in certain redirect parameters, the warning could be skipped and you would go straight to a malicious site.
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.