What’s Vulnerable › Vulnerabilities

CVE-2024-51493: API key access in settings without reauthentication in OctoPrint

Description

OctoPrint provides a web interface for controlling consumer 3D printers. OctoPrint versions up until and including 1.10.2 contain a vulnerability that allows an attacker that has gained temporary control over an authenticated victim's OctoPrint browser session to retrieve/recreate/delete the user's or - if the victim has admin permissions - the global API key without having to reauthenticate by re-entering the user account's password. An attacker could use a stolen API key to access OctoPrint through its API, or disrupt workflows depending on the API key they deleted. This vulnerability will be patched in version 1.10.3 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected products

How to fix

Upgrade to a fixed version: OctoPrint 1.10.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-51493 or the next vulnerability affects your stack