WP 2FA <= 2.5.0 - Insecure Direct Object Reference to Arbitrary Email Sending

Authorization Bypass Through User-Controlled Key
CVE CVE-2023-6506
CVSS Medium (4.3)
Publicly Published January 2, 2024
Last Updated July 29, 2024
Researcher Ulyses Saicha
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

1 affected software package

Software Type Plugin
Software Slug wp-2fa (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 2.5.0
Patched Version
  • 2.6.0
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.