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

Missing authorization in Mobile (CVE-2026-106387)

The manual-fill 'Autofill Form' button on iOS Chrome credit card cells did not check whether the page was a secure context before injecting card data, unlike individual field chips. An attacker hosting an insecure HTTP page with both an IBAN field and card fields could potentially get saved credit card details filled into that page.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 4 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: A potential security context bypass in iOS Chrome's manual-fill keyboard accessory allows credit card information to be filled into insecure HTTP forms. When the 'Autofill Form' button on a credit card cell is tapped, context security checks are omitted on the native injection path. This can potentially be exploited by an attacker using an IBAN field focus pivot to bypass upstream secure context filters.

Affected files:

  • ios/chrome/browser/autofill/manual_fill/model/manual_fill_injection_handler.mm
  • ios/chrome/browser/autofill/manual_fill/ui/manual_fill_card_cell.mm
  • ios/chrome/browser/autofill/manual_fill/coordinator/expanded_manual_fill_coordinator.mm

Estimated timestamp from git blame: 2024-05-08

Summary

A potential security context bypass in iOS Chrome's manual-fill keyboard accessory allows credit card information to be filled into insecure HTTP forms. The manual-fill injection handler for the "Autofill Form" button on credit card cells fails to verify if the frame is a secure context (requiresHTTPS), unlike individual field chips and credential autofill handlers.

An attacker can potentially bypass upstream secure context filters (which usually prevent credit card suggestions on HTTP pages) by hosting both an IBAN field and credit card fields on an insecure HTTP page.

Technical Analysis

1. Root Cause in Manual Fill Injection

When a user taps the "Autofill Form" button in the expanded manual-fill sheet, -[ManualFillCardCell onAutofillFormButtonTapped] (in ios/chrome/browser/autofill/manual_fill/ui/manual_fill_card_cell.mm at line 655) generates a FormSuggestion with a credit card type and passes it to the content injector:

OBJC
[self.contentInjector autofillFormWithSuggestion:suggestion atIndex:_cellIndex];

The receiving method, -[ManualFillInjectionHandler autofillFormWithSuggestion:atIndex:] (in ios/chrome/browser/autofill/manual_fill/model/manual_fill_injection_handler.mm at line 222), delegates the injection directly to the FormSuggestionClient without verifying context security:

OBJC
- (void)autofillFormWithSuggestion:(FormSuggestion*)formSuggestion
                           atIndex:(NSInteger)index {
  if (IsStateless()) {
    ...
    [self.formSuggestionClient didSelectSuggestion:decoratedSuggestion ...];
  } else {
    [self.formSuggestionClient didSelectSuggestion:formSuggestion ...];
  }
}

By contrast, individual card chip selection is properly gated:

OBJC
// ios/chrome/browser/autofill/manual_fill/ui/manual_fill_card_cell.mm
- (void)userDidTapCardNumber:(UIButton*)sender {
  ...
  if (![self.contentInjector canUserInjectInPasswordField:NO
                                            requiresHTTPS:YES]) {
    return;
  }

Similarly, password-based form autofill is gated in the same injection handler (line 200):

OBJC
- (void)autofillFormWithCredential:(ManualFillCredential*)credential
                      shouldReauth:(BOOL)shouldReauth {
  if (![self canUserInjectInPasswordField:NO requiresHTTPS:YES]) {
    return;
  }

Because downstream handlers (AutofillAgent, AutofillExternalDelegate, and BrowserAutofillManager) perform no secondary IsFormOrClientNonSecure validation on the selection-handling flow (as they rely on suggestions being filtered out upstream), the data is directly injected into the page once accepted.

2. Upstream Bypass via IBAN Pivot

Ordinarily, CreditCardSuggestionGenerator::GenerateSuggestions (in components/autofill/core/browser/suggestions/payments/credit_card_suggestion_generator.cc at line 568) replaces credit card suggestions with a warning block on insecure pages, which hides the credit card "Autofill Form" button.

However, IbanSuggestionGenerator::GenerateSuggestions (in components/autofill/core/browser/suggestions/payments/iban_suggestion_generator.cc at line 145) does not check for secure contexts. Thus, on an insecure page containing both an IBAN field and credit card fields, an attacker can potentially trigger the vulnerable path:

  1. The user focuses the IBAN field on an HTTP page, generating valid IBAN suggestions.
  2. The main filling product maps to ManualFillDataType::kPaymentMethod in ios/chrome/browser/autofill/manual_fill/coordinator/expanded_manual_fill_coordinator.mm (at line 249), which configures the manual fill sheet with showAutofillFormButton:YES for the credit card cells.
  3. The user opens the manual fill sheet and selects their credit card from the list.
  4. Tapping the "Autofill Form" button triggers the ungated injection pathway, filling the credit card fields on the insecure HTTP page.

Note: These are potential steps. Our tooling agent does not yet have the ability to run code or compile verification binaries on target devices.

Potential Steps to Reproduce

  1. Ensure the user has a saved local credit card and a saved IBAN in their Google Chrome profile.
  2. Navigate to an insecure HTTP page (e.g., http://example.com) hosting both an IBAN input field and credit card input fields.
  3. Tap on the IBAN input field.
  4. Open the keyboard accessory's manual fill menu and select the Payment Methods tab.
  5. Tap the "Autofill Form" button on the saved credit card cell.
  6. Verify that the credit card information is successfully filled into the insecure HTTP form.

Suggested Fix

Enforce the secure context check in -[ManualFillInjectionHandler autofillFormWithSuggestion:atIndex:] before letting the client execute the injection:

OBJC
- (void)autofillFormWithSuggestion:(FormSuggestion*)formSuggestion
                           atIndex:(NSInteger)index {
  if (![self canUserInjectInPasswordField:NO requiresHTTPS:YES]) {
    return;
  }
  ...
}

Evaluated with Chrome root at commit: fb72408a8493c46bc75fae1c70d03daec96b3040


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.

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 manual-fill injection handler for the 'Autofill Form' button delegates to the form suggestion client without calling the secure-context check that other injection paths use.

Impact

Saved credit card details could be injected into a page served over plain HTTP, where a network attacker could potentially read them; the report notes the steps are unverified because the tooling could not run code on a device.

What the attacker needed

IOS Chrome; saved credit card and saved IBAN; victim visits an HTTP page; victim taps the Autofill Form button

The fix

The injection handler should perform the same secure-context check used by the other injection paths before passing the suggestion to the client.

How it was found

  1. Have a saved credit card and a saved IBAN in the Chrome profile.
  2. Open an insecure HTTP page that contains both an IBAN field and credit card fields.
  3. Focus the IBAN field.
  4. Open the keyboard accessory manual fill menu and choose the payment methods tab.
  5. Tap the 'Autofill Form' button on the saved credit card cell.
  6. Observe that the card details are filled into the HTTP form.

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.

Browsers normally refuse to autofill saved credit cards on pages that are not served over HTTPS, because anyone on the network could read what is typed. Here, one particular button in Chrome on iOS skipped that check, so a page loaded over plain HTTP could receive the card details. The report is a static-analysis finding and the authors say they could not run it on a device.

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.