CVE-2023-6520: WP 2FA – Two-factor authentication for WordPress <= 2.5.0 - Cross-Site Request Forgery

Published Jan 11, 2024
·
Updated

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 sendbackupcodesemail 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.

Affected Software

1 affected component
Melapress Wp 2fa Wordpress<2.6.0

Event History

Jan 11, 2024
CVE Published
via MITRE·06:49 AM
Data Sourced
via MITRE·06:49 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-6520?

CVE-2023-6520 is classified as a moderate severity vulnerability due to its potential for Cross-Site Request Forgery.

2

How do I fix CVE-2023-6520?

To fix CVE-2023-6520, update the WP 2FA plugin to version 2.6.0 or later.

3

What versions are affected by CVE-2023-6520?

CVE-2023-6520 affects all versions of the WP 2FA plugin up to and including 2.5.0.

4

What does the CVE-2023-6520 vulnerability allow?

CVE-2023-6520 allows for unauthenticated users to potentially exploit the system through Cross-Site Request Forgery.

5

Is CVE-2023-6520 related to nonce validation?

Yes, CVE-2023-6520 is caused by missing or incorrect nonce validation in the send_backup_codes_email function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203