CVE-2024-1792 CMB2 <= 2.10.1 - Authenticated (Contributor+) PHP Object Injection

High 7.5 Published Updated

Authenticated contributors can exploit PHP object injection in CMB2 to potentially execute code or access data if a POP chain exists.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-1792?

CVE-2024-1792 is a high-severity unsafe deserialization vulnerability in jtsternberg CMB2, published on 9 Apr 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The 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.

Weakness: CWE-502

Which versions are affected by CVE-2024-1792?

How do I fix CVE-2024-1792?

No fix has been published for CVE-2024-1792 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2024-1792 being exploited?

There is no known exploitation of CVE-2024-1792 in the wild and no public exploit code.

Sources

Also known as GHSA-fq8c-827p-q5gh.

Is CVE-2024-1792 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free