CVE-2021-23259 Groovy Sandbox Bypass

Medium 4.2 Published Updated

Authenticated administrators or developers can execute arbitrary OS commands via unrestricted Groovy scripts in Crafter CMS.

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
None listed

What is CVE-2021-23259?

CVE-2021-23259 is a medium-severity code injection vulnerability in Crafter CMS, published on 2 Dec 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Authenticated users with Administrator or Developer roles may execute OS commands by Groovy Script which uses Groovy lib to render a webpage. The groovy script does not have security restrictions, which will cause attackers to execute arbitrary commands remotely(RCE).

Weakness: CWE-913

Which versions are affected by CVE-2021-23259?

It affects 1 product.

Products include Craftercms Crafter Cms.

How do I fix CVE-2021-23259?

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

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

Is CVE-2021-23259 being exploited?

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

Sources

Also known as GHSA-j2hp-qmrf-626c.

Is CVE-2021-23259 in your software?

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

Check your SBOMs for free