GitHub Advisory Database
GHSA-rqg8-xjp2-pg9w
LinOTP replay vulnerability with auto resynchronization enabled for TOTP token
Details
LinOTP is prone to a replay attack with activated automatic resynchronization. This vulnerability may allow an attacker to successfully log in with OTP values recorded at a previous point in time.
This attack is only possible if automatic resynchronization is enabled for the TOTP token type. The automatic resynchronization is deactivated by default. All other tokens are unaffected.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | linotp | All versions before 2.11.1 (fixed in 2.11.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-12887
- https://github.com/LinOTP/LinOTP/commit/6d28d93af59d2ce0d844a6a3282148064efc6ad8
- https://github.com/LinOTP/LinOTP
- https://github.com/pypa/advisory-database/tree/main/vulns/linotp/PYSEC-2019-103.yaml
- https://linotp.org/linotp-hotfix-autoresync.html
- https://www.linotp.org/CVE-2019-12887.txt