Skip to content

OctoPrint vulnerable to Unrestricted Upload of File with Dangerous Type

Low severity GitHub Reviewed Published Sep 22, 2022 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

pip OctoPrint (pip)

Affected versions

< 1.8.3

Patched versions

1.8.3

Description

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.

References

Published by the National Vulnerability Database Sep 21, 2022
Published to the GitHub Advisory Database Sep 22, 2022
Reviewed Sep 23, 2022
Last updated Jan 27, 2023

Severity

Low
3.7
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2022-2872

GHSA ID

GHSA-49wm-4fp6-h59c

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.