CVE-2024-1792
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 CMB2 plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 2.10.1 via deserialization of untrusted input from the text_datetime_timestamp_timezone field. This makes it possible for authenticated attackers, with contributor access or higher, to inject a PHP Object. No POP chain is present in the vulnerable plugin. If a POP chain is present via an additional plugin or theme installed on the target system, it could allow the attacker to delete arbitrary files, retrieve sensitive data, or execute code. Please note that the plugin is a developer toolkit. For the vulnerability to become exploitable, the presence of a metabox activation in your code (via functions.php for example) is required.
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 CMB2 WordPress plugin is vulnerable to PHP Object Injection via deserialization of untrusted input in the text_datetime_timestamp_timezone field. Authenticated attackers with contributor-level access or higher can inject arbitrary PHP objects. Since no POP chain exists within the plugin itself, exploitation requires either a vulnerable unserialize() call elsewhere or an additional plugin/theme providing a POP chain to achieve code execution.
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
- High
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/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.
-
Verify CMB2 plugin is installedIn WordPress admin, go to Plugins > Installed Plugins and look for 'CMB2'. Note the installed version number.Affected if CMB2 is installed and the version is below 2.10.2 (the fixed version)
-
Locate CMB2 metabox definitionsSearch your theme's functions.php file and any custom plugin files for 'new_cmb2_box' or 'CMB2::new_from_defaults' calls that define metaboxes.Affected if CMB2 metaboxes are defined in the codebase
-
Identify vulnerable field type usageWithin the metabox field arrays found, search for 'text_datetime_timestamp_timezone' as a 'type' value. Example: array('name' => 'Date', 'id' => 'my_date', 'type' => 'text_datetime_timestamp_timezone')Affected if The text_datetime_timestamp_timezone field type is actively used in any metabox configuration
-
Check for unserialize() calls in other pluginsReview all active plugins and the theme for direct calls to unserialize() on user-controlled data, particularly $_GET, $_POST, or metabox field values.Affected if A separate plugin or theme contains an unserialize() call that processes input from authenticated users
-
Audit for POP chain gadgetsExamine installed plugins and themes for classes with magic methods (__wakeup, __destruct, __toString, __call) that could be chained with the PHP Object Injection to achieve code execution.Affected if Any installed plugin or theme provides a POP chain that can be triggered via the injected PHP object
You are affected if CMB2 with version below 2.10.2 is installed AND the text_datetime_timestamp_timezone field type is in use AND either an external unserialize() vulnerability or a POP chain exists in other plugins/themes.
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 CMB2 to version 2.10.2 or later. Additionally, audit installed plugins and themes for POP chains, and review all CMB2 metabox activations in functions.php to determine if the vulnerable field type is in use.
CMB2 version 2.10.2 or later (latest stable release)
- Navigate to the WordPress admin dashboard
- Go to Plugins > Installed Plugins
- Find CMB2 in the plugin list
- Check if the current version is 2.10.1 or earlier
- If vulnerable, click 'Update Now' to update to the latest version
- Alternatively, download the latest version from wordpress.org/plugins/cmb2/ and upload via Plugins > Add New > Upload Plugin
- Verify the update was successful by checking the plugin version after updating
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.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,832.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-1792 — 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-1792 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