CVE-2023-6506 WP 2FA <= 2.5.0 - Insecure Direct Object Reference to Arbitrary Email Sending

Medium 4.3 Published Updated

Subscribers can send arbitrary emails to any user via insecure direct object reference in the WP 2FA plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-6506?

CVE-2023-6506 is a medium-severity missing authorization vulnerability in melapress WP 2FA – Two-factor authentication for WordPress, published on 11 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim.

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.

Weakness: CWE-732, CWE-639

Which versions are affected by CVE-2023-6506?

It affects 1 product.

Products include Wpwhitesecurity Wp 2fa.

How do I fix CVE-2023-6506?

No fix has been published for CVE-2023-6506 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2023-6506 being exploited?

There is no known exploitation of CVE-2023-6506 in the wild and no public exploit code.

Sources

Also known as GHSA-5pwx-2rrr-xcvm.

Is CVE-2023-6506 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free