CVE-2024-12922
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 Altair theme for WordPress is vulnerable to unauthorized modification of data that can lead to privilege escalation due to a missing capability check within functions.php in all versions up to, and including, 5.2.4. This makes it possible for unauthenticated attackers 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 Altair WordPress theme lacks proper capability checks in functions.php, enabling unauthenticated attackers to modify arbitrary WordPress site options. Attackers can enable user registration and set the default registration role to administrator, then create admin-level accounts to fully compromise the site.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
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
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/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.
-
Verify Altair theme is installedCheck wp-content/themes/ directory for the altair folder. If the folder exists, the theme is installed.Affected if Altair theme folder exists in wp-content/themes/
-
Check Altair theme versionOpen wp-content/themes/altair/style.css and look for the 'Version:' header in the comment block at the top. Compare this version to 5.2.5.Affected if Version is below 5.2.5 or the Version header is missing entirely
-
Inspect functions.php for vulnerable code patternsOpen wp-content/themes/altair/functions.php and search for code that modifies WordPress options, particularly 'users_can_register', 'default_role', or functions that handle user registration without checking user capabilities.Affected if Code exists that modifies registration settings without using current_user_can() or check_admin_referer() validation
-
Check if user registration is enabledIn WordPress admin, go to Settings > General > Membership: 'Anyone can register' checkbox. Alternatively, query the database: SELECT option_value FROM wp_options WHERE option_name = 'users_can_register';Affected if users_can_register option is set to 1 (true)
-
Verify default registration roleIn WordPress admin, go to Settings > General > 'Default Role' dropdown. Alternatively, query: SELECT option_value FROM wp_options WHERE option_name = 'default_role';Affected if default_role is set to 'administrator' and was not intentionally set by an admin
-
Audit administrator accounts for unauthorized usersQuery user table: SELECT * FROM wp_users WHERE ID > 1; Also check wp_usermeta for administrator role: SELECT user_id FROM wp_usermeta WHERE meta_key = 'wp_capabilities' AND meta_value LIKE '%administrator%'; Review account creation dates.Affected if New administrator accounts exist that were not created by known site administrators
A site is affected if the Altair theme version is below 5.2.5, the vulnerable registration-modifying code exists in functions.php, and unauthorized administrator accounts are present or user registration settings have been changed without admin action.
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 · scopedUpdate Altair theme to version 5.2.5 or later which includes the missing capability check. If an update is unavailable, remove or replace the theme immediately.
Altair theme version 5.2.5 or latest available version
- Check the current Altair theme version in WordPress admin under Appearance > Themes
- If the installed version is 5.2.4 or lower, update to the latest available version of the Altair theme
- Navigate to WordPress Dashboard > Updates and click 'Update Now' for the Altair theme, or re-download the theme from the original source and upload it
- After updating, verify the version number reflects the new version
- Confirm the vulnerability is remediated by ensuring unauthenticated users can no longer modify WordPress options (particularly the default_role and users_can_register options)
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-12922 — 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-12922 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