CVE-2018-19907 OS Command Injection in craftercms:crafter-studio

High 8.8 Published Updated

Attackers with developer privileges can execute OS commands via Server-Side Template Injection in Crafter CMS templates.

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

What is CVE-2018-19907?

CVE-2018-19907 is a high-severity code injection vulnerability in n/a, published on 6 Dec 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A Server-Side Template Injection issue was discovered in Crafter CMS 3.0.18. Attackers with developer privileges may execute OS commands by Creating/Editing a template file (.ftl filetype) that triggers a call to freemarker.template.utility.Execute in the FreeMarker library during rendering of a web page.

Weakness: CWE-78

Which versions are affected by CVE-2018-19907?

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

PackageAffectedFixed in
org.craftercms:crafter-studio MavenAll versions to 3.0.18None
org.craftercms:crafter-studio MavenAll versions to 3.0.18None

Products include Craftercms Crafter Cms.

How do I fix CVE-2018-19907?

No fix has been published for CVE-2018-19907 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-2018-19907 being exploited?

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

Sources

Also known as GHSA-9fcp-vcq9-9h2h.

Is CVE-2018-19907 in your software?

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

Check your SBOMs for free