1. CVE archive
  2. 2014
  3. CVE-2014-2875

CVE-2014-2875

6.1 Medium severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N 6.1 – Medium

Description

The session.lua library in CGILua 5.2 alpha 1 and 5.2 alpha 2 uses weak session IDs generated based on OS time, which allows remote attackers to hijack arbitrary sessions via a brute force attack. NOTE: CVE-2014-10399 and CVE-2014-10400 were SPLIT from this ID.

Affected products

VendorProductVersionPlatform
keplerproject cgilua >= 5.0.0 <= 5.0.1 –
keplerproject cgilua >= 5.1.0 <= 5.1.4 –
keplerproject cgilua 5.2 alpha1 –
keplerproject cgilua 5.2 alpha2 –

Vulnerability type

CWE-307 Improper Restriction of Excessive Authentication Attempts

The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame.

Impact on systems

ScopeImpact
Access Control Bypass Protection Mechanism
An attacker could perform an arbitrary number of authentication attempts using different passwords, and eventually gain access to the targeted account using a brute force attack.

How to prevent it

Architecture and Design Common protection mechanisms include: Disconnecting the user after a small number of failed attempts Implementing a timeout Locking out a targeted account Requiring a computational task on the user's part.
Architecture and Design · Libraries or Frameworks Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator.

All 746 CWE-307 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org