CVE-2023-41564 Cockpit CMS arbitrary file upload vulnerability

Medium 6.1 Published Updated

Attackers can execute arbitrary code by uploading a crafted .shtml file via the Upload Asset function in Cockpit CMS.

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-2023-41564?

CVE-2023-41564 is a medium-severity vulnerability in n/a, published on 8 Sep 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

An arbitrary file upload vulnerability in the Upload Asset function of Cockpit CMS v2.6.3 allows attackers to execute arbitrary code via uploading a crafted .shtml file.

Weakness: CWE-434

Which versions are affected by CVE-2023-41564?

2 open source packages ship an affected version, including cockpit-hq/cockpit. It affects 1 product.

PackageAffectedFixed in
cockpit-hq/cockpit PackagistAll versions to 2.6.3None
cockpit-hq/cockpit PackagistAll versions to 2.6.3None

Products include Agentejo Cockpit.

How do I fix CVE-2023-41564?

No fix has been published for CVE-2023-41564 yet. Limit exposure of the affected software until one is available.

Is CVE-2023-41564 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-38vf-35cg-m73w.

Is CVE-2023-41564 in your software?

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

Check your SBOMs for free