Description
WebAuthn4J Spring Security provides Web Authentication specification support for Spring applications. Affected versions are subject to improper signature counter value handling. A flaw was found in webauthn4j-spring-security-core. When an authneticator returns an incremented signature counter value during authentication, webauthn4j-spring-security-core does not properly persist the value, which means cloned authenticator detection does not work. An attacker who cloned valid authenticator in some way can use the cloned authenticator without being detected. This issue has been addressed in version `0.9.1.RELEASE`. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Remediation
References
https://github.com/webauthn4j/webauthn4j-spring-security/commit/129700d74d83f9b9a82bf88ebc63707e3cb0a725
https://github.com/webauthn4j/webauthn4j-spring-security/security/advisories/GHSA-v9hx-v6vf-g36j
https://www.w3.org/TR/2021/REC-webauthn-2-20210408/#sctn-sign-counter
Related Vulnerabilities
CVE-2021-21174 Vulnerability in npm package electron
CVE-2022-2900 Vulnerability in maven package org.webjars.npm:parse-url
CVE-2023-47797 Vulnerability in maven package com.liferay.portal:release.portal.bom
CVE-2019-5444 Vulnerability in npm package serve-here.js
CVE-2023-50422 Vulnerability in maven package com.sap.cloud.security:spring-security