CVE-2022-3342 Jetpack CRM <= 5.3.1 - Cross-Site Request Forgery and PHAR Deserialization
Unauthenticated attackers can achieve code execution via PHAR deserialization if they upload an archive and trick an administrator into triggering the vulnerable import function.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-3342?
CVE-2022-3342 is a high-severity unsafe deserialization vulnerability in automattic Jetpack CRM – Clients, Leads, Invoices, Billing, Email Marketing, & Automation, published on 20 Oct 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-502
Which versions are affected by CVE-2022-3342?
It affects 1 product.
Products include Automattic Jetpack Crm.
How do I fix CVE-2022-3342?
No fix has been published for CVE-2022-3342 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-2022-3342 being exploited?
There is no known exploitation of CVE-2022-3342 in the wild and no public exploit code.
Other vulnerabilities in automattic Jetpack CRM – Clients, Leads, Invoices, Billing, Email Marketing, & Automation
Sources
Also known as GHSA-w42r-qhq4-9fc9.