1. CVE archive
  2. 2013
  3. CVE-2013-7322

CVE-2013-7322

4.9 Medium severity CVSS v2.0 · source NVD AV:N/AC:M/Au:S/C:P/I:P/A:N 4.9 – Medium

Description

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.

Affected products

VendorProductVersionPlatform
nongnu oath toolkit 1.2.2 –
nongnu oath toolkit 1.4.0 –
nongnu oath toolkit 1.4.1 –
nongnu oath toolkit 1.4.2 –
nongnu oath toolkit 1.4.3 –
nongnu oath toolkit 1.4.4 –
nongnu oath toolkit 1.4.5 –
nongnu oath toolkit 1.4.6 –
nongnu oath toolkit 1.6.0 –
nongnu oath toolkit 1.6.1 –
nongnu oath toolkit 1.6.2 –
nongnu oath toolkit 1.6.3 –
nongnu oath toolkit 1.6.4 –
nongnu oath toolkit 1.8.0 –
nongnu oath toolkit 1.8.1 –
nongnu oath toolkit 1.8.2 –
nongnu oath toolkit 1.10.0 –
nongnu oath toolkit 1.10.1 –
nongnu oath toolkit 1.10.2 –
nongnu oath toolkit 1.10.3 –
nongnu oath toolkit 1.10.4 –
nongnu oath toolkit 1.10.5 –
nongnu oath toolkit 1.12.0 –
nongnu oath toolkit 1.12.1 –
nongnu oath toolkit 1.12.2 –
nongnu oath toolkit 1.12.3 –
nongnu oath toolkit 1.12.4 –
nongnu oath toolkit 1.12.5 –
nongnu oath toolkit 1.12.6 –
nongnu oath toolkit 2.0.0 –
nongnu oath toolkit 2.0.1 –
nongnu oath toolkit 2.0.2 –
nongnu oath toolkit 2.2.0 –
nongnu oath toolkit <= 2.4.0 –
nongnu oath toolkit 1.0.0 –
nongnu oath toolkit 1.0.1 –
nongnu oath toolkit 1.2.0 –
nongnu oath toolkit 1.2.1 –

Vulnerability type

CWE-287 Improper Authentication

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Impact on systems

ScopeImpact
Integrity, Confidentiality, Availability, Access Control Read Application Data, Gain Privileges or Assume Identity, Execute Unauthorized Code or Commands
This weakness can lead to the exposure of resources or functionality to unintended actors, possibly providing attackers with sensitive information or even execute arbitrary code.

How to prevent it

Architecture and Design · Libraries or Frameworks Use an authentication framework or library such as the OWASP ESAPI Authentication feature.

All 5,305 CWE-287 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org