Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-v9hx-v6vf-g36j: WebAuthn4J Spring Security Improper signature counter value handling

Improper signature counter value handling

Impact

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.

Patches

Please upgrade to com.webauthn4j:webauthn4j-spring-security-core:0.9.1.RELEASE

References

For more details about WebAuthn signature counters, see WebAuthn specification 6.1.1. Signature Counter Considerations.

Reporter

This issue was discovered by Michael Budnick (@mbudnick)

ghsa
#web#git#java#perl#auth#maven

Package

maven com.webauthn4j:webauthn4j-spring-security-core (Maven)

Affected versions

< 0.9.1.RELEASE

Patched versions

0.9.1.RELEASE

Description

Improper signature counter value handling

Impact

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.

Patches

Please upgrade to com.webauthn4j:webauthn4j-spring-security-core:0.9.1.RELEASE

References

For more details about WebAuthn signature counters, see WebAuthn specification 6.1.1. Signature Counter Considerations.

Reporter

This issue was discovered by Michael Budnick (@mbudnick)

References

  • GHSA-v9hx-v6vf-g36j
  • https://nvd.nist.gov/vuln/detail/CVE-2023-45669
  • webauthn4j/webauthn4j-spring-security@129700d
  • https://www.w3.org/TR/2021/REC-webauthn-2-20210408/#sctn-sign-counter

ynojima published to webauthn4j/webauthn4j-spring-security

Oct 16, 2023

Published to the GitHub Advisory Database

Oct 17, 2023

Reviewed

Oct 17, 2023

Last updated

Oct 17, 2023

Related news

CVE-2023-45669: Merge pull request from GHSA-v9hx-v6vf-g36j · webauthn4j/webauthn4j-spring-security@129700d

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.