CVE-2024-12821
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 Media Manager for UserPro plugin for WordPress is vulnerable to unauthorized modification of data that can lead to privilege escalation due to a missing capability check on the upm_upload_media() function in all versions up to, and including, 3.12.0. This makes it possible for authenticated attackers, with Subscriber-level access and above, to update arbitrary options on the WordPress site. This can be leveraged to update the default role for registration to administrator and enable user registration for attackers to gain administrative user access to a vulnerable site.
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 Media Manager for UserPro WordPress plugin has a broken access control vulnerability in the upm_upload_media() function. Authenticated users with Subscriber-level access can call this function without proper capability verification, allowing them to update arbitrary WordPress options. Attackers can modify the default_user_role option to Administrator and enable user_registration, then register an admin account.
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<= 3.12.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
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
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.
-
Confirm UserPro Media Manager plugin is installedIn WordPress admin, go to Plugins > Installed Plugins and look for 'UserProplugin Media Manager' or check the plugin files in /wp-content/plugins/ for a media-manager or userpro-related folder. Check the main plugin file header for the Version: X.X.X field.Affected if The installed version is 3.12.0 or lower, or if the version cannot be determined and the plugin is present.
-
Verify the upm_upload_media function existsSearch the plugin directory (via FTP or file manager) for the file containing 'function upm_upload_media'. Examine the function code to see if it performs any capability checks before updating options.Affected if The function exists and lacks a capability check like current_user_can('manage_options') before processing option updates.
-
Check if AJAX actions are exposed without authentication barriersSearch plugin files for 'add_action' or 'add_shortcode' registrations of 'upm_upload_media' or related AJAX endpoints. Look at wp-admin/admin-ajax.php?action=upm_... to see if the action is registered without a capability verification hook.Affected if The AJAX action is publicly accessible or accessible to Subscriber-level users without proper permission verification.
-
Inspect WordPress options that could be modifiedQuery the wp_options table (via phpMyAdmin or WP CLI: wp db query "SELECT * FROM wp_options WHERE option_name IN ('default_user_role', 'users_can_register', 'default_role')") to see current values.Affected if default_user_role is set to 'administrator' or 'editor', users_can_register is enabled, or default_role allows admin-level access when the plugin's upload function is reachable by low-privilege users.
You are affected if the UserPro Media Manager plugin version is 3.12.0 or lower AND the upm_upload_media function is accessible to Subscriber-level users without capability checks, allowing them to modify WordPress user registration options.
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 · scopedAdd proper capability checks (e.g., current_user_can('manage_options')) to the upm_upload_media() function and validate all user inputs before updating options. Update to version 3.12.1 or later if available.
Latest version available from vendor (version higher than 3.12.0)
- Log in to the WordPress admin dashboard
- Navigate to Plugins > Installed Plugins
- Locate the Media Manager for UserPro plugin
- Check if an update is available and update to the latest version
- Alternatively, download the latest version from the vendor (codecanyon.net) and upload it via Plugins > Add New > Upload Plugin
- After updating, verify the site still functions correctly
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation2.0 h
- Testing4.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 $3,072.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-12821 — 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-12821 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