SecurityContext

CVE-2024-5658: CraftCMS - Broken Authentication

  • Cve: CVE-2024-5658
  • Name: CraftCMS - Broken Authentication
  • Description: The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.
  • Impact: Attackers can reuse valid TOTP tokens multiple times, bypassing 2FA and gaining unauthorized access.
  • Remediation: Update to the latest version of the plugin where this issue is fixed or implement server-side token single-use enforcement.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: privilege_escalation
  • Requirement type: user_interaction
  • Requirements: Attacker needs to intercept or predict valid TOTP tokens
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.00588
  • Epss percentile: 0.49046
  • Assignee: 1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a
  • Published at: 2024-06-06T11:15:49Z
  • Age in days: 901
  • Modified at: 2026-06-17T08:16:22Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-5658
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-303Incorrect Implementation of Authentication Algorithm
CWE-287Improper Authentication

Public exploits

UrlSourceAdded date
http://www.openwall.com/lists/oss-security/2024/06/06/2nvd2024-06-06
https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-02_CraftCMS_Plugin_Two-Factor_Authentication_TOTP_Valid_After_Usenvd2024-06-06

References

Same in every row:

  • Source: nvd
UrlTags
http://www.openwall.com/lists/oss-security/2024/06/06/2Exploit, Mailing List, Third Party Advisory
https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-02_CraftCMS_Plugin_Two-Factor_Authentication_TOTP_Valid_After_UseExploit, Third Party Advisory
https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4Release Notes
https://plugins.craftcms.com/two-factor-authentication?craft4Product

Products

ProductAffectedPlatform boundSourcesUrl
born05:two-factor_authentication< 3.3.4nonvd/v1/products/born05/two-factor_authentication

Projects

RepositoryLink kindsIndexedUrl
born05/craft-twofactorauthenticationcommit, package, releasesyes/v1/repositories/born05/craft-twofactorauthentication

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2024-06-06
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts