NetSight
medium5.4

CVE-2022-2872

OctoPrint vulnerable to Unrestricted Upload of File with Dangerous Type

Impact

OctoPrint prior to version 1.8.3 is vulnerable to Unrestricted Upload of File with Dangerous Type. Due to misconfiguration in move file functionality, an attacker could easily change the file extension of an uploaded malicious file disguised as a `.gcode` file. Version 1.8.3 contains a patch.

Affected packages

EcosystemPackageAffectedFixed in
pipOctoPrint< 1.8.31.8.3

Affected products

VendorProductAffected versions
OctoprintOctoprint
before 1.8.3

Weakness classification

References