PT-2024-22352 · Octoprint · Octoprint

Jacopotediosi

·

Published

2024-03-18

·

Updated

2025-01-08

·

CVE-2024-28237

CVSS v3.1

4.8

Medium

VectorAV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions OctoPrint versions up to and including 1.9.3
Description OctoPrint provides a web interface for controlling consumer 3D printers. The issue allows malicious admins to configure or talk a victim with administrator rights into configuring a webcam snapshot URL which, when tested through the "Test" button included in the web interface, will execute JavaScript code in the victim's browser when attempting to render the snapshot image. An attacker who successfully talked a victim with admin rights into performing a snapshot test with such a crafted URL could use this to retrieve or modify sensitive configuration settings, interrupt prints, or otherwise interact with the OctoPrint instance in a malicious way.
Recommendations For versions up to and including 1.9.3, update to version 1.10.0 or later to resolve the issue. As a temporary workaround, consider restricting access to the webcam snapshot URL configuration to prevent malicious configuration. OctoPrint administrators are strongly advised to thoroughly vet who has admin access to their installation and what settings they modify based on instructions by strangers.

Exploit

Fix

XSS

Weakness Enumeration

Related Identifiers

CVE-2024-28237
GHSA-X7MF-WRH9-R76C
PYSEC-2024-179

Affected Products

Octoprint