CVE-2023-27350 — PaperCut MF/NG Improper Access Control Vulnerability

CVE-2023-27350

PaperCut MF/NG — Unauthenticated Access to SetupCompleted Handler Enables RCE as SYSTEM; Clop and LockBit Ransomware Mass Exploitation; Same-Day KEV April 2023

What is PaperCut?

PaperCut MF (Managed Fax) and PaperCut NG (Next Generation) are widely used print management software platforms deployed in universities, schools, hospitals, government agencies, and enterprises worldwide. PaperCut runs as a Windows service on print servers, managing user print quotas, print job logging, secure print release, and billing. It provides a web-based administration interface and integrates with Active Directory for user authentication. In educational environments especially, PaperCut servers often run with SYSTEM privileges and have broad access to print infrastructure — making a compromise capable of affecting the entire printing environment of a large institution.

Overview

CVE-2023-27350 is a critical improper access control vulnerability in PaperCut MF and PaperCut NG that allows an unauthenticated attacker to access the application's internal SetupCompleted administrative endpoint and execute arbitrary code as SYSTEM on the PaperCut server. PaperCut quietly patched it in March 2023 without a CVE assignment; researchers at Horizon3.ai identified the vulnerability by analyzing the patch in April 2023 and published a technical write-up that triggered immediate mass exploitation. CISA added it to KEV the following day. Clop (Lace Tempest) and LockBit ransomware operators were confirmed exploiting it within days.

Affected Versions

Product Vulnerable Fixed
PaperCut MF 22.0.8 and earlier 22.0.9
PaperCut NG 21.4.8 and earlier 21.4.9
PaperCut MF/NG All 20.x and 21.x versions Update to 22.0.9 / 21.4.9+

Technical Details

CWE-284 (Improper Access Control). PaperCut's web application includes a SetupCompleted class/endpoint used during initial product configuration and setup. This endpoint was not properly restricted after setup completion — an unauthenticated external attacker can access it directly via HTTP. The SetupCompleted endpoint allows invocation of administrative functions including the ability to configure and trigger external script execution.

By accessing the SetupCompleted endpoint without authentication, an attacker can:

  1. Enable PaperCut's built-in "print script" or "user sync" script functionality
  2. Upload or specify an attacker-controlled script path
  3. Trigger execution of the script in the context of the PaperCut Windows service — which runs as SYSTEM

This provides OS command execution as SYSTEM on the Windows server hosting PaperCut, with full access to the filesystem, Active Directory via the system account, and all print jobs and data processed through PaperCut.

Discovery

The vulnerability was identified by Horizon3.ai researchers who performed patch-diffing analysis on PaperCut's March 2023 update. Their technical write-up, published April 18, 2023, identified the SetupCompleted bypass and demonstrated unauthenticated RCE, triggering near-immediate exploitation by threat actors who had been monitoring for PaperCut security issues.

Exploitation Context

CVE-2023-27350 was exploited at scale by multiple ransomware groups within days of Horizon3.ai's disclosure:

Clop (Lace Tempest / TA505): Microsoft documented Clop operators exploiting PaperCut servers to deploy the TrueBot malware and ultimately Clop ransomware. Clop had been responsible for the simultaneous MOVEit campaign and actively sought enterprise file-handling software vulnerabilities.

LockBit: Also documented exploiting CVE-2023-27350 as an initial access vector, particularly against educational institutions where PaperCut is heavily deployed.

Universities were disproportionately affected — PaperCut has high penetration in higher education, and university IT environments often have limited 24/7 monitoring. Multiple universities disclosed incidents attributable to CVE-2023-27350 exploitation.

Remediation

  1. Upgrade PaperCut MF to version 22.0.9 or later; upgrade PaperCut NG to version 21.4.9 or later immediately.
  2. As an emergency workaround if patching cannot be done immediately: restrict external access to the PaperCut admin web interface to trusted internal IP ranges only — block port 9191/9192 from internet-accessible networks.
  3. Check PaperCut application logs (applicationServer.log) for unauthorized access to /app or SetupCompleted endpoints from unexpected IPs, particularly around and after April 18, 2023.
  4. Look for evidence of script execution in PaperCut's scripting directories — unauthorized scripts in the PaperCut scripting paths indicate exploitation.
  5. Review Windows system for post-exploitation indicators: new local admin accounts, TrueBot malware signatures, unexpected scheduled tasks, or lateral movement tools (Cobalt Strike, Mimikatz).
  6. Rotate all service account credentials used by PaperCut and review AD permissions for PaperCut service accounts.

Key Details

PropertyValue
CVE ID CVE-2023-27350
Vendor / Product PaperCut — MF/NG
NVD Published2023-04-20
NVD Last Modified2025-10-27
CVSS 3.1 Score9.8
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SeverityCRITICAL
CWE CWE-284 find similar ↗
CISA KEV Added2023-04-21
CISA KEV Deadline2023-05-12
Known Ransomware Use ⚠️ Yes

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2023-05-12. Apply updates per vendor instructions.

Timeline

DateEvent
2023-03-08PaperCut releases versions 22.0.9 (MF) and 21.4.9 (NG) patching CVE-2023-27350 — issued quietly without CVE
2023-04-18Horizon3.ai publishes technical analysis identifying the SetupCompleted authentication bypass and demonstrating unauthenticated RCE
2023-04-19Exploitation begins almost immediately following Horizon3.ai disclosure
2023-04-20CVE-2023-27350 formally published
2023-04-21CISA adds to Known Exploited Vulnerabilities catalog — same day as KEV addition for CVE-2023-2136; PaperCut exploitation already widespread
2023-04-26Microsoft documents Clop ransomware (Lace Tempest) actively exploiting CVE-2023-27350 for initial access
2023-05-12CISA BOD 22-01 remediation deadline

References

ResourceType
PaperCut Security Advisory — PO-1216 and PO-1219 Vendor Advisory
NVD — CVE-2023-27350 Vulnerability Database
CISA KEV Catalog Entry US Government