Vulnerability · Published Nov 5, 2024 · Assigned by GitHub_M
CVE-2024-51493API key access in settings without reauthentication in OctoPrint
Medium 5.3
In plain English
A medium-severity security flaw in OctoPrint from OctoPrint. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | octoprint | 1.10.3 | GHSA-cc6x-8cc7-9953 |
| PyPI | octoprint | 1.10.3 | PYSEC-2024-202 |
Affected products (as reported)
Weakness: CWE-620 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
References
- https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-cc6x-8cc7-9953 x_refsource_CONFIRM