CVE-2021-32560: OctoPrint Incorrect Access Control
6.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.56885%
CWE
Published
5/24/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:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| octoprint | pip | < 1.6.0 | 1.6.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key issues: 1) The logging handler managed files without *.log extension validation, and 2) The log listing API endpoint exposed all files in log directories. The release notes explicitly mention adding *.log restrictions in 1.6.0, and the researcher's blog demonstrates exploiting file management to access SSH keys. These functions directly correspond to the described attack vectors (arbitrary file read via log management).