CVE-2024-9941
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 · uneditedThe 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 confidenceThe 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.
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< 67.2.0CVSS 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 checksWork through these to decide whether this CVE applies to you.
-
Identify if the plugin is installedCheck the WordPress plugins directory (wp-content/plugins/) for a folder named 'gym-management-system', 'wordpress-gym-management', or similar WPGYM/Mojoomla plugin foldersAffected if The plugin folder exists in the plugins directory
-
Check the installed plugin versionOpen 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 PluginsAffected if The version number is lower than 67.2.0 (e.g., 67.1.0, 66.x.x, etc.)
-
Locate the vulnerable functionSearch 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 folderAffected if The function exists in the codebase
-
Inspect capability checks on the functionOpen 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 functionAffected if No capability check (such as current_user_can('manage_options')) exists before the function logic executes user creation
-
Review user accounts for privilege escalationIn 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 recognizeAffected 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.
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 · scoped67.2.0
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.
67.2.0
- Log in to WordPress admin dashboard
- Navigate to Plugins > Installed Plugins
- Find 'WPGYM - Wordpress Gym Management System' plugin
- Click 'Update Now' to update to version 67.2.0 or higher
- Alternatively, upload the new plugin version via Plugins > Add New > Upload Plugin
- Verify the update was successful by checking the plugin version
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing3.0 h
- Review / QA2.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-9941 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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