CVE-2022-3342
Description
The Jetpack CRM plugin for WordPress is vulnerable to PHAR deserialization via the ‘zbscrmcsvimpf’ parameter in the 'zeroBSCRM_CSVImporterLitehtml_app' function in versions up to, and including, 5.3.1. While the function performs a nonce check, steps 2 and 3 of the check do not take any action upon a failed check. These steps then perform a 'file_exists' check on the value of 'zbscrmcsvimpf'. If a phar:// archive is supplied, its contents will be deserialized and an object injected in the execution stream. This allows an unauthenticated attacker to obtain object injection if they are able to upload a phar archive (for instance if the site supports image uploads) and then trick an administrator into performing an action, such as clicking a link.
Affected WordPress components
-
Jetpack CRM – Clients, Leads, Invoices, Billing, Email Marketing, & Automation Plugin · zero-bs-crmUp to and including 5.3.1View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- automattic Jetpack CRM – Clients, Leads, Invoices, Billing, Email Marketing, & Automation — Up to and including 5.3.1
- automattic jetpack_crm — Up to and including 5.3.1
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/zero-bs-crm/trunk/includes/ZeroBSCRM.CSVImporter.php?rev=2790863 Patch
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/2805282/zero-bs-crm/trunk/includes/ZeroBSCRM.CSVImporter.php Patch
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/98ab264f-b210-41d0-bb6f-b4f31d933f80?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record