CVE-2021-23267 Improper Control of Dynamically-Managed Code Resources in Crafter Studio

High 7.6 Published Updated

Authenticated developers can execute OS commands via FreeMarker static methods in Crafter Studio, allowing arbitrary code execution.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-23267?

CVE-2021-23267 is a high-severity code injection vulnerability in Crafter CMS, published on 16 May 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Improper Control of Dynamically-Managed Code Resources vulnerability in Crafter Studio of Crafter CMS allows authenticated developers to execute OS commands via FreeMarker static methods.

Weakness: CWE-913

Which versions are affected by CVE-2021-23267?

2 open source packages ship an affected version, including org.craftercms:crafter-studio. It affects 1 product.

PackageAffectedFixed in
org.craftercms:crafter-studio MavenFrom 3.1.03.1.18
org.craftercms:crafter-studio MavenFrom 3.1.03.1.18

Products include Craftercms Crafter Cms.

How do I fix CVE-2021-23267?

Upgrade org.craftercms:crafter-studio to 3.1.18 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2021-23267 being exploited?

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

Sources

Also known as GHSA-r6fx-55x3-f9x6.

Is CVE-2021-23267 in your software?

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

Check your SBOMs for free