CVE-2021-32560 OctoPrint Incorrect Access Control

Medium 6.5 Published Updated

Attackers can access or modify non-log files via the logging subsystem due to incorrect access control in OctoPrint.

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

What is CVE-2021-32560?

CVE-2021-32560 is a medium-severity missing authorization vulnerability in n/a, published on 11 May 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Logging subsystem in OctoPrint before 1.6.0 has incorrect access control because it attempts to manage files that are not *.log files.

Which versions are affected by CVE-2021-32560?

3 open source packages ship an affected version, including octoprint and OctoPrint. It affects 1 product.

PackageAffectedFixed in
octoprint PyPIAll versions1.6.0
octoprint PyPIAll versions1.6.0
OctoPrint PyPIAll versions1.6.0

Products include Octoprint Octoprint.

How do I fix CVE-2021-32560?

Upgrade octoprint to 1.6.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2021-32560 being exploited?

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

Sources

Also known as GHSA-x9rq-fjp5-qgm9, PYSEC-2021-29.

Is CVE-2021-32560 in your software?

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

Check your SBOMs for free