Improper handling of lines in usersfile.c in OATH Toolkit
Multiple products
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 0.877%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:nongnu | oath toolkit | Affected versions:≤ 2.4.0Show full version range for oath toolkit1.0.01.0.11.10.01.10.11.10.21.10.31.10.41.10.51.12.01.12.11.12.21.12.31.12.41.12.51.12.61.2.01.2.11.2.21.4.01.4.11.4.21.4.31.4.41.4.51.4.61.6.01.6.11.6.21.6.31.6.41.8.01.8.11.8.22.0.02.0.12.0.22.2.0 |
| Vendor:Debian | liboath-devEnvironments (4)
| Affected versions: < 2.4.1-1 |
| Vendor:Debian | liboath0Environments (4)
| Affected versions: < 2.4.1-1 |
| Vendor:Debian | libpam-oathEnvironments (4)
| Affected versions: < 2.4.1-1 |
| Vendor:Debian | oath-dbgEnvironments (4)
| Affected versions: < 2.4.1-1 |
| Vendor:Debian | oathtoolEnvironments (4)
| Affected versions: < 2.4.1-1 |
| Vendor:SUSE | liboath0Environments (38)
| Affected versions: < 0:2.6.2-1.15 |
| Vendor:SUSE | oath-toolkit-xmlEnvironments (38)
| Affected versions: < 0:2.6.2-1.15 |
| Vendor:SUSE | liboath-develEnvironments (33)
| Affected versions: < 0:2.6.2-1.15 |
| Vendor:SUSE | libpskc-develEnvironments (22)
| Affected versions: < 0:2.6.2-1.15 |
1–10 of 61 · Page 1 of 7
CVSS scores and metrics2
[email protected] · NVD (Primary)Primary4.9 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Single
Source vector
AV:N/AC:M/Au:S/C:P/I:P/A:Nnvd · Wazuh CTI (cna)4.9 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Single
Source vector
AV:N/AC:M/Au:S/C:P/I:P/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences