CVE-2023-45669 Improper signature counter value handling in webauthn4j-spring-security

Medium 4.8 Published Updated

Attackers can use cloned authenticators without detection due to improper signature counter persistence in webauthn4j-spring-security.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-45669?

CVE-2023-45669 is a medium-severity vulnerability in webauthn4j-spring-security, published on 16 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-287

Which versions are affected by CVE-2023-45669?

2 open source packages ship an affected version, including com.webauthn4j:webauthn4j-spring-security-core. It affects 1 product.

PackageAffectedFixed in
com.webauthn4j:webauthn4j-spring-security-core MavenAll versions0.9.1.RELEASE
com.webauthn4j:webauthn4j-spring-security-core MavenAll versions0.9.1.RELEASE

Products include Webauthn4j Spring Security.

How do I fix CVE-2023-45669?

Upgrade com.webauthn4j:webauthn4j-spring-security-core to 0.9.1.RELEASE or later.

Is CVE-2023-45669 being exploited?

There is no known exploitation of CVE-2023-45669 in the wild and no public exploit code.

Sources

Also known as GHSA-v9hx-v6vf-g36j.

Is CVE-2023-45669 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free