Spring Security's WebAuthn relying-party support, Webauthn4JRelyingPartyOperations , does not effectively enforce its authenticator signature-counter check.
WebAuthn authenticators are expected to increment a per-credential signature counter on every use, and a relying party is expected to reject an assertion whose counter fails to increase, since a counter that repeats or regresses is a strong signal that the authenticator has been cloned. An internal defect in how Webauthn4JRelyingPartyOperations supplies the previously stored counter to the underlying verification library means this check does not actually detect a non-incrementing counter, so this defense-in-depth control against cloned authenticators is not effective.
Preconditions :
The application uses Webauthn4JRelyingPartyOperations (Spring Security's default WebAuthn RelyingPartyOperations implementation) to authenticate users. An attacker has obtained a cloned or otherwise duplicated WebAuthn authenticator capable of producing valid assertions for a credential already registered to a victim. An attacker who already possesses such a cloned authenticator can continue to authenticate as the victim without Spring Security detecting or rejecting the clone.
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub