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-21349 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2020-10673 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2019-20921 Vulnerability in maven package org.webjars.bowergithub.thdoan:bootstrap-select
CVE-2017-16129 Vulnerability in maven package org.webjars:superagent
CVE-2022-0839 Vulnerability in maven package org.liquibase:liquibase-core