CVE-2022-23940 Deserialization in n/a

High 8.8 Published Updated

Authenticated users can achieve remote code execution in SuiteCRM by injecting PHP deserialization payloads into the Scheduled Reports module.

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

What is CVE-2022-23940?

CVE-2022-23940 is a high-severity unsafe deserialization vulnerability in Salesagility Suitecrm, published on 7 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

SuiteCRM through 7.12.1 and 8.x through 8.0.1 allows Remote Code Execution. Authenticated users with access to the Scheduled Reports module can achieve this by leveraging PHP deserialization in the email_recipients property. By using a crafted request, they can create a malicious report, containing a PHP-deserialization payload in the email_recipients field. Once someone accesses this report, the backend will deserialize the content of the email_recipients field and the payload gets executed. Project dependencies include a number of interesting PHP deserialization gadgets (e.g., Monolog/RCE1 from phpggc) that can be used for Code Execution.

Weakness: CWE-502

Which versions are affected by CVE-2022-23940?

1 open source package ship an affected version, including suitecrm. It affects 1 product.

PackageAffectedFixed in
suitecrm BitnamiAll versions7.12.5, 8.0.4

Products include Salesagility Suitecrm.

How do I fix CVE-2022-23940?

Upgrade suitecrm to a fixed version for your release line: 7.12.5 or 8.0.4.

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

Is CVE-2022-23940 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

All Salesagility Suitecrm vulnerabilities

Sources

Also known as BIT-suitecrm-2022-23940, GHSA-26v2-hwwj-jjg2.

Is CVE-2022-23940 in your software?

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

Check your SBOMs for free