LiveActive security incident?Get immediate response
CVE Record

CVE-2023-6506: WP 2FA <= 2.5.0 - Insecure Direct Object Reference to Arbitrary Email Sending

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.

MediumCVSS 4.3Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

A logged-in low-privilege WordPress user could make the WP 2FA plugin email backup-code messages to other users on the same site. This is not reported as data theft or full account takeover in the sources, but it can create trust abuse, confusion, and operational noise.

Executive priority

Treat this as a moderate hygiene fix for WordPress estates. It is not evidenced as actively exploited, but it affects an authentication plugin and can undermine user trust if left unresolved.

Technical view

WP 2FA for WordPress versions up to and including 2.5.0 had an IDOR in send_backup_codes_email. Missing validation on a user-controlled key let subscriber-level attackers trigger emails to arbitrary site users. CVSS is 4.3 with low integrity impact and no confidentiality or availability impact listed.

Likely exposure

Exposure is limited to WordPress sites running WP 2FA versions up to and including 2.5.0, where untrusted subscriber-level users can authenticate.

Exploitation context

The CVE is not in CISA KEV, and the supplied sources do not report active exploitation. Abuse requires a logged-in subscriber-level account and affects email sending behavior, not direct server compromise.

Researcher notes

The evidence supports an authenticated IDOR leading to arbitrary email sending within the site user base. Sources do not establish credential disclosure, account takeover, unauthenticated exploitation, or weaponized public exploitation. Validate against plugin version and the WordPress Trac changeset.

Mitigation direction

  • Inventory WordPress sites using the WP 2FA plugin.
  • Confirm whether installed versions are 2.5.0 or earlier.
  • Update WP 2FA according to vendor or WordPress plugin guidance.
  • Review whether public user registration grants subscriber accounts.
  • Monitor user reports of unexpected WP 2FA backup-code emails.

Validation and detection

  • Check plugin version across production and staging WordPress sites.
  • Review user roles for untrusted subscriber-level accounts.
  • Confirm the deployed code includes the referenced validation change.
  • Search mail logs for unusual WP 2FA backup-code email volume.
  • Document findings and remediation status in vulnerability tracking.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-639: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · medium confidence lookup

CWE-732: Authorization and privilege behavior lookup

Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2023-6506 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
4.3 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
4.3CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N2.81.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

4.3Medium
CVSS 3.1 vector shape for CVE-2023-6506Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
melapressWP 2FA – Two-factor authentication for WordPress0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-639 · source CWE mapping

Authorization Bypass Through User-Controlled Key

Authorization Bypass Through User-Controlled Key represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-732 · source CWE mapping

Incorrect Permission Assignment for Critical Resource

Incorrect Permission Assignment for Critical Resource represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.