Vulnerability · Published Jan 11, 2024 · Assigned by Wordfence
CVE-2023-6506WP 2FA <= 2.5.0 - Insecure Direct Object Reference to Arbitrary Email Sending
Medium 4.3
In plain English
A medium-severity authorization bypass via user-controlled key in WP 2FA – Two-factor authentication for WordPress from melapress. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| melapress | WP 2FA – Two-factor authentication for WordPress | 0 – through 2.5.0 |
Weakness: CWE-639, CWE-732 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/caff9be6-4161-47a0-ba47-6c8fc0c4ab40?source=cve
- https://plugins.trac.wordpress.org/browser/wp-2fa/trunk/includes/classes/Admin/class-setup-wizard.php?rev=2940688#L606
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3009922%40wp-2fa&new=3009922%40wp-2fa&sfp_email=&sfph_mail=