Improper Authentication Affecting craft-twofactorauthentication package, versions <3.3.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.06% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-CRAFTTWOFACTORAUTHENTICATION-7216205
  • published6 Jun 2024
  • disclosed6 Jun 2024
  • creditFabian Funder, Jakob Pachmann

Introduced: 6 Jun 2024

CVE-2024-5658  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade craft-twofactorauthentication to version 3.3.4 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authentication due to the improper handling of TOTP tokens. An attacker can reuse a TOTP token multiple times within its validity period by exploiting this oversight.

CVSS Scores

version 3.1