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

Insufficient policy enforcement in Payments (CVE-2026-17742)

Secure Payment Confirmation (SPC) bypasses the standard WebAuthn registrable-domain check to allow third-party assertions, but it fails to restrict sensitive WebAuthn extensions such as PRF and largeBlob during this bypass. A malicious origin could therefore extract cryptographic secrets bound to a victim Relying Party through a deceptive user prompt.

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 without the security team.

Overview: Secure Payment Confirmation (SPC) intentionally bypasses the standard WebAuthn registrable-domain constraint to allow third-party assertions. However, it fails to restrict the use of sensitive WebAuthn extensions like PRF and largeBlob during this bypass. This potentially allows a malicious origin to extract cryptographic secrets bound to a victim Relying Party (RP) through a deceptive user prompt.

Affected files:

  • components/payments/content/secure_payment_confirmation_app.cc
  • content/browser/webauth/authenticator_common_impl.cc
  • content/browser/webauth/webauth_request_security_checker.cc
  • components/payments/content/secure_payment_confirmation_service.cc

Estimated timestamp from git blame: 2025-09-19

Vulnerability Details

Secure Payment Confirmation (SPC) allows a third-party origin (such as a merchant or payment provider) to request an assertion for a credential owned by a different Relying Party (RP). To support this, WebAuthRequestSecurityChecker::ValidateDomainAndRelyingPartyID explicitly bypasses the standard WebAuthn RP ID validation when the request type is kGetPaymentCredentialAssertion.

However, the system fails to restrict the use of sensitive WebAuthn extensions during this cross-origin bypass. When an SPC request is made, SecurePaymentConfirmationApp::InvokePaymentApp blindly clones the attacker-supplied extensions dictionary and passes it to AuthenticatorCommonImpl. Because AuthenticatorCommonImpl lacks logic to filter extensions based on the kGetPaymentCredentialAssertion request type, it forwards requests for extensions like prf, large_blob_read, and get_cred_blob directly to the platform authenticator.

Once the authenticator evaluates the extensions using the victim's credential, the results (e.g., the HMAC-secret derived from the PRF) are returned to the browser. SecurePaymentConfirmationApp::SetAppSpecificResponseFields then explicitly clones these unverified extension outputs back into the PaymentResponse Mojo struct, returning them to the attacker's origin.

On Desktop, this issue is exacerbated by a missing origin check in the Mojo interface. SecurePaymentConfirmationService::StorePaymentCredential allows a compromised renderer to poison the local database by binding an arbitrary credential_id to an arbitrary rp_id because it fails to verify that the rp_id matches the caller's origin. This permits an attacker to target any WebAuthn credential on the device, rather than just those opted into SPC.

Potential Attack Steps

(Note: These are suggested steps based on source code analysis; a functional exploit has not yet been executed in a live environment.)

  1. DB Poisoning (Desktop only): An attacker with a compromised renderer calls the StorePaymentCredential Mojo method, providing an arbitrary credential_id and setting the rp_id to a victim domain (e.g., victim.com). The browser stores this in the local DB without validating the origin.
  2. Malicious Request: The attacker runs JavaScript using the PaymentRequest API to initiate an SPC request. They specify rpId: 'victim.com', request sensitive WebAuthn extensions (prf, largeBlob), and provide a deceptive payeeName (e.g., "Security Verification") while omitting showOptOut to hide the victim RP ID from the UI.
  3. Bypass and Forwarding: The browser honors the SPC request, bypasses the RP ID check, and forwards the extension requests to the platform authenticator.
  4. Deceptive UI: The native SPC prompt appears, displaying the deceptive payee name and hiding the victim's RP ID. The user clicks "Verify".
  5. Exfiltration: The authenticator evaluates the PRF or largeBlob data for victim.com. The browser blindly returns these results in the PaymentResponse, allowing the attacker's JavaScript to read the cross-origin secrets.

Suggested Fix

  1. Restrict Extensions: In AuthenticatorCommonImpl::ContinueGetAssertionAfterRpIdCheck, explicitly deny or filter out sensitive extensions (prf, large_blob_read, large_blob_write, get_cred_blob) if the request is an SPC assertion (request_type == RequestType::kGetPaymentCredentialAssertion). Alternatively, filter them in SecurePaymentConfirmationApp::InvokePaymentApp.
  2. Enforce Origin Validation: In SecurePaymentConfirmationService::StorePaymentCredential, verify that the rp_id provided by the renderer is a valid registrable domain suffix of the RenderFrameHost's last committed origin to prevent database poisoning by a compromised renderer.

Evaluated with Chrome root at commit: ff3d2b74fa39431785bd60e51463b08fcc71ee33


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 SPC code path bypasses the WebAuthn RP ID check but does not filter out sensitive extensions (PRF, largeBlob, credBlob) for cross-origin requests, and on desktop the Mojo interface for storing payment credentials lacks an origin check.

Impact

A malicious origin could extract cryptographic secrets bound to a victim Relying Party, and on desktop a compromised renderer could target any WebAuthn credential on the device; however, the report notes that a functional exploit has not yet been executed in a live environment.

What the attacker needed

Compromised renderer (desktop DB poisoning); victim clicks 'Verify' on SPC prompt; victim has WebAuthn credential for target RP

The fix

The report suggests filtering out sensitive extensions for SPC assertions and enforcing origin validation in StorePaymentCredential; it does not state that a fix has been applied.

How it was found

  1. On desktop, a compromised renderer calls StorePaymentCredential with an arbitrary credential_id and rp_id set to a victim domain, poisoning the local database.
  2. The attacker runs JavaScript using the PaymentRequest API to initiate an SPC request with rpId set to the victim domain, requesting sensitive extensions and a deceptive payeeName while hiding the victim RP ID.
  3. The browser honours the SPC request, bypasses the RP ID check, and forwards the extension requests to the platform authenticator.
  4. A native SPC prompt appears showing the deceptive payee name and hiding the victim's RP ID; the user clicks 'Verify'.
  5. The authenticator evaluates the PRF or largeBlob data for the victim domain, and the browser returns the results in the PaymentResponse, allowing the attacker's JavaScript to read the cross-origin secrets.

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.

WebAuthn is a standard for logging in without passwords, using a security key or fingerprint. Normally, a website can only use credentials that belong to its own domain. This report says a special payment feature lets a website ask for credentials from another domain, and it also lets that website request extra secret data (like a cryptographic key) from the victim's credential. A malicious site could trick a user into approving this and then steal those secrets.

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.