PT-2024-33491 · Octoprint · Octoprint

Jacopotediosi

·

Published

2024-11-05

·

Updated

2024-12-18

·

CVE-2024-49377

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/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.10.2
Description OctoPrint provides a web interface for controlling consumer 3D printers. The software contains reflected XSS vulnerabilities in the login dialog and the standalone application key confirmation dialog. An attacker could use this to retrieve or modify sensitive configuration settings, interrupt prints, or otherwise interact with the OctoPrint instance in a malicious way by tricking a victim into clicking on a specially crafted login link or triggering the application key workflow with specially crafted parameters.
Recommendations For versions up to and including 1.10.2, update to version 1.10.3 or later to patch the specific vulnerabilities of the login dialog and the standalone application key confirmation dialog. As a temporary workaround, consider restricting access to the login dialog and the standalone application key confirmation dialog until a patch is available. With the release of OctoPrint 1.11.0, switch to globally enforced automatic escaping to reduce the attack surface in general. For third-party plugins, opt into the automatic escaping during the transition period to improve security. Starting with OctoPrint 1.13.0, ensure that automatic escaping is enforced for all plugins, unless they explicitly opt-out.

Exploit

Fix

XSS

Weakness Enumeration

Related Identifiers

CVE-2024-49377
GHSA-XVXQ-G8HW-FX4G
PYSEC-2024-201

Affected Products

Octoprint