Vulnerability · Published Oct 16, 2023 · Assigned by GitHub_M
CVE-2023-45669Improper signature counter value handling in webauthn4j-spring-security
Medium 4.8
In plain English
A medium-severity improper authentication in webauthn4j-spring-security from webauthn4j. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | com.webauthn4j:webauthn4j-spring-security-core | 0.9.1.RELEASE | GHSA-v9hx-v6vf-g36j |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| webauthn4j | webauthn4j-spring-security | < 0.9.1.RELEASE |
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
References
- https://github.com/webauthn4j/webauthn4j-spring-security/security/advisories/GHSA-v9hx-v6vf-g36j x_refsource_CONFIRM
- https://github.com/webauthn4j/webauthn4j-spring-security/commit/129700d74d83f9b9a82bf88ebc63707e3cb0a725 x_refsource_MISC
- https://www.w3.org/TR/2021/REC-webauthn-2-20210408/#sctn-sign-counter x_refsource_MISC