CVE-2023-6520 WP 2FA – Two-factor authentication for WordPress <= 2.5.0 - Cross-Site Request Forgery
Unauthenticated attackers can send arbitrary emails to users via CSRF due to missing nonce validation in the WP 2FA plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-6520?
CVE-2023-6520 is a medium-severity vulnerability in melapress WP 2FA – Two-factor authentication for WordPress, published on 11 Jan 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The WP 2FA – Two-factor authentication for WordPress plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.5.0. This is due to missing or incorrect nonce validation on the send_backup_codes_email function. This makes it possible for unauthenticated attackers to send emails with arbitrary content to registered users via a forged request granted they can trick a site administrator or other registered user into performing an action such as clicking on a link. While a nonce check is present, it is only executed if a nonce is set. By omitting a nonce from the request, the check can be bypassed.
Weakness: CWE-352
Which versions are affected by CVE-2023-6520?
It affects 1 product.
Products include Melapress Wp 2fa.
How do I fix CVE-2023-6520?
No fix has been published for CVE-2023-6520 yet. Limit exposure of the affected software until one is available.
Is CVE-2023-6520 being exploited?
There is no known exploitation of CVE-2023-6520 in the wild and no public exploit code.
Other vulnerabilities in melapress WP 2FA – Two-factor authentication for WordPress
Sources
Also known as GHSA-r4h6-6pm7-9q3g.