CVE-2023-41047 Improper Neutralization of Special Elements Used in a Template Engine in OctoPrint
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
OctoPrint is a web interface for 3D printers. OctoPrint versions up until and including 1.9.2 contain a vulnerability that allows malicious admins to configure a specially crafted GCODE script that will allow code execution during rendering of that script. An attacker might use this to extract data managed by OctoPrint, or manipulate data managed by OctoPrint, as well as execute arbitrary commands with the rights of the OctoPrint process on the server system. OctoPrint versions from 1.9.3 onward have been patched. Administrators of OctoPrint instances are advised to make sure they can trust all other administrators on their instance and to also not blindly configure arbitrary GCODE scripts found online or provided to them by third parties.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| OctoPrint | < 1.9.3; = < 1.9.3 | 1.9.3 | Fixed |
| pypi octoprint(PyPI) | < 1.9.3; = 1.3.11; = 1.3.12; = 1.3.12rc1 +55 more | 1.9.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi octoprint(PyPI) | < 1.9.3 | 1.9.3 |
| pypi octoprint(PyPI) | = 1.3.11 | No fix listed |
| pypi octoprint(PyPI) | = 1.3.12 | No fix listed |
| pypi octoprint(PyPI) | = 1.3.12rc1 | No fix listed |
| pypi octoprint(PyPI) | = 1.3.12rc3 | No fix listed |
| pypi octoprint(PyPI) | = 1.4.0 | No fix listed |
| pypi octoprint(PyPI) | = 1.4.0rc1 | No fix listed |
| pypi octoprint(PyPI) | = 1.4.0rc2 | No fix listed |
| pypi octoprint(PyPI) | = 1.4.0rc3 | No fix listed |
| pypi octoprint(PyPI) | = 1.4.0rc4 | No fix listed |
| pypi octoprint(PyPI) | = 1.4.0rc5 | No fix listed |
| pypi octoprint(PyPI) | = 1.4.0rc6 | No fix listed |
| pypi octoprint(PyPI) | = 1.4.1 | No fix listed |
| pypi octoprint(PyPI) | = 1.4.1rc1 | No fix listed |
| pypi octoprint(PyPI) | = 1.4.1rc2 | No fix listed |
| pypi octoprint(PyPI) | = 1.4.1rc3 | No fix listed |
| pypi octoprint(PyPI) | = 1.4.1rc4 | No fix listed |
| pypi octoprint(PyPI) | = 1.4.2 | No fix listed |
| pypi octoprint(PyPI) | = 1.5.0 | No fix listed |
| pypi octoprint(PyPI) | = 1.5.0rc1 | No fix listed |
| pypi octoprint(PyPI) | = 1.5.0rc2 | No fix listed |
| pypi octoprint(PyPI) | = 1.5.0rc3 | No fix listed |
| pypi octoprint(PyPI) | = 1.5.1 | No fix listed |
| pypi octoprint(PyPI) | = 1.5.2 | No fix listed |
| pypi octoprint(PyPI) | = 1.5.3 | No fix listed |
Show 36 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi octoprint(PyPI) | = 1.6.0 | No fix listed |
| pypi octoprint(PyPI) | = 1.6.0rc1 | No fix listed |
| pypi octoprint(PyPI) | = 1.6.0rc2 | No fix listed |
| pypi octoprint(PyPI) | = 1.6.0rc3 | No fix listed |
| pypi octoprint(PyPI) | = 1.6.1 | No fix listed |
| pypi octoprint(PyPI) | = 1.7.0 | No fix listed |
| pypi octoprint(PyPI) | = 1.7.0rc1 | No fix listed |
| pypi octoprint(PyPI) | = 1.7.0rc2 | No fix listed |
| pypi octoprint(PyPI) | = 1.7.0rc3 | No fix listed |
| pypi octoprint(PyPI) | = 1.7.1 | No fix listed |
| pypi octoprint(PyPI) | = 1.7.2 | No fix listed |
| pypi octoprint(PyPI) | = 1.7.3 | No fix listed |
| pypi octoprint(PyPI) | = 1.8.0 | No fix listed |
| pypi octoprint(PyPI) | = 1.8.0rc1 | No fix listed |
| pypi octoprint(PyPI) | = 1.8.0rc2 | No fix listed |
| pypi octoprint(PyPI) | = 1.8.0rc3 | No fix listed |
| pypi octoprint(PyPI) | = 1.8.0rc4 | No fix listed |
| pypi octoprint(PyPI) | = 1.8.0rc5 | No fix listed |
| pypi octoprint(PyPI) | = 1.8.1 | No fix listed |
| pypi octoprint(PyPI) | = 1.8.2 | No fix listed |
| pypi octoprint(PyPI) | = 1.8.3 | No fix listed |
| pypi octoprint(PyPI) | = 1.8.4 | No fix listed |
| pypi octoprint(PyPI) | = 1.8.5 | No fix listed |
| pypi octoprint(PyPI) | = 1.8.6 | No fix listed |
| pypi octoprint(PyPI) | = 1.8.7 | No fix listed |
| pypi octoprint(PyPI) | = 1.9.0 | No fix listed |
| pypi octoprint(PyPI) | = 1.9.0rc1 | No fix listed |
| pypi octoprint(PyPI) | = 1.9.0rc2 | No fix listed |
| pypi octoprint(PyPI) | = 1.9.0rc3 | No fix listed |
| pypi octoprint(PyPI) | = 1.9.0rc4 | No fix listed |
| pypi octoprint(PyPI) | = 1.9.0rc5 | No fix listed |
| pypi octoprint(PyPI) | = 1.9.0rc6 | No fix listed |
| pypi octoprint(PyPI) | = 1.9.1 | No fix listed |
| pypi octoprint(PyPI) | = 1.9.2 | No fix listed |
| OctoPrint | = < 1.9.3 | No fix listed |
| OctoPrint | < 1.9.3 | 1.9.3 |
References
- https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-fwfg-vprh-97ph vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/OctoPrint/OctoPrint/commit/d0072cff894509c77e243d6562245ad3079e17db patch
- github.com product
- https://github.com/OctoPrint/OctoPrint/releases/tag/1.9.3 release-notes
- github.com
- github.com