CVE-2022-2888: OctoPrint vulnerable to Insufficient Session Expiration.
4.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.07179%
CWE
Published
9/22/2022
Updated
10/8/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
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 4 key issues: 1) Sessions were only invalidated after 24h creation time instead of 15m inactivity 2) No session freshness tracking 3) Remember-me cookies weren't tied to password hashes 4) No session signature validation. The commit introduced session touch tracking, password-hash-linked cookies, signature validation, and stricter cleanup - indicating these were the vulnerable areas. The functions
handling session lifecycle management and cookie encoding/validation
were directly modified to address these flaws.