CVE-2024-32977 json
OctoPrint Authentication Bypass via X-Forwarded-For Header when autologinLocal is enabled
published 2y ago modified 4mo ago also EUVD-2024-1369 , GHSA-2vjq-hg5w-5gm7 , PYSEC-2024-237
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
OctoPrint provides a web interface for controlling consumer 3D printers. OctoPrint versions up until and including 1.10.0 contain a vulnerability that allows an unauthenticated attacker to completely bypass the authentication if the `autologinLocal` option is enabled within `config.yaml`, even if they come from networks that are not configured as `localNetworks`, spoofing their IP via the `X-Forwarded-For` header. If autologin is not enabled, this vulnerability does not have any impact. The vulnerability has been patched in version 1.10.1. Until the patch has been applied, OctoPrint administrators who have autologin enabled on their instances should disable it and/or to make the instance inaccessible from potentially hostile networks like the internet.
Patch / fix
Is CVE-2024-32977 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2y ago
Exploit prediction
0.90% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-2vjq-hg5w-5gm7 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L |
| GitHub | 3.1 | 7.1 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L |
| NVD | 3.1 | 9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L |
| OSV | 3.1 | 9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | octoprint | <1.10.1 |
1.10.1 |
Affected products
- OctoPrint OctoPrint
Classification
- Weakness
-
- CWE-290 Authentication Bypass by Spoofing
References
-
github.com
/OctoPrint/OctoPrint/commit/5afbec8d23508edc25b0f1bdef1620580136add4
web, patch
-
github.com
/OctoPrint/OctoPrint/security/advisories/GHSA-2vjq-hg5w-5gm7
web, exploit, vendor-advisory, advisory, evidence
-
nvd.nist.gov
/vuln/detail/CVE-2024-32977
advisory
-
github.com
/OctoPrint/OctoPrint
package
-
github.com
/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2024-237.yaml
web
-
github.com
/advisories/GHSA-2vjq-hg5w-5gm7
advisory
Sources
- CVE List CVE-2024-32977
- GitHub Advisory GHSA-2vjq-hg5w-5gm7
- NVD CVE-2024-32977
- OSV PYSEC-2024-237
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.