Missing authorization in Payments (CVE-2026-79042)
The clipboard-triggered Pix payment flow in Chrome for Android does not verify that the page is served over HTTPS with a valid certificate, unlike the payment-link flow. An on-path attacker could serve a page over HTTP or with a bad certificate on an allowlisted merchant hostname and induce a copy action, causing Chrome's trusted payment UI to appear and potentially initiate a payment with an attacker-controlled Pix code.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 3 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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: The Pix payment flow triggered by clipboard events in Chrome for Android fails to verify secure context requirements (HTTPS and valid SSL). This allows an attacker to trigger trusted payment UI on insecure pages matching an allowlisted hostname. This bypasses the security checks enforced in other facilitated payment paths.
Affected files:
components/facilitated_payments/content/browser/content_facilitated_payments_driver_factory.cccomponents/facilitated_payments/core/browser/pix_manager.cccomponents/facilitated_payments/core/browser/facilitated_payments_driver.cccomponents/optimization_guide/core/filters/optimization_filter.cc
Estimated timestamp from git blame: 2024-07-12
Description
A security parity gap exists in the Facilitated Payments (Pix) implementation on Chrome for Android. While the 'Payment Link' flow correctly enforces security requirements (HTTPS, valid SSL, and Permissions Policy) via the SecurityChecker, the flow triggered by copying text to the clipboard (OnTextCopiedToClipboard) potentially skips these essential checks. This allows a sensitive, browser-native payment UI to be displayed on insecure or MITM'd pages that match an allowlisted merchant hostname.
Technical Details
1. Missing Security Validation
The entry point for the clipboard-based Pix flow is ContentFacilitatedPaymentsDriverFactory::OnTextCopiedToClipboard in components/facilitated_payments/content/browser/content_facilitated_payments_driver_factory.cc. Unlike the payment link flow in ContentFacilitatedPaymentsDriver::HandlePaymentLink, this path does not invoke SecurityChecker::IsSecureForPaymentLinkHandling (or any equivalent security validation).
As a result, the following security properties are not verified before triggering the payment UI:
- HTTPS Requirement:
SchemeIsCryptographic()is not checked. - SSL Validity:
IsSslValid()is not checked, meaning the UI can appear on pages with certificate errors (e.g., after a user bypasses an interstitial). - Permissions Policy: The
paymentfeature policy is not checked, potentially allowing unauthorized frames to trigger the UI.
2. Insufficient Host-Only Allowlisting
The primary security gate for this flow is PixManager::IsMerchantAllowlisted, which queries the Optimization Guide for the PIX_MERCHANT_ORIGINS_ALLOWLIST. The underlying matching logic in OptimizationFilter::Matches (in components/optimization_guide/core/filters/optimization_filter.cc) performs a host-suffix match using a Bloom filter. This check only considers the hostname and ignores the URL scheme and the certificate state. Therefore, http://allowlisted-merchant.com is treated as valid despite the insecure connection.
Potential Attack Scenario
An on-path network attacker (e.g., via a malicious Wi-Fi hotspot) could potentially exploit this as follows:
- Interception: The attacker intercepts traffic to a host on the
PIX_MERCHANT_ORIGINS_ALLOWLIST(e.g., a major Brazilian retailer). - Insecure Serving: The attacker serves a malicious page over plain HTTP or via a connection with an invalid SSL certificate.
- Clipboard Trigger: The page induces the user to perform a copy action (e.g., via a 'Copy Pix Code' button). To avoid 'Secure Context' requirements of the modern Clipboard API, the attacker can use the legacy
document.execCommand('copy')command, which functions in insecure contexts. - UI Trigger: Chrome's trusted browser-process Bottom Sheet appears, showing the user's real bank accounts. The user, seeing a legitimate browser surface on a familiar merchant domain, is likely to trust the transaction.
- Unauthorized Transaction: If the user confirms, the attacker-controlled Pix code is used to initiate a payment via Google's backend.
Impact
This issue allows an attacker to bypass secure-context requirements for a sensitive financial feature, enabling the display of a trusted browser surface over an untrusted page and the potential initiation of unauthorized payments via an attacker-controlled Pix code.
Suggested Fix
Update the clipboard-triggered flow (likely in ContentFacilitatedPaymentsDriver::OnTextCopiedToClipboard) to invoke SecurityChecker::IsSecureForPaymentLinkHandling (or a similar validation method) before proceeding with Pix detection or UI presentation. This ensures that the Pix payment UI is only displayed in contexts that meet the same security standards as the Payment Link flow.
Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a
Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:
- If you are familiar with the severity guidelines, you may adjust the severity.
- If this is a false positive, and there's no work to be done, please close as WAI.
- If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.
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 clipboard-triggered entry point omits the secure-context and SSL checks that the payment-link path performs, and the allowlist match only compares the hostname.
Impact
An attacker could show a trusted browser payment surface over an untrusted page and potentially start an unauthorised payment with an attacker-controlled Pix code.
What the attacker needed
Chrome for Android with Pix enabled; attacker on the network path; victim copies text on the page; victim confirms the payment
The fix
The clipboard-triggered flow should call the same secure-context validation used by the payment-link flow before showing the Pix UI.
How it was found
- Intercept traffic to a host on the Pix merchant allowlist.
- Serve a malicious page over plain HTTP or with an invalid certificate.
- Induce the user to copy text, using the legacy copy command to work in an insecure context.
- Chrome shows the trusted payment bottom sheet with the user's bank accounts.
- If the user confirms, the attacker-controlled Pix code starts a payment.
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 on Android can show a special payment sheet when you copy a Pix code. The report says one way of triggering that sheet skips the check that the page is really the secure version of the merchant's site. So someone on the same Wi-Fi could fake the site over an insecure connection and still get the trusted payment sheet to appear.
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.