Medium
CraftCMS Plugin - Two-Factor Authentication - TOTP Token Stays Valid After Use
Type: advisorySources: OSV
The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-5658
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 18:18 UTC · Revision 1
Source evidence
CraftCMS Plugin - Two-Factor Authentication - TOTP Token Stays Valid After Use
core-osv · Original sourcePublished 6 Jun 2024, 10:32 UTC
The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.
osv:CVE-2024-5658
Complete source record
{
"id": "8dc1c75506a020923d4d39b898ad593f4f3bd1afe91f3129c16fa08cd97534d6",
"url": "https://osv.dev/vulnerability/CVE-2024-5658",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CraftCMS Plugin - Two-Factor Authentication - TOTP Token Stays Valid After Use",
"summary": "The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.",
"evidence": "osv:CVE-2024-5658",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-5658",
"aliases": [
"CVE-2024-5658",
"GHSA-96qm-hwhp-2rm8"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/roelvanhintum/craft-twofactorauthentication",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "95af537ff3de0fe699d7f9a16a349fa870089387"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:born05:two-factor_authentication:*:*:*:*:*:craftcms:*:*",
"range": [
{
"introduced": "0"
},
{
"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",
"3.3.0",
"3.2.1",
"3.2.0",
"3.1.0",
"2.10.0",
"3.0.1",
"3.0.0",
"3.0.0-beta.1",
"2.9.0",
"2.8.1",
"2.8.0",
"2.7.4",
"2.7.3.1",
"2.7.3",
"2.7.2",
"2.7.1",
"2.7.0",
"2.7.0-beta.1",
"2.6.3",
"2.6.2",
"2.6.1",
"2.6.0",
"2.5.0",
"2.4.0",
"2.3.0",
"2.2.0",
"2.1.2",
"2.1.1",
"2.1.0",
"2.1.0-beta.2",
"2.1.0-beta.1",
"2.0.0",
"2.0.0-beta.14",
"2.0.0-beta.8",
"2.0.0-beta.13",
"2.0.0-beta.12",
"2.0.0-beta.11",
"2.0.0-beta.10",
"2.0.0-beta.9",
"2.0.0-beta.7",
"2.0.0-beta.6",
"2.0.0-beta.5",
"2.0.0-beta.4",
"2.0.0-beta.3",
"2.0.0-beta.2",
"2.0.0-beta.1",
"2.0.0-beta",
"1.2.0",
"1.1.0",
"1.0.1",
"1.0.0",
"0.0.6",
"0.0.5",
"0.0.4",
"0.0.3",
"0.0.2",
"0.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-5658.json"
}
}
],
"modified": "2026-10-28T02:30:38.502473694Z",
"provider": "osv",
"references": [
"https://plugins.craftcms.com/two-factor-authentication?craft4",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5658.json",
"https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4",
"https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-02_CraftCMS_Plugin_Two-Factor_Authentication_TOTP_Valid_After_Use",
"https://nvd.nist.gov/vuln/detail/CVE-2024-5658",
"https://github.com/born05/craft-twofactorauthentication"
],
"provider_metadata": {
"cwe_ids": [
"CWE-303"
],
"cna_assigner": "sba-research",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5658.json"
}
},
"related_cves": [
{
"value": "CVE-2024-5658",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505646,
"published_at": "2024-06-06T10:32:07.239+00:00"
}