LiveActive security incident?Get immediate response
CVE Record

CVE-2023-6520: WP 2FA – Two-factor authentication for WordPress <= 2.5.0 - Cross-Site Request Forgery

The WP 2FA – Two-factor authentication for WordPress plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.5.0. This is due to missing or incorrect nonce validation on the send_backup_codes_email function. This makes it possible for unauthenticated attackers to send emails with arbitrary content to registered users via a forged request granted they can trick a site administrator or other registered user into performing an action such as clicking on a link. While a nonce check is present, it is only executed if a nonce is set. By omitting a nonce from the request, the check can be bypassed.

MediumCVSS 4.3Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2023-6520 affects the WP 2FA WordPress plugin through version 2.5.0. A missing or bypassable nonce check lets an outside attacker abuse a forged request to send arbitrary-content emails to registered users, if they trick a logged-in administrator or user into taking an action such as clicking a link.

Executive priority

Treat as a routine but time-bounded WordPress plugin update. The business risk is mainly trust erosion and targeted phishing-style abuse through site-generated email, not system compromise. Prioritize internet-facing WordPress sites and administrator awareness until patched.

Technical view

The vulnerable send_backup_codes_email function performs nonce validation only when a nonce is present. Omitting the nonce can bypass the check, creating a CSRF issue. The CVSS 3.1 score is 4.3, with network attack vector, low complexity, no privileges, required user interaction, and low integrity impact.

Likely exposure

Exposure is limited to WordPress sites running WP 2FA - Two-factor authentication for WordPress version 2.5.0 or older. Sites without this plugin, or running a vendor-confirmed fixed version, are not indicated as affected by the provided sources.

Exploitation context

The source bundle does not show CISA KEV listing or other evidence of active exploitation. Abuse requires social engineering a logged-in administrator or registered user into triggering a forged request. The documented impact is unauthorized email sending to registered users, not account takeover or code execution.

Researcher notes

The key implementation detail is conditional nonce enforcement: validation occurs only if a nonce is set. The provided references identify the vulnerable function and a WordPress Trac changeset, but the bundle does not explicitly name a fixed release version or prove exploitation in the wild.

Mitigation direction

  • Identify all WordPress sites using the WP 2FA plugin.
  • Upgrade WP 2FA from version 2.5.0 or older according to vendor guidance.
  • Review vendor changelog or WordPress Trac changeset for the nonce validation fix.
  • Warn administrators against clicking unexpected WP 2FA-related links while remediation is pending.

Validation and detection

  • Confirm installed WP 2FA versions across production and staging WordPress sites.
  • Verify send_backup_codes_email rejects requests without a valid nonce.
  • Review mail logs for unexpected backup-code emails or unusual registered-user email bursts.
  • Check whether the site is running a vendor-confirmed release newer than the affected range.
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 · medium confidence lookup

CWE-352: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. 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-6520 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:N/UI:R/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:N/UI:R/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-6520Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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-352 · source CWE mapping

Cross-Site Request Forgery (CSRF)

Cross-Site Request Forgery (CSRF) represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.