{"id":"CVE-2023-6506","aliases":["CVE-2023-6506"],"related":[],"kind":"vulnerability","state":"published","title":"WP 2FA <= 2.5.0 - Insecure Direct Object Reference to Arbitrary Email Sending","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El complemento WP 2FA – Two-factor authentication for WordPress para WordPress es vulnerable a la referencia directa a objetos inseguros en todas las versiones hasta la 2.5.0 incluida a través de send_backup_codes_email debido a la falta de validación en una clave controlada por el usuario. Esto hace posible que los atacantes a nivel de suscriptor envíen correos electrónicos a usuarios arbitrarios en el sitio.","source":"nvd"}],"published":"2024-01-11T06:49:33.842Z","modified":"2026-06-17T06:50:52.920Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-639","CWE-732"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.5.0","status":"affected"}],"vendor":"melapress","product":"WP 2FA – Two-factor authentication for WordPress","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.5.0"}],"vendor":"wpwhitesecurity","product":"wp_2fa","cpe":"cpe:2.3:a:wpwhitesecurity:wp_2fa:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/caff9be6-4161-47a0-ba47-6c8fc0c4ab40?source=cve","tags":["product","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wp-2fa/trunk/includes/classes/Admin/class-setup-wizard.php?rev=2940688#L606","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3009922%40wp-2fa&new=3009922%40wp-2fa&sfp_email=&sfph_mail=","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Ulyses Saicha"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-05-08T15:56:04.613Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-6506","url":"https://www.cve.org/CVERecord?id=CVE-2023-6506","licence":"CVE Terms of Use","modified":"2026-04-08T17:23:23.356Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-6506","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6506","licence":"Public domain","modified":"2026-06-17T06:50:52.920Z"}],"updatedAt":"2026-11-25T22:58:32.052Z","epss":{"score":0.00467,"percentile":0.42069,"date":"2026-12-02T12:00:21.000Z"}}