Description
OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secrets, certificates, and keys. In versions 0.1.0 through 2.3.1, OpenBao's TOTP secrets engine could accept valid codes multiple times rather than strictly-once. This was caused by unexpected normalization in the underlying TOTP library. To work around, ensure that all codes are first normalized before submitting to the OpenBao endpoint. TOTP code verification is a privileged action; only trusted systems should be verifying codes.
Problem types
CWE-156: Improper Neutralization of Whitespace
Product status
References
github.com/...penbao/security/advisories/GHSA-f7c3-mhj2-9pvg
github.com/...ommit/183891f8d535d5b6eb3d79fda8200cade6de99e1
discuss.hashicorp.com/...otp-secrets-engine-code-reuse/76036