CVE-2022-3068: OctoPrint Improper Privilege Management vulnerability
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.15275%
CWE
Published
9/22/2022
Updated
10/8/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| OctoPrint | pip | < 1.8.3 | 1.8.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from an incorrect permission role assignment in the PluginManager's permission definitions. The commit diff shows the critical change was in the 'get_additional_permissions' method where the LIST permission's role was changed from 'manage' to 'list'. This misconfiguration allowed users with read-only privileges (READONLY_GROUP/USER_GROUP) to inherit MANAGE-level permissions through the 'manage' role assignment. The function's permission definitions directly control access rights, making it the clear vulnerability source.