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-23899 Vulnerability in maven package com.mikesamuel:json-sanitizer
CVE-2018-13797 Vulnerability in maven package org.webjars.npm:macaddress
CVE-2020-26256 Vulnerability in npm package fast-csv
CVE-2021-32732 Vulnerability in maven package org.xwiki.platform:xwiki-platform-administration-ui
CVE-2023-29019 Vulnerability in npm package @fastify/passport