CVE-2023-5965 Unrestricted Upload of File with Dangerous Type in EspoCRM

Medium 4.7 Published Updated

An authenticated privileged attacker can upload a malicious zip file to execute arbitrary PHP code on the EspoCRM server.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-5965?

CVE-2023-5965 is a medium-severity vulnerability in EspoCRM, published on 30 Nov 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

An authenticated privileged attacker could upload a specially crafted zip to the EspoCRM server in version 7.2.5, via the update form, which could lead to arbitrary PHP code execution.

Weakness: CWE-434

Which versions are affected by CVE-2023-5965?

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

PackageAffectedFixed in
espocrm BitnamiAll versions7.5.2

Products include Espocrm Espocrm.

How do I fix CVE-2023-5965?

Upgrade espocrm to 7.5.2 or later.

Is CVE-2023-5965 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as BIT-espocrm-2023-5965, GHSA-92xg-872w-r5g2.

Is CVE-2023-5965 in your software?

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

Check your SBOMs for free