CVE-2022-2888: OctoPrint - Authentication Bypass
- Cve: CVE-2022-2888
- Name: OctoPrint - Authentication Bypass
- Description: If an attacker comes into the possession of a victim's OctoPrint session cookie through whatever means, the attacker can use this cookie to authenticate as long as the victim's account exists.
- Impact: Attackers can impersonate victims, gaining unauthorized access to their OctoPrint account and potentially controlling 3D printers.
- Remediation: Implement secure cookie attributes and regenerate session tokens after login, consider using HTTPS and setting HttpOnly and Secure flags.
- Vulnerability type: broken_authentication
- Vulnerability impact: privilege_escalation
- Requirement type: user_interaction
- Requirements: Attacker needs to obtain victim's session cookie
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.4
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Epss score: 0.00295
- Epss percentile: 0.22478
- Assignee: [email protected]
- Published at: 2022-09-21T12:15:09Z
- Age in days: 1525
- Modified at: 2026-06-17T04:42:46Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-2888
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-613 | DEPRECATED: Insufficient Session Expiration |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.dev/bounties/d27d232b-2578-4b32-b3b4-74aabdadf629 | nvd | 2022-09-21 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/octoprint/octoprint/commit/40e6217ac1a85cc5ed592873ae49db01d3005da4 | nvd | Patch, Third Party Advisory |
| https://huntr.dev/bounties/d27d232b-2578-4b32-b3b4-74aabdadf629 | nvd | Exploit, Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| octoprint:octoprint | < 1.8.3 | no | nvd | /v1/products/octoprint/octoprint |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| OctoPrint/OctoPrint | commit, fix, package | yes | /v1/repositories/OctoPrint/OctoPrint |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-09-21
- Authentication required: yes
- Exposed hosts: 1256
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports