edumfa
Affected
- introduced
0, fixed2.9.1(ecosystem)
Fixed versions
2.9.1
Fix
- Fixed version
2.9.1pip install --upgrade edumfa==2.9.1
Advisory
Also known as: None
eduMFA: Incorrect InnoDB snapshot isolation possibly allows token reusage
Impact
For deployments using MySQL or MariaDB < 11.6.2 (or newer with innodb_snapshot_isolation=off) reusage of token values might be possible due to faulty transaction isolation inside the database. Exploiting this requires racing this transaction.
Affected are all tokentypes whose values are only supposed to be used once, for example TOTP, HOTP and likely also WebAuthN.
Affected Combinations:
Patches
Fixed in version 2.9.1 by locking rows prior to write with SELECT FOR UPDATE.
Workarounds
Set innodb_snapshot_isolation to ON (default in MariaDB >= 11.6.2, e.g packaged in Debian 13).
Resources
https://mariadb.com/resources/blog/isolation-level-violation-testing-and-debugging-in-mariadb/
High Basis: The source's own band: HIGH
0, fixed 2.9.1 (ecosystem)2.9.1
2.9.1pip install --upgrade edumfa==2.9.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0