Auth bypass in Nongnu Oath Toolkit
CVE-2013-7322
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.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.9 (Medium). Vector: AV:N/AC:M/Au:S/C:P/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.009, 59.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Nongnu Oath Toolkit — versions 1.0.0, 1.0.1, 1.2.0
Weakness classification (CWE)
References
- [oss-security] 20140209 Re: oath-toolkit PAM module OTP token invalidation issue (mailing-list)
- [OATH-Toolkit-help] 20131214 Re: libpam-oath vulnerable to replay of OTP as result of incorrectly parsing comments in users file? (mailing-list)
- [OATH-Toolkit-help] 20131209 libpam-oath vulnerable to replay of OTP as result of incorrectly parsing comments in users file? (mailing-list)
- oath-toolkit-cve20137322-replay(91316) (vdb-entry)
- [OATH-Toolkit-help] 20131214 Re: libpam-oath vulnerable to replay of OTP as result of incorrectly parsing comments in users file? (mailing-list)
- www.nongnu.org/oath-toolkit/NEWS.html