Skip to content
Access control Advisory Intermediate CVE-2026-13913

Insufficient policy enforcement in Autofill (CVE-2026-13913)

The 'Autofill Form' button in Chrome for iOS's manual password filler bypasses the HTTPS warning and re-authentication (Face ID/Touch ID) requirements that apply when tapping individual credential chips. An attacker with physical access to an unlocked device could inject saved credentials into an insecure HTTP page and exfiltrate them without further authentication.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 2 months

Flapjack, 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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: The 'Autofill Form' button in the iOS manual password filler bypasses HTTP warnings and re-authentication (Face ID/Touch ID) requirements. This allows silent credential injection over insecure connections and potential unauthorized access to credentials after the authentication grace period has expired.

Affected files:

  • ios/chrome/browser/autofill/ui_bundled/manual_fill/manual_fill_password_cell.mm
  • ios/chrome/browser/autofill/ui_bundled/manual_fill/manual_fill_injection_handler.mm

Estimated timestamp from git blame: 2024-07-24

Summary

The ManualFillPasswordCell in Chrome for iOS contains two potential security logic flaws in its "Autofill Form" button handler (onAutofillFormButtonTapped). This button fails to enforce the same security constraints that are applied when a user manually taps individual credential chips (e.g., username or password chips).

Specifically, it allows credential injection over insecure HTTP connections without displaying a security warning, and it bypasses re-authentication requirements when used from the "All Passwords" context.

Vulnerability Details

1. Protocol Downgrade / HTTP Bypass

In ManualFillPasswordCell.mm, when a user taps an individual password chip, the userDidTapPasswordButton: method is triggered. This method explicitly checks if injection is safe via [self.contentInjector canUserInjectInPasswordField:YES requiresHTTPS:YES]. If the target page is not using HTTPS, a security warning (IDS_IOS_MANUAL_FALLBACK_NOT_SECURE_GENERIC_BODY) is displayed via the securityAlertHandler, and the injection is aborted.

However, the "Autofill Form" button handler, onAutofillFormButtonTapped, directly calls autofillFormWithCredential:shouldReauth:. Neither the cell handler nor the downstream implementation in ManualFillInjectionHandler.mm calls canUserInjectInPasswordField:requiresHTTPS: or performs any other HTTPS check.

Consequently, credentials can be silently injected into insecure HTTP pages via the "Autofill Form" button, bypassing the intentional security warning intended for manual fallback scenarios.

2. Re-authentication (Face ID/Touch ID) Bypass

Manual fill operations are typically protected by re-authentication. When a user selects a credential chip, the ReauthenticationModule is invoked, allowing for a 60-second grace period (canReusePreviousAuth:YES). If this grace period has expired, the user is prompted to re-authenticate (e.g., via Face ID).

The "Autofill Form" button handler bypasses this security measure when the cell is displayed in the "All Passwords" context. In manual_fill_credentials_mediator.mm, when the ManualFillAllPasswordCoordinator displays the full list of saved passwords, the isFromAllPasswordsContext flag is set to YES.

In this scenario, onAutofillFormButtonTapped passes shouldReauth:NO to the injection handler:

OBJECTIVEC
[self.contentInjector autofillFormWithCredential:self.credential
                                    shouldReauth:!_fromAllPasswordsContext];

In ManualFillInjectionHandler.mm, passing shouldReauth:NO causes the ReauthenticationModule to be skipped entirely:

OBJECTIVEC
  if (shouldReauth && [self.reauthenticationModule canAttemptReauth]) {
      // ... reauth logic ...
  } else {
    [self fillFormWithCredential:credential];
  }

While tapping an individual password chip in the "All Passwords" list correctly triggers a Face ID prompt once the 60-second grace period expires (via userDidPickContent:), the "Autofill Form" button remains functional indefinitely without further authentication.

Potential Attack Scenario

(Note: These are suggested steps based on static analysis; our tooling agent cannot execute code to confirm.)

  1. An attacker creates a malicious webpage served over HTTP containing a login form and data-exfiltration JavaScript.
  2. The attacker gains physical access to the victim's unlocked iOS device.
  3. The attacker navigates to their HTTP webpage, focuses a password field, and taps the key icon to open the manual fill keyboard accessory.
  4. The attacker taps "Other Passwords..." to open the "All Passwords" view. This prompts for Face ID/Passcode. The attacker either knows the passcode or points the device at the nearby victim to pass this initial check.
  5. The attacker leaves the device on the "All Passwords" screen and waits for more than 60 seconds to expire the ReauthenticationModule's grace period.
  6. The attacker taps the "Autofill Form" button on a high-value credential (e.g., a bank account).
  7. Because shouldReauth is passed as NO, no re-authentication prompt is shown. Because the HTTPS check is missing, no security warning is shown.
  8. The plaintext credentials are automatically injected into the HTTP page and exfiltrated by the attacker's script.

Suggested Fix

  1. Enforce HTTPS Check: In ManualFillInjectionHandler.mm, update autofillFormWithCredential:shouldReauth: to call canUserInjectInPasswordField:YES requiresHTTPS:YES before proceeding with the fill operation. If the check fails, the method should return early.
  2. Enforce Re-authentication: Remove the !_fromAllPasswordsContext logic from onAutofillFormButtonTapped. The decision to skip re-authentication should not be based on whether the view is the "All Passwords" list, as the user could dwell on this screen longer than the 60-second grace period. shouldReauth should always be YES when dealing with password injection, or the grace period check should be relied upon exclusively.

Evaluated with Chrome root at commit: cc901875d53bf4e4fe0e01f02843871da4106e70


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 'Autofill Form' button handler calls the injection routine directly without the HTTPS check and passes a flag that disables re-authentication when the view is the 'All Passwords' list.

Impact

An attacker with physical access to an unlocked device could silently inject saved credentials into an insecure HTTP page and exfiltrate them, bypassing both the HTTPS warning and the re-authentication prompt.

What the attacker needed

Physical access to unlocked iOS device; attacker-controlled HTTP page; victim's saved credentials present; pass initial Face ID or passcode

The fix

The report suggests enforcing the HTTPS check in the injection handler and always requiring re-authentication for password injection, removing the 'All Passwords' exception.

How it was found

  1. Create an HTTP page with a login form and script that steals what is typed.
  2. Get physical access to the victim's unlocked iOS device.
  3. Open the attacker's HTTP page, focus a password field, and open the manual fill keyboard accessory.
  4. Tap 'Other Passwords...' and pass the initial Face ID or passcode check.
  5. Leave the device on the 'All Passwords' screen for more than 60 seconds.
  6. Tap the 'Autofill Form' button on a saved credential; no re-authentication or HTTPS warning appears and the credentials are injected and exfiltrated.

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 iOS lets you fill saved passwords into a login form. Normally, if the page is not secure (HTTP) or if it has been a while since you last proved it is you, Chrome warns you or asks for Face ID. This report says one particular button skips both checks, so someone holding your unlocked phone could quietly send your saved password to a fake page.

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.