Wordpress Gym Management SystemWordPress extension · Mojoomla

CVE-2024-9941

HIGH · 8.8 CVSS v3.1 Published 2024-11-23
Fix available
A fix is available. Upgrade to 67.2.0 or later.
See remediation →
94/100
Remediation priority · Urgent
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
The WPGYM - Wordpress Gym Management System plugin for WordPress is vulnerable to privilege escalation due to a missing capability check on the MJ_gmgt_add_staff_member() function in all versions up to, and including, 67.1.0. This makes it possible for authenticated attackers, with subscriber-level access and above, to create new user accounts with the administrator role.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The WPGYM WordPress plugin lacks a capability check on the MJ_gmgt_add_staff_member() function, allowing any authenticated user with subscriber-level access to create new administrator accounts. This is a classic privilege escalation vulnerability where the function processes role assignment without verifying the calling user's permissions.

MitigationUpdate the MJ_gmgt_add_staff_member() function to include a capability check (e.g., current_user_can('manage_options')) before allowing role assignment, particularly for administrative roles. Until a patch is available, disable the plugin or restrict user registration.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Wordpress Gym Management SystemWordPress extension
Affected:< 67.2.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify if the plugin is installed
    Check the WordPress plugins directory (wp-content/plugins/) for a folder named 'gym-management-system', 'wordpress-gym-management', or similar WPGYM/Mojoomla plugin folders
    Affected if The plugin folder exists in the plugins directory
  2. Check the installed plugin version
    Open the main plugin file (usually plugin.php or index.php in the plugin folder) and locate the 'Version' header in the plugin comment block, or check the version in the WordPress admin under Plugins > Installed Plugins
    Affected if The version number is lower than 67.2.0 (e.g., 67.1.0, 66.x.x, etc.)
  3. Locate the vulnerable function
    Search the plugin files for the function 'MJ_gmgt_add_staff_member' - typically found in files named staff.php, member.php, or functions.php within the plugin folder
    Affected if The function exists in the codebase
  4. Inspect capability checks on the function
    Open the file containing MJ_gmgt_add_staff_member and examine the function definition. Look for capability checks like 'current_user_can' at the beginning of the function
    Affected if No capability check (such as current_user_can('manage_options')) exists before the function logic executes user creation
  5. Review user accounts for privilege escalation
    In WordPress admin, go to Users > All Users and examine the list. Check for administrative accounts that were not created by known administrators, or query the wp_usermeta table for users with wp_capabilities showing 'administrator' that you do not recognize
    Affected if Unexpected administrator-level accounts exist that were not created through legitimate admin processes

If the WPGYM plugin version is below 67.2.0 AND the MJ_gmgt_add_staff_member function lacks capability checks AND unauthorized admin accounts exist, the environment is affected by this CVE.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 67.2.0 or later
Fixed in 67.2.0
Interim mitigation

Update the MJ_gmgt_add_staff_member() function to include a capability check (e.g., current_user_can('manage_options')) before allowing role assignment, particularly for administrative roles. Until a patch is available, disable the plugin or restrict user registration.

Recommended fix High confidence

67.2.0

  1. Log in to WordPress admin dashboard
  2. Navigate to Plugins > Installed Plugins
  3. Find 'WPGYM - Wordpress Gym Management System' plugin
  4. Click 'Update Now' to update to version 67.2.0 or higher
  5. Alternatively, upload the new plugin version via Plugins > Add New > Upload Plugin
  6. Verify the update was successful by checking the plugin version

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Wordpress Gym Management System Scoped from the published advisory
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing3.0 h
  • Review / QA2.0 h
9.0 hours of engineering $1,570
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,512.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-9941 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-9941 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data