Medium severity · published Jan 11, 2024
CVE-2023-6506
WP 2FA <= 2.5.0 - Insecure Direct Object Reference to Arbitrary Email Sending
4.3
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 40% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
W2
WP 2FA – Two-factor authentication for WordPress · melapress
through 2.5.0 · source: vendor
W2
WP 2fa · Wpwhitesecurity
through 2.5.0 · source: NVD
Affected product
W2
WP 2FA – Two-factor authentication for WordPress
melapress
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-6506
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-6506
Third Party Advisory
https://plugins.trac.wordpress.org/browser/wp-2fa/trunk/includes/classes/Admin/class-setup-wizard.php?rev=2940688#L606
Patch
https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3009922%40wp-2fa&new=3009922%40wp-2fa&sfp_email=&sfph_mail=
Product
https://www.wordfence.com/threat-intel/vulnerabilities/id/caff9be6-4161-47a0-ba47-6c8fc0c4ab40?source=cve
More from WP 2FA – Two-factor authentication for WordPress
4.3
CVE-2023-6520
WP 2FA – Two-factor authentication for WordPress <= 2.5.0 - Cross-Site Request Forgery
