CVE-2020-28925 OS Command injection in Bolt

Medium 5.3 Published Updated

Bolt CMS allows code execution via unrestricted Twig filter options in requests, requiring an upgrade to secure the application.

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

What is CVE-2020-28925?

CVE-2020-28925 is a medium-severity code injection vulnerability in n/a, published on 30 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Bolt before 3.7.2 does not restrict filter options in a Request in the Twig context, and is therefore inconsistent with the "How to Harden Your PHP for Better Security" guidance.

Which versions are affected by CVE-2020-28925?

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

PackageAffectedFixed in
bolt/bolt PackagistAll versions3.7.2
bolt/bolt PackagistAll versions3.7.2

Products include Boltcms Bolt.

How do I fix CVE-2020-28925?

Upgrade bolt/bolt to 3.7.2 or later.

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

Is CVE-2020-28925 being exploited?

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

Sources

Also known as GHSA-w8cj-mvf9-mpc9.

Is CVE-2020-28925 in your software?

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

Check your SBOMs for free