CVE-2021-27367 Path traversal in bolt/core

High 7.5 Published Updated

Attackers can exploit directory traversal in Bolt CMS file controllers to read or modify arbitrary files on the server.

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

What is CVE-2021-27367?

CVE-2021-27367 is a high-severity path traversal vulnerability in n/a, published on 17 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Controller/Backend/FileEditController.php and Controller/Backend/FilemanagerController.php in Bolt before 4.1.13 allow Directory Traversal.

Weakness: CWE-22

Which versions are affected by CVE-2021-27367?

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

PackageAffectedFixed in
bolt/core PackagistAll versions4.1.13
bolt/core PackagistAll versions4.1.13

Products include Boltcms Bolt.

How do I fix CVE-2021-27367?

Upgrade bolt/core to 4.1.13 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2021-27367 being exploited?

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

Sources

Also known as GHSA-q88g-qx42-xfrh.

Is CVE-2021-27367 in your software?

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

Check your SBOMs for free