vendor:
PrusaSlicer
by:
Kamil Breński
6.1
CVSS
HIGH
Arbitrary Code Execution
94
CWE
Product Name: PrusaSlicer
Affected Version From: PrusaSlicer up to and including version 2.6.1
Affected Version To: PrusaSlicer up to and including version 2.6.1
Patch Exists: NO
Related CWE: CVE-2023-47268
CPE: a:prusa3d:prusaslicer:2.6.1
Platforms Tested: Windows, Linux
2024
PrusaSlicer 2.6.1 – Arbitrary Code Execution on G-Code Export
PrusaSlicer up to and including version 2.6.1 is vulnerable to arbitrary code execution when exporting g-code from a malicious 3mf project. By manipulating the 'Metadata/Slic3r_PE.config' file within the project, an attacker can insert a post-processing script that executes arbitrary code upon g-code export. This exploit has been demonstrated on both Windows and Linux platforms.
Mitigation:
Ensure to validate and sanitize input data to prevent unauthorized code execution. Regularly update PrusaSlicer to the latest version to mitigate this vulnerability.