Skip to main content
VulnerabilityPublished Updated

CVE-2023-6506: WP 2FA – Two-factor authentication for WordPress · Insecure Direct Object Reference

Affects WP 2FA – Two-factor authentication for WordPressSource CVE Database V5

0

Not known to be exploited · CVSS 4.3 Medium.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Jan 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
melapress WP 2FA – Two-factor authentication for WordPressAffected
  • *
Fixed in–

AI-suggested

To mitigate this vulnerability, European organizations should: 1) Immediately review and restrict subscriber-level permissions to minimize the risk of exploitation. 2) Monitor outgoing emails for unusual activity, especially those related to backup codes or authentication processes. 3) Temporarily disable the send_backup_codes_email functionality if feasible until an official patch is released. 4) Apply strict input validation and access control checks on user-controlled parameters within the plugin code, ensuring keys are verified against the authenticated user's identity. 5) Educate users and administrators about the potential for phishing attempts originating from compromised subscriber accounts. 6) Regularly update the WP 2FA plugin once a patch addressing CVE-2023-6506 is available. 7) Employ additional email security measures such as SPF, DKIM, and DMARC to reduce the impact of unauthorized emails. 8) Consider implementing web application firewalls (WAFs) with rules to detect and block suspicious requests targeting the vulnerable endpoint.

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.

References

Community reviews

Loading reviews…