CVE-2024-23637 OctoPrint Unverified Password Change via Access Control Settings

Medium 4.2 Published Updated

Malicious admins can change other admin passwords without re-authentication, potentially locking out legitimate administrators from the OctoPrint instance.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-23637?

CVE-2024-23637 is a medium-severity missing authorization vulnerability in OctoPrint, published on 31 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

OctoPrint is a web interface for 3D printer.s OctoPrint versions up until and including 1.9.3 contain a vulnerability that allows malicious admins to change the password of other admin accounts, including their own, without having to repeat their password. An attacker who managed to hijack an admin account might use this to lock out actual admins from their OctoPrint instance. The vulnerability will be patched in version 1.10.0.

Weakness: CWE-620, CWE-287

Which versions are affected by CVE-2024-23637?

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

PackageAffectedFixed in
octoprint PyPIAll versions1.10.0rc1
octoprint PyPIAll versions1.10.0rc1
OctoPrint PyPIAll versions1.10.0rc1

Products include Octoprint Octoprint.

How do I fix CVE-2024-23637?

Upgrade octoprint to 1.10.0rc1 or later.

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

Is CVE-2024-23637 being exploited?

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

Sources

Also known as GHSA-5626-pw9c-hmjr, PYSEC-2024-29.

Is CVE-2024-23637 in your software?

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

Check your SBOMs for free