OctoPrint API Key settings.py getSettings information disclosure
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
A weakness has been identified in OctoPrint 1.0.0. This impacts the function getSettings of the file src/octoprint/server/ajax/settings.py of the component API Key Handler. This manipulation causes information disclosure. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 1.1.0-rc1 will fix this issue. Patch name: eccc9d6fbde0c46cdd6e255fd5ce9a30077ba954. You should upgrade the affected component. Affected is a 2013 release where access control was not yet implemented and the endpoint was part of first-run setup). The API key has been admin-gated since 1.2.0 and GET /api/settings is protected by Permissions.SETTINGS_READ plus reauthentication in all current releases.
Text from CVE List
Affected versions 2
- OctoPrintaffected: 1.0.0CVE List
- OctoPrintunaffected: 1.1.0-rc1CVE List
References 7
- github.com/OctoPrint/OctoPrint/commit/eccc9d6fbde0c46cdd6e255fd5ce9a30077ba954Fixvia CVE List
- github.com/OctoPrint/OctoPrint/releases/tag/1.1.0-rc1Fixvia CVE List
- vuldb.com/cve/CVE-2013-10077Advisoryvia CVE List
- vuldb.com/submit/994544Advisoryvia CVE List
- vuldb.com/vuln/426128Referencevia CVE List
- vuldb.com/vuln/426128/ctiReferencevia CVE List
- github.com/OctoPrint/OctoPrint/Referencevia CVE List