Vulnerabilities · 2023 · Octoprint
CVE-2023-41047
Octoprint vulnerability
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.
Affected products
Octoprint. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Octoprint runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/OctoPrint/OctoPrint/security/advisories/GHSA-fwfg-vprh-97ph · Vendor Advisory
- github.com/OctoPrint/OctoPrint/commit/d0072cff894509c77e243d6562245ad3079e17db · Patch
- github.com/OctoPrint/OctoPrint/releases/tag/1.9.3
- nvd.nist.gov/vuln/detail/CVE-2023-41047
- github.com/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2023-195.yaml
- github.com/advisories/GHSA-fwfg-vprh-97ph
- nvd.nist.gov/vuln/detail/CVE-2023-41047
- cve.org/CVERecord?id=CVE-2023-41047
More vulnerabilities in Octoprint products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.