{"id":"CVE-2023-6506","aliases":["EUVD-2023-58737","GHSA-5pwx-2rrr-xcvm"],"status":"published","title":"WP 2FA \u003c= 2.5.0 - Insecure Direct Object Reference to Arbitrary Email Sending","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.","severity":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00467,"percentile":0.4068,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-639","CWE-732"],"published":"2024-01-11T06:49:33Z","modified":"2026-06-17T06:50:52Z","products":[{"vendor":"melapress","product":"wp 2fa – two-factor authentication for wordpress"},{"vendor":"wpwhitesecurity","product":"wp_2fa"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/caff9be6-4161-47a0-ba47-6c8fc0c4ab40?source=cve","tags":["x_transferred","Product","Third Party Advisory"]},{"url":"https://plugins.trac.wordpress.org/browser/wp-2fa/trunk/includes/classes/Admin/class-setup-wizard.php?rev=2940688#L606","tags":["x_transferred","Third Party Advisory"]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=\u0026sfph_mail=\u0026reponame=\u0026old=3009922%40wp-2fa\u0026new=3009922%40wp-2fa\u0026sfp_email=\u0026sfph_mail=","tags":["x_transferred","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6506"},{"url":"https://github.com/advisories/GHSA-5pwx-2rrr-xcvm"}],"sources":{"cve":[{"id":"CVE-2023-6506","title":"WP 2FA \u003c= 2.5.0 - Insecure Direct Object Reference to Arbitrary Email Sending","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.","status":"published","published":"2024-01-11T06:49:33.842Z","modified":"2026-04-08T17:23:23.356Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-639","CWE-732"],"updated_at":"2026-11-02T14:35:25.095989Z"}],"euvd":[{"id":"EUVD-2023-58737","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.","status":"published","published":"2024-01-11T06:49:33Z","modified":"2026-04-08T17:23:23Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T19:24:40.44402Z"}],"ghsa":[{"id":"GHSA-5pwx-2rrr-xcvm","title":"The WP 2FA – Two-factor authentication for WordPress plugin for WordPress is vulnerable to...","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.","status":"published","published":"2024-01-11T09:30:34Z","modified":"2026-04-08T21:33:12Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-639","CWE-732"],"updated_at":"2026-11-02T15:07:21.520973Z"}],"nvd":[{"id":"CVE-2023-6506","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.","status":"published","published":"2024-01-11T07:15:08.81Z","modified":"2026-06-17T06:50:52.92Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-639","CWE-732"],"updated_at":"2026-11-02T14:09:00.788714Z"}]}}
