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 packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
OctoPrintPyPI | < 1.10.3 | 1.10.3 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-cc6x-8cc7-9953ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-51493ghsaADVISORY
- github.com/OctoPrint/OctoPrint/commit/9bc80d782d72881b16e20873dcd0b8314324c70cghsaWEB
- github.com/OctoPrint/OctoPrint/security/advisories/GHSA-cc6x-8cc7-9953ghsax_refsource_CONFIRMWEB
- github.com/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2024-202.yamlghsaWEB
News mentions
0No linked articles in our index yet.