RCE in Prusa3d Prusaslicer

CVE-2023-47268

In libslic3r/GCode/PostProcessor.cpp in Prusa PrusaSlicer through 2.6.1, a crafted 3mf project file can execute arbitrary code on a host where the project is sliced and G-code exported.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L.

EPSS exploit prediction

EPSS 0.007, 54.5th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

2 public repositories with exploit or proof-of-concept code for this CVE:

  • suce0155/CVE-2023-47268 (4 stars, last pushed 2024-09-28): PrusaSlicer Arbitrary Code Execution using .3mf
  • Pallangyo98/Trickster-HTB (last pushed 2025-02-19): This report details exploiting Trickster via an XSS in PrestaShop (CVE-2024-34716) to gain www-data access, extracting database credentials for SSH as james. A root shell in Docker is obtained via Ch…

Also mentioned in 2 other repositories (plzheheplztrying/cve_monitor, TU-M/Trickster-HTB). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References