Low
CraftCMS Plugin - Two-Factor Authentication - Password Hash Disclosure
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-5657
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 22:16 UTC · Revision 1
Source evidence
CraftCMS Plugin - Two-Factor Authentication - Password Hash Disclosure
core-osv · Original sourcePublished 6 Jun 2024, 10:29 UTC
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.
osv:CVE-2024-5657
Complete source record
{
"id": "ca6b42362c25310242cc3a60c8999524bec7c81b28504148821561de4711c872",
"url": "https://osv.dev/vulnerability/CVE-2024-5657",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CraftCMS Plugin - Two-Factor Authentication - Password Hash Disclosure",
"summary": "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.",
"evidence": "osv:CVE-2024-5657",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2024-5657",
"aliases": [
"CVE-2024-5657",
"GHSA-3p4x-grpm-xw58"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/roelvanhintum/craft-twofactorauthentication",
"type": "GIT",
"events": [
{
"introduced": "c7c99b8ae94e5cdf73339304e1970d2e3965cd17"
},
{
"fixed": "95af537ff3de0fe699d7f9a16a349fa870089387"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:born05:two-factor_authentication:*:*:*:*:*:craftcms:*:*",
"range": [
{
"introduced": "3.3.1"
},
{
"fixed": "3.3.4"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "95af537ff3de0fe699d7f9a16a349fa870089387"
}
],
"source": "REFERENCES_TAG",
"original_tag": "3.3.4"
}
]
}
}
],
"versions": [
"3.3.3",
"3.3.2",
"3.3.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-5657.json"
}
}
],
"modified": "2026-10-28T02:30:40.109664322Z",
"provider": "osv",
"references": [
"https://plugins.craftcms.com/two-factor-authentication?craft4",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5657.json",
"https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4",
"https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-01_CraftCMS_Plugin_Two-Factor_Authentication_Password_Hash_Disclosure",
"https://nvd.nist.gov/vuln/detail/CVE-2024-5657",
"https://github.com/born05/craft-twofactorauthentication"
],
"provider_metadata": {
"cwe_ids": [
"CWE-499"
],
"cna_assigner": "sba-research",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5657.json"
}
},
"related_cves": [
{
"value": "CVE-2024-5657",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 507526,
"published_at": "2024-06-06T10:29:40.393+00:00"
}