Skip to content
RCE Advisory Advanced CVE-2023-39470

PaperCut NG print.script.sandboxed Exposed Dangerous Function Remote Code Execution Vulnerability

The print.script.sandboxed setting in PaperCut NG exposed a dangerous function that authenticated attackers could abuse. An attacker could leverage this to execute arbitrary code with SYSTEM privileges.

Trinity Cyber Follow

Originally disclosed on Zero Day Initiative

High 7.2 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of PaperCut NG. Authentication is required to exploit this vulnerability.

Trinity Cyber, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the print.script.sandboxed setting exposed a dangerous function to authenticated users instead of restricting it.

Impact

An authenticated attacker could execute arbitrary code with SYSTEM privileges on affected installations.

What the attacker needed

Authentication required; affected PaperCut NG installation

The fix

PaperCut issued an update to correct this vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

PaperCut NG is print management software. A setting meant to sandbox print scripts accidentally exposed a dangerous function, so someone who could log in could run their own commands on the server as the highest-privilege Windows account (SYSTEM).

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.