usersfile.c in liboath in OATH Toolkit before 2.4.1 does not properly handle lines containing an invalid one-time-password (OTP) type and a user name in /etc/users.oath, which causes the wrong line to be updated when invalidating an OTP and allows context-dependent attackers to conduct replay attacks, as demonstrated by a commented out line when using libpam-oath.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Debian | 12 | all | oath-toolkit | < 2.4.1-1 | oath-toolkit_2.4.1-1_all.deb |
Debian | 11 | all | oath-toolkit | < 2.4.1-1 | oath-toolkit_2.4.1-1_all.deb |
Debian | 10 | all | oath-toolkit | < 2.4.1-1 | oath-toolkit_2.4.1-1_all.deb |
Debian | 999 | all | oath-toolkit | < 2.4.1-1 | oath-toolkit_2.4.1-1_all.deb |
Debian | 13 | all | oath-toolkit | < 2.4.1-1 | oath-toolkit_2.4.1-1_all.deb |