Every CVE Search/ Get API key

CVE-2024-5658

CraftCMS Plugin - Two-Factor Authentication - TOTP Token Stays Valid After Use

4.8 MediumFix available

The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

0.59%Up 0.5 points since Jun 7, 2024
90%50%10%1%

What each source reports

CVE List Score used 4.8

CraftCMS Plugin - Two-Factor Authentication - TOTP Token Stays Valid After Use

The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.

Record
CVE-2024-5658
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-303
Updated
2026-11-02
EUVDEUVD-2024-1994 4.8

The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.

Record
EUVD-2024-1994
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-96qm-hwhp-2rm8 4.8

Improper Authentication in CraftCMS two factor authentication plugin

The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.

Record
GHSA-96qm-hwhp-2rm8
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-287
Updated
2026-11-02
NVD 4.8

The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.

Record
CVE-2024-5658
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-303, CWE-287
Updated
2026-11-02
OSV 4.8

CraftCMS Plugin - Two-Factor Authentication - TOTP Token Stays Valid After Use

The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.

Record
CVE-2024-5658
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-303
Updated
2026-11-02
OSVGHSA-96qm-hwhp-2rm8 4.8

Improper Authentication in CraftCMS two factor authentication plugin

The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.

Record
GHSA-96qm-hwhp-2rm8
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-287
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
born05/craft-twofactorauthentication
Packagist
before 3.3.4
3.3.4
born05/craft-twofactorauthentication
Packagist
before 3.3.4, plus listed versions
0.0.10.0.20.0.30.0.40.0.5
Show 45 moreShow less
0.0.61.0.01.0.11.1.02.0.02.0.0-beta2.0.0-beta.12.0.0-beta.102.0.0-beta.112.0.0-beta.122.0.0-beta.132.0.0-beta.142.0.0-beta.22.0.0-beta.32.0.0-beta.42.0.0-beta.52.0.0-beta.62.0.0-beta.72.0.0-beta.82.0.0-beta.92.0.12.1.02.1.0-beta.12.1.0-beta.22.1.12.1.22.10.02.10.12.11.02.11.12.2.02.3.02.4.02.5.02.6.02.6.12.6.22.6.32.7.02.7.0-beta.12.7.12.7.22.7.32.7.3.12.7.4
3.3.4

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-5658 is a medium vulnerability (CVSS 4.8) in Born05 Craftcms Plugin - Two-factor Authentication, published June 6, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.59%, the 48th percentile. Fixed in born05/craft-twofactorauthentication 3.3.4.

References

This page doesn't list everything

Left out here: 13 versions. The JSON record has them.

MoveEnter Open