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

2024-04-03 00:00
Francesco Carlucci

Strategic Overview

Status
Patched in 2.11.0
Affected PluginCMB2
Affected Version<= 2.10.1
CVSS7.5High
CVECVE-2024-1792
View all CMB2 vulnerabilities

Vulnerability Overview

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.

Technical Analysis

REMEDIATION: Update to version 2.11.0, or a newer patched version --- IDENTIFIER: CWE-502 (Deserialization of Untrusted Data) The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C