CVE-2023-6506
published medium CVSS 3.1 · 4.3WP 2FA <= 2.5.0 - Insecure Direct Object Reference to Arbitrary Email Sending
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| melapress | — | WP 2FA – Two-factor authentication for WordPress0 through 2.5.0 · Other versions: unaffected | Affected | Not stated | Wordfence |
Description
The WP 2FA – Two-factor authentication for WordPress plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 2.5.0 via the send_backup_codes_email due to missing validation on a user controlled key. This makes it possible for subscriber-level attackers to email arbitrary users on the site.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| melapress | WP 2FA – Two-factor authentication for WordPress | 0 through 2.5.0 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
2- CWE-639 CWE-639 Authorization Bypass Through User-Controlled Key
- CWE-732 CWE-732 Incorrect Permission Assignment for Critical Resource
References
3- https://plugins.trac.wordpress.org/browser/wp-2fa/trunk/includes/classes/Admin/class-setup-wizard.php?rev=2940688#L606
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3009922%40wp-2fa&new=3009922%40wp-2fa&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/caff9be6-4161-47a0-ba47-6c8fc0c4ab40?source=cve
Provider assertions
3Wordfence · cna
WP 2FA <= 2.5.0 - Insecure Direct Object Reference to Arbitrary Email Sending
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 519d878fa1239cf2cdc1df369d2924c6388b51f360ae7f7970a9b9c885f7a77c
- Ingested
- 23 Sep 2026, 08:15:42 UTC
- Source record
- Official CVE record