Skip to main content
Room Banner
Back to all walkthroughs
Room Icon

PaperCut: CVE-2023-27350

Max room.

Authorisation bypass (CVE-2023-27350) in PaperCut Print Management software leading to remote code execution.

info

30 min

9,765

User profile photo.
User profile photo.
User profile photo.

To access material, start machines and answer questions login.

Set up your virtual environment

To successfully complete this room, you'll need to set up your virtual environment. This involves starting both your AttackBox (if you're not using your VPN) and Lab Machines, ensuring you're equipped with the necessary tools and access to tackle the challenges ahead.
Attacker machine
Status:Off
Lab machine - Task 1
Status:Off

On 8 March 2023, a patch for -2023-27350 (opens in new tab) was released. The details an authentication bypass in the PaperCut NG/MF application, a web-based software used by enterprise organisations to manage their printers and printing processes. The vulnerability allows any threat actor to remotely gain admin access to the web application and abuse the legitimate scripting functionality in the application to achieve remote code execution as SYSTEM on the server.

The issue, however, was that in the subsequent months that followed, active exploitation (opens in new tab) of this issue was seen in the wild. There has also been a steady increase (opens in new tab) in exploitation, including malware delivery with frameworks such as CobaltStrike and even ransomware! The groups behind the active exploitation include prominent Advance Persistent Threats (APTs) such as the Cl0p ransomware group (opens in new tab).

Exploitation has seen such a significant uptick because this is a zero-click exploit. It can be fully scripted for automated malware delivery if the target system is vulnerable. In this room, we will explain the vulnerability, show how it can be exploited, how it can be defended against, and the fundamental security principle that this issue raised again, that proper cleanup after an installation is vital!

Starting the

To deploy the attached , press the green Start Lab Machine button at the top of the task. The machine will take about 5 minutes to load. Make a note of MACHINE_IP, as this will be the IP for your specific vulnerable machine.

To attack this target, you can either use the AttackBox by pressing the Start AttackBox button or use your own attack machine by connecting to the TryHackMe VPN. You can verify that your vulnerable machine has booted by navigating to http://MACHINE_IP:9191.

Answer the questions below
I am ready to learn about CVE-2023-27350!