CVE-2024-5658
Status: ModifiedMedium (6.5)—
The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period.
CVSS
- Version: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Base score: 6.5
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 0.59%
- Percentile among all scored CVEs: 46
- Score date: 10/4/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
Affected technologies (1)
CWEs
- CWE-303
- CWE-287
References
- http://www.openwall.com/lists/oss-security/2024/06/06/2
- 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://plugins.craftcms.com/two-factor-authentication?craft4
- http://www.openwall.com/lists/oss-security/2024/06/06/2
- 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://plugins.craftcms.com/two-factor-authentication?craft4
Raw JSON (NVD)
Show
{
"id": "CVE-2024-5658",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2024-5658",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-06-06T13:23:29.089917Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 4.8,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N",
"integrityImpact": "HIGH",
"userInteraction": "REQUIRED",
"attackComplexity": "HIGH",
"availabilityImpact": "NONE",
"privilegesRequired": "LOW",
"confidentialityImpact": "NONE"
},
"impactScore": 3.6,
"exploitabilityScore": 1.2
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 6.5,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "LOW",
"confidentialityImpact": "NONE"
},
"impactScore": 3.6,
"exploitabilityScore": 2.8
}
]
},
"affected": [
{
"source": "1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a",
"affectedData": [
{
"repo": "https://github.com/born05/craft-twofactorauthentication",
"vendor": "Born05",
"product": "CraftCMS Plugin - Two-Factor Authentication",
"versions": [
{
"status": "affected",
"version": "0",
"versionType": "custom",
"lessThanOrEqual": "3.3.3"
}
],
"defaultStatus": "unaffected"
}
]
},
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"affectedData": [
{
"cpes": [
"cpe:2.3:a:born05:craft_cms:*:*:*:*:*:*:*:*"
],
"vendor": "born05",
"product": "craft_cms",
"versions": [
{
"status": "affected",
"version": "0",
"versionType": "custom",
"lessThanOrEqual": "3.3.3"
}
],
"defaultStatus": "unknown"
}
]
}
],
"published": "2024-06-06T11:15:49.573",
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2024/06/06/2",
"tags": [
"Exploit",
"Mailing List",
"Third Party Advisory"
],
"source": "1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a"
},
{
"url": "https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4",
"tags": [
"Release Notes"
],
"source": "1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a"
},
{
"url": "https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-02_CraftCMS_Plugin_Two-Factor_Authentication_TOTP_Valid_After_Use",
"tags": [
"Exploit",
"Third Party Advisory"
],
"source": "1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a"
},
{
"url": "https://plugins.craftcms.com/two-factor-authentication?craft4",
"tags": [
"Product"
],
"source": "1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a"
},
{
"url": "http://www.openwall.com/lists/oss-security/2024/06/06/2",
"tags": [
"Exploit",
"Mailing List",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/born05/craft-twofactorauthentication/releases/tag/3.3.4",
"tags": [
"Release Notes"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20240202-02_CraftCMS_Plugin_Two-Factor_Authentication_TOTP_Valid_After_Use",
"tags": [
"Exploit",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://plugins.craftcms.com/two-factor-authentication?craft4",
"tags": [
"Product"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Secondary",
"source": "1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a",
"description": [
{
"lang": "en",
"value": "CWE-303"
}
]
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-287"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "The CraftCMS plugin Two-Factor Authentication through 3.3.3 allows reuse of TOTP tokens multiple times within the validity period."
},
{
"lang": "es",
"value": "El complemento CraftCMS Autenticación de dos factores hasta 3.3.3 permite la reutilización de tokens TOTP varias veces dentro del período de validez."
}
],
"lastModified": "2026-06-17T08:16:22.663",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:born05:two-factor_authentication:*:*:*:*:*:craftcms:*:*",
"vulnerable": true,
"matchCriteriaId": "227A8A20-30C6-44FE-ABBF-D07DAF071D0B",
"versionEndExcluding": "3.3.4"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "1e3a9e0f-5156-4bf8-b8a3-cc311bfc0f4a"
}