Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. born05/craft-twofactorauthentication
  4. ›
  5. CVE-2024-5657

CVE-2024-5657: Password hash exposed in CraftCMS two factor authentication plugin

June 6, 2024

The CraftCMS plugin Two-Factor Authentication in versions 3.3.1, 3.3.2 and 3.3.3 discloses the password hash of the currently authenticated user after submitting a valid TOTP.

References

  • github.com/advisories/GHSA-3p4x-grpm-xw58
  • github.com/born05/craft-twofactorauthentication
  • github.com/born05/craft-twofactorauthentication/commit/eb93bcb73037171dae8ca5cfa4c20e7e5748b73a
  • github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4
  • github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-01_CraftCMS_Plugin_Two-Factor_Authentication_Password_Hash_Disclosure
  • nvd.nist.gov/vuln/detail/CVE-2024-5657
  • plugins.craftcms.com/two-factor-authentication?craft4

Code Behaviors & Features

Detect and mitigate CVE-2024-5657 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.3.1 before 3.3.4

Fixed versions

  • 3.3.4

Solution

Upgrade to version 3.3.4 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-522: Insufficiently Protected Credentials

Source file

packagist/born05/craft-twofactorauthentication/CVE-2024-5657.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:27 +0000.