PaperCut NG/MF Critical Pre-Authentication RCE Zero-Day: Attack Mechanics, Threat Hunting & Urgent Hardening
Technical teardown of the active PaperCut NG/MF pre-auth RCE zero-day flaw: root cause mechanics, process telemetry detection rules, and emergency hardening steps.
A critical, unauthenticated remote code execution zero-day flaw in PaperCut NG and PaperCut MF print management application servers is being actively exploited in the wild to compromise enterprise networks and achieve full SYSTEM shell access.
Zero-Day (Pending CVE Assignment) (CWE-287 / CWE-94: Improper Authentication & Remote Code Injection)
Severity: Critical (CVSS 9.8)
Status: 🚨 Active Zero-Day Exploitation / CISA Urgent Advisory
Affected Systems: PaperCut NG and PaperCut MF versions prior to 25.0.4 and 26.0.2
Vulnerability Architecture & Exploitation Flow
The zero-day flaw resides in PaperCut's web-based setup and session management components. Unauthenticated remote threat actors submit crafted HTTP POST requests to the management endpoint, bypassing authentication filters to manipulate application configuration variables and deploy embedded web shells.
Step-by-Step Attack Mechanics
- Perimeter Probing: Threat actors scan internet-facing print servers exposing PaperCut default ports (TCP 9191 for HTTP, TCP 9192 for HTTPS).
- Setup State Deserialization / Bypass: The attacker issues a malicious request simulating an incomplete setup state, forcing the application server to re-initialize administrative credentials.
- Arbitrary File Write / Script Execution: Using elevated administrative API privileges, the attacker uploads a Java-based payload into the PaperCut runtime path, executing arbitrary commands with
NT AUTHORITY\SYSTEMorrootprivileges.
Detection Telemetry & Threat Hunting
Defenders should monitor process trees originating from the PaperCut service process (pc-app.exe on Windows or Java processes on Linux):
# Sigma Rule: Suspicious Child Process Spawned by PaperCut
title: PaperCut Service Spawning Interactive Command Shell
status: high
logsource:
category: process_creation
product: windows
detection:
selection:
ParentImage|endswith:
- '\pc-app.exe'
- '\server\bin\win\pc-app.exe'
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
- '\pwsh.exe'
- '\certutil.exe'
- '\bitsadmin.exe'
condition: selection
level: criticalImmediate Remediation Checklist
- Apply Emergency Vendor Patches: Upgrade immediately to PaperCut NG/MF version 25.0.4 or 26.0.2.
- Block Inbound WAN Access: Restrict ports 9191/9192 strictly to internal management subnets via VPN or reverse proxy with multi-factor authentication (MFA).
- Inspect Web Server Access Logs: Audit PaperCut logs located in
[PaperCut-Install-Dir]/server/logs/for unexpected setup-related API requests originating from untrusted IP ranges.