CVE-2022-4939CWE-862

WCFM Membership <= 2.10.0 - Unauthenticated Privilege Escalation

Critical · published April 5, 2023

CVSS v3.1
9.8
EPSS
2%
Percentile
81.5
In the wild
Unconfirmed
What it is

🚨 A missing capability check in the WCFM Membership plugin for WordPress lets attackers masquerade as administrators — no password needed! 🔥 Think of it like a restaurant where anyone can walk in, grab a staff uniform from the lost and found, and start serving customers as if they were the manager. It’s a recipe for chaos! An attacker could waltz in and change membership roles at will, potentially granting themselves admin privileges. Imagine a hacker setting up shop as an administrator, with all the power to modify user settings, access sensitive data, or even delete accounts — it could lead to absolute mayhem!

Put simply

Think of it like a restaurant where anyone can walk in, grab a staff uniform from the lost and found, and start serving customers as if they were the manager. It’s a recipe for chaos! The flaw lies in the lack of a capability check on the wp_ajax_nopriv_wcfm_ajax_controller AJAX action, allowing unauthenticated users to alter the membership registration form and assign roles indiscriminately.

What to do

An attacker could waltz in and change membership roles at will, potentially granting themselves admin privileges. Imagine a hacker setting up shop as an administrator, with all the power to modify user settings, access sensitive data, or even delete accounts — it could lead to absolute mayhem! Update the WCFM Membership plugin to version 2.10.1 or later immediately to fix this vulnerability. Additionally, review and restrict user permissions to mitigate the risk of unauthorized access. Don't forget to monitor for any suspicious activities! You've got this! Take these steps, and you’ll have your site secured in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02099 · 81.5th percentile
Weakness
CWE-862 · Missing Authorization
Published
2023-04-05T18:00Z
EPSS history
Timeline
  • 05 APR 18:00Z
    WCFM Membership <= 2.10.0 - Unauthenticated Privilege Escalation
    cvelistv5