Discourse's WebAuthn challenge isn't cleared from user session after authentication
Summary
Discourse's WebAuthn challenge isn't cleared from user session after authentication
Original description
The description as published by the source.
Discourse is an open-source community discussion platform. Prior to version 3.4.7 on the stable branch and version 3.5.0.beta.8 on the tests-passed branch, upon issuing a physical security key for 2FA, the server generates a WebAuthn challenge, which the client signs. The challenge is not cleared from the user’s session after authentication, potentially allowing reuse and increasing security risk. This is fixed in versions 3.4.7 and 3.5.0.beta.8.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Affected packages
References
- advisory github.com
- patch github.com
- patch github.com
- web nvd.nist.gov