Closed Bug 2024137 Opened 8 months ago Closed 8 months ago

Test-Only FormAutofill Handlers Exposed in Production Allowing Credit Card Exfiltration (Bug 2022419)

Categories

(Toolkit :: Form Autofill, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 2022419

People

(Reporter: define.ctf, Unassigned)

References

()

Details

(Keywords: reporter-external, Whiteboard: [client-bounty-form])

Discovered through manual code review of FormAutofillParent.sys.mjs.

Five message handlers marked as "test-only" in comments are fully
accessible in production builds with no Cu.isInAutomation guard:

  • FormAutofill:GetRecords → returns ALL saved credit cards & addresses
  • FormAutofill:SaveAddress → injects arbitrary address data
  • FormAutofill:SaveCreditCard → injects arbitrary credit card data
  • FormAutofill:RemoveCreditCards → deletes credit cards by GUID
  • FormAutofill:RemoveAddresses → deletes addresses by GUID

The FormAutofill actor is registered with allFrames: true and no
remoteTypes restriction, meaning any compromised content process
can send these messages directly.

Impact:

  • Full exfiltration of saved credit cards and addresses
  • Mass deletion of payment data
  • Injection of malicious autofill entries

Affected versions: Firefox release, beta, ESR 128, ESR 140
Platforms: Windows, macOS, Linux

Existing bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=2022419
Already confirmed sec-high and patch submitted by assignee.

Flags: sec-bounty?

I guess you re-filed this so that it would be considered for the security bounty program? In the future, you can email security@mozilla.org and ask them to set the flag rather than file a new bug, which can be confusing.

Status: UNCONFIRMED → RESOLVED
Closed: 8 months ago
Component: Security → Form Autofill
Duplicate of bug: CVE-2026-6765
Product: Firefox → Toolkit
Resolution: --- → DUPLICATE
Flags: sec-bounty? → sec-bounty-
Group: firefox-core-security
You need to log in before you can comment on or make changes to this bug.