Missing authorization in WebAppInstalls (CVE-2026-79044)
The InstalledAppProvider Mojo interface on Android lacks an outermost main frame check, so a compromised subframe renderer can bind it and query installed WebAPKs or trigger limited browser-process fetches. This bypasses the intended top-level-only restriction and the Digital Asset Links relationship check.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 5 months
Project Fortify, an experimental security project, has identified the following potential security issue.
Overview: The InstalledAppProvider Mojo interface lacks an outermost main frame check on Android. A compromised subframe renderer can bind this interface, bypassing renderer-side checks, to silently query the user's installed WebAPKs or trigger limited SSRF requests from the browser process.
Affected files:
chrome/android/java/src/org/chromium/chrome/browser/installedapp/InstalledAppProviderFactory.javachrome/browser/chrome_browser_interface_binders.cccomponents/installedapp/android/java/src/org/chromium/components/installedapp/InstalledAppProviderImpl.java
Estimated timestamp from git blame: 2025-07-02
Overview
The InstalledAppProvider interface allows websites to check if their related applications are installed on the user's device. For security and privacy reasons, this API is restricted to the outermost main frame. This restriction is enforced in the renderer (navigator_installed_app.cc).
On non-Android platforms, InstalledAppProviderImpl::Create performs this verification using host.GetParentOrOuterDocument(). If the frame is not an outermost main frame, the browser kills the renderer with a ReportBadMessage call.
However, on Android, the InstalledAppProvider interface is bound through a different path. In chrome_browser_interface_binders.cc, the binder uses ForwardToJavaFrame, which lacks any frame-type validation. The request is then forwarded to InstalledAppProviderFactory.java, which also does not verify if the frame is the outermost main frame before creating the implementation.
A compromised renderer in a cross-origin subframe can bypass the renderer-side check and bind the InstalledAppProvider interface directly. Once bound, the Android implementation (InstalledAppProviderImpl.java) provides several oracles that can be exploited:
-
Cross-Origin WebAPK Enumeration: The implementation trusts the
manifestUrlprovided by the renderer in theFilterInstalledAppsMojo call. If the renderer provides amanifestUrlthat matches theurlof aRelatedApplication, the implementation assumes the site is checking for its own WebAPK and bypasses the Digital Asset Links (DAL) relationship check. A compromised renderer can set both to an arbitrary target URL (e.g.,https://bank.example/manifest.json) and determine if the user has that specific WebAPK installed. The underlying implementation inWebApkValidator.javascans all installed packages on the device to find a match without consulting the actual frame origin. -
Browser-Process Network Fetch (Limited SSRF): If the renderer provides mismatched URLs, the implementation triggers a browser-process fetch of
.well-known/assetlinks.jsonfrom the origin of theapp.url. This allows a compromised renderer to initiate network requests from the browser process to arbitrary origins, although the path is fixed and credentials are omitted. -
Subframe Play App Oracle: The implementation allows subframes to query for their own associated Play Store apps, which is contrary to the API's top-level-only restriction.
Potential Attacker Steps
Note: These steps are based on static code analysis. A working proof of concept has not yet been developed.
- An attacker gains arbitrary code execution in a cross-origin subframe renderer (e.g., via a v8 exploit).
- Using MojoJS or direct Mojo bindings, the compromised subframe requests to bind the
blink::mojom::InstalledAppProviderinterface. - The browser process blindly binds the interface via
ForwardToJavaFrameon Android. - For WebAPK Enumeration: The attacker sends a
FilterInstalledAppsmessage, providing a target WebAPK URL (e.g.,https://target.app/manifest.json) for both themanifestUrlparameter and theRelatedApplication'surlparameter (withplatformset to"webapp"). The browser responds with the installation status, bypassing DAL checks. - For SSRF: The attacker sends a
FilterInstalledAppsmessage whereapp.urlis set to an arbitrary origin and differs frommanifestUrl. The browser process initiates a request to[app.url]/.well-known/assetlinks.json.
Suggested Fix
Add an outermost main frame check to InstalledAppProviderFactory.java or when registering the binder in chrome_browser_interface_binders.cc. If the provided RenderFrameHost is not the outermost main frame, the binding request should be rejected (e.g., by returning null or terminating the renderer).
Evaluated with Chrome root at commit: a9cbf6e8b275fe4147435aa905f3b7f5a656f5f0
Results from 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.
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 Android binding path forwards the interface to Java without verifying that the requesting frame is the outermost main frame, unlike the non-Android implementation.
Impact
A compromised subframe renderer could enumerate installed WebAPKs across origins and trigger limited browser-process network requests, though the SSRF path is fixed and omits credentials.
What the attacker needed
Compromised subframe renderer; Android device; Mojo bindings access
The fix
An outermost main frame check should be added in InstalledAppProviderFactory.java or when registering the binder, rejecting non-top-level frames.
How it was found
- Gain arbitrary code execution in a cross-origin subframe renderer.
- Request to bind the InstalledAppProvider interface using Mojo bindings.
- The browser process binds the interface via ForwardToJavaFrame on Android.
- Send a FilterInstalledApps message with matching manifestUrl and RelatedApplication url to enumerate a target WebAPK.
- Send a FilterInstalledApps message with mismatched app.url and manifestUrl to trigger a browser-process fetch of assetlinks.json.
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.
Websites can ask the browser whether a related app is installed, but only from the top-level page for privacy. On Android, a malicious or compromised subframe could ask the same question without that restriction, letting it learn which apps are installed or make the browser fetch a fixed file from another site.
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.