CVE-2022-4939 WCFM Membership <= 2.10.0 - Unauthenticated Privilege Escalation

Critical 9.8 Published Updated

Unauthenticated attackers can escalate privileges to administrator by modifying membership registration settings due to missing capability checks.

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

What is CVE-2022-4939?

CVE-2022-4939 is a critical missing authorization vulnerability in wclovers WCFM Membership – WooCommerce Memberships for Multivendor Marketplace, published on 5 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

THe WCFM Membership plugin for WordPress is vulnerable to privilege escalation in versions up to, and including 2.10.0, due to a missing capability check on the wp_ajax_nopriv_wcfm_ajax_controller AJAX action that controls membership settings. This makes it possible for unauthenticated attackers to modify the membership registration form in a way that allows them to set the role for registration to that of any user including administrators. Once configured, the attacker can then register as an administrator.

Weakness: CWE-862

Which versions are affected by CVE-2022-4939?

It affects 1 product.

Products include Wclovers Wcfm Membership.

How do I fix CVE-2022-4939?

No fix has been published for CVE-2022-4939 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-2022-4939 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-qxmh-28j4-pv6f.

Is CVE-2022-4939 in your software?

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

Check your SBOMs for free