Facebook android vulnerability: Launching internal/tighten deeplink onbehalf of user
The Facebook Android app's ad creation deeplink did not validate the landing_page parameter, so an attacker could supply an internal deeplink that would be launched when the user tapped Get Started. This allowed launching internal settings screens on behalf of the user.
Published on servicenger.com
In Facebook android, Ad creation deeplink adslwicouponinterstitial has the parameter landingpage and uri passed to this param was not being validated so any internal/tightened deeplink passed to it could be launch on “Get Started” button pressed on UI.
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
The landing_page parameter of the ads_lwi_coupon_interstitial deeplink was not validated, allowing arbitrary internal deeplinks to be passed and later launched.
Impact
An attacker could launch internal or tightened deeplinks on behalf of the user, potentially exposing internal settings screens.
What the attacker needed
Victim opens a crafted deeplink; victim taps Get Started
The fix
The issue was fixed according to the timeline.
How it was found
- Create an intent or HTML page containing the crafted deeplink.
- Launch the deeplink to open the app.
- Tap the Get Started button.
- The internal settings screen opens.
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 deeplink is a special link that opens a specific screen inside a mobile app. The app took a link from the user and opened it without checking whether it was allowed, so a crafted link could open hidden internal screens. The attacker only needed the victim to open the link and tap a button.
What is Mobile?
Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.