Skip to content
Access control Disclosed report Advanced CVE-2026-6756

Intent selectors allow intents from the web to bypass intent filter requirements

Android intent URIs can carry a selector that is matched against intent filters while the base intent data stays a different, unsupported scheme. A malicious web page could therefore launch apps such as Chrome or YouTube with data they should not accept from the web.

Hafiizh Follow

Originally disclosed on Mozilla

  • Fixed in 6 months
  • Paid in 6 months
  • Disclosed after 6 months
Text
Created attachment 9518236
fflink.mp4

The vulnerability same as https://issues.chromium.org/issues/40057447

Android documentation says:
"Setting a selector does not impact the behavior of filterEquals(android.content.Intent) and filterHashCode(). This is part of the desired behavior of a selector -- it does not impact the base meaning of the Intent, just what kinds of things will be matched against it when determining who can handle it."

This may be technically true, but it's also wrong and misleading. The selector may not change the result of the filterEquals function, but it does allow the intent to bypass intent filters that the selector matched.

For example:
intent:testdata#Intent;scheme=foo;SEL;scheme=https;action=android.intent.action.VIEW;package=com.android.chrome;end

This intent, when sent from a website, will launch Chrome to the URL foo:testdata, which Chrome does not support and should not be receiving from the web as it doesn't match our intent filters. Likely due to shortcomings in Android's Intent URI design/parsing, selectors coming from intent URIs don't support specifying a full URI - just the scheme (unlike ones constructed in Java which do), so at first I thought the damage would be limited to anything that uses a custom scheme or browsers that handle all URLs for common schemes. However, when Android is parsing the selector's scheme, it sets the Intent's data to Uri.parse(scheme + ":"), without validating the scheme, and so you can just stick a full URL in there.

For example:
intent:testdata#Intent;scheme=foo;SEL;scheme=https://www.youtube.com/?;action=android.intent.action.VIEW;package=com.google.android.youtube;end

This intent will launch the youtube app with the data URI foo:testdata.


Firefox version: Nightly 145.0a.1
OS: Android

Steps to reproduce:

1. Open https://you-can-billowy-nimble-login-secure-docs-google-source-attacker.com/intentdata.html
2. click on link
3. click open on dialog

The original report as published on Mozilla's Bugzilla, by Hafiizh. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely Android's intent URI parser sets the intent data from the selector's scheme without validating it, so the selector satisfies intent filters while the base intent carries unrelated data.

Impact

A web page could launch installed apps such as Chrome or YouTube with data they do not support and should not receive from the web, though the user still has to confirm the open dialog.

What the attacker needed

Victim clicks a crafted link; victim confirms the open dialog; target app installed

How it was found

  1. Open the attacker page hosting the intent link
  2. Click the link
  3. Confirm by clicking open in the dialog

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 report has not been written yet. The Original tab links to the source.

Android apps declare which links and actions they accept using intent filters. A selector is an extra matching hint attached to an intent, and here it was checked against those filters while the actual data sent to the app was something else. That let a website open apps with content the apps never agreed to receive from the web.

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 Hafiizh

View all

78 more disclosed reports, best first.

More from Mozilla

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.