API key compromise via missing credential revalidation
Published Nov 5, 2024 · Updated Nov 5, 2024
Authentication bypass in OctoPrint 1.10.2 and earlier allows local users to access or delete API keys through a hijacked browser session. The user and global API-key settings endpoints returned keys and allowed generation or deletion without checking that account credentials had been re-entered recently. A valid victim session is required; a user session exposes its own key, while an administrator session exposes the global key and permits API access or workflow disruption.
Summary
What happened
Authentication bypass in OctoPrint 1.10.2 and earlier allows local users to access or delete API keys through a hijacked browser session. The user and global API-key settings endpoints returned keys and allowed generation or deletion without checking that account credentials had been re-entered recently. A valid victim session is required; a user session exposes its own key, while an administrator session exposes the global key and permits API access or workflow disruption.
The record
- CVE
- CVE-2024-51493
- Published
- Nov 5, 2024
- Updated
- Nov 5, 2024
- Vendor
- OctoPrint
- Product
- OctoPrint
- Classifications
- CWE-620, CWE-306, T1528
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 5, 2024CVE publishedPublication date reported by the CVE source.
- Nov 5, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 1.10.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo