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-2022-23458 Vulnerability in npm package tui-grid
CVE-2022-31160 Vulnerability in maven package org.webjars.npm:jquery-ui
CVE-2022-21191 Vulnerability in npm package global-modules-path
CVE-2018-11761 Vulnerability in maven package org.apache.tika:tika-core
CVE-2023-27899 Vulnerability in maven package org.jenkins-ci.main:jenkins-core