Skip to main content

CVE-2024-8404: PaperCut NG/MF Privilege Escalation Flaw

CVE-2024-8404 is a privilege escalation vulnerability in PaperCut NG/MF that enables arbitrary file deletion on Windows servers with Web Print enabled. This article covers the technical details, affected versions, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-8404 Overview

CVE-2024-8404 is an arbitrary file deletion vulnerability in PaperCut NG/MF running on Windows servers with Web Print enabled. The flaw resides in the web-print-hot-folder processing logic and is classified as a link-following issue [CWE-59]. An authenticated local attacker with low privileges on the Windows host can delete arbitrary files, affecting integrity and availability of the server. The vulnerability was split from CVE-2024-3037 and received an updated fix process in May 2025.

Critical Impact

A low-privileged local user on the Windows server hosting PaperCut NG/MF can delete arbitrary files, potentially disrupting the print management service and the underlying operating system.

Affected Products

  • PaperCut NG on Windows Server (versions prior to the May 2025 security bulletin fix)
  • PaperCut MF on Windows Server (versions prior to the May 2025 security bulletin fix)
  • Installations with Web Print feature enabled

Discovery Timeline

  • 2024-09-26 - CVE-2024-8404 published to the National Vulnerability Database
  • May 2025 - PaperCut updates the fixed version and fix process in the May 2025 Security Bulletin
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-8404

Vulnerability Analysis

The vulnerability affects PaperCut NG/MF deployments on Windows Server where the Web Print feature is active. Web Print uses a hot folder on the local filesystem to process incoming print jobs. The service handling this folder operates with elevated privileges and does not sufficiently validate filesystem links before performing file operations.

An attacker who can place files in or interact with the web-print-hot-folder can abuse symbolic links or junction points to redirect file operations performed by the PaperCut service. Because the service executes these operations with higher privileges than the attacker possesses, deletion operations extend to files the attacker could not otherwise remove. The result is an arbitrary file deletion primitive, which can be leveraged to disrupt PaperCut, Windows services, or applications sharing the host.

Exploitation requires local login access to the Windows Server and the ability to execute low-privilege code. In default Windows Server configurations, interactive local logon is restricted to Administrators, which mitigates exposure. Environments that permit non-administrative users to log into the local console of the PaperCut host remain at risk.

Root Cause

The root cause is improper handling of filesystem links [CWE-59] in the Web Print hot folder processing path. The service follows attacker-controlled symbolic links or junctions when operating on files inside the hot folder, allowing operations intended for the folder to resolve to arbitrary paths on the host.

Attack Vector

The attack vector is local. The attacker must authenticate to the Windows Server interactively or through a mechanism that permits code execution in the context of a low-privileged user. The attacker then creates a crafted link within the web-print-hot-folder that resolves to a target file elsewhere on the system. When the PaperCut service processes the hot folder, it follows the link and deletes the target file with service-level privileges.

No verified public exploit code is available. Refer to the PaperCut Security Bulletin May 2025 for the authoritative technical description and fix guidance.

Detection Methods for CVE-2024-8404

Indicators of Compromise

  • Unexpected creation of symbolic links, junctions, or hard links inside the PaperCut web-print-hot-folder directory.
  • Deletion of files outside the hot folder that correlate in time with PaperCut Web Print activity.
  • PaperCut application logs showing hot folder processing errors or anomalous file operations.
  • Interactive logons by non-administrative accounts to the Windows Server hosting PaperCut.

Detection Strategies

  • Monitor Windows Security event logs for file deletion events (Event ID 4660, 4663) targeting files outside the hot folder but initiated by the PaperCut service account.
  • Audit creation of reparse points and symbolic links on the PaperCut server using Sysmon Event ID 11 and filesystem auditing.
  • Correlate interactive logon events (Event ID 4624, logon type 2) on PaperCut servers against the authorized administrator list.

Monitoring Recommendations

  • Enable object access auditing on the web-print-hot-folder and the PaperCut installation directory.
  • Baseline the PaperCut service account's file operations and alert on deletions outside expected directories.
  • Track changes to local logon rights and the Administrators group on servers hosting PaperCut NG/MF.

How to Mitigate CVE-2024-8404

Immediate Actions Required

  • Upgrade PaperCut NG/MF to the fixed version documented in the PaperCut Security Bulletin May 2025.
  • Review and enforce the default Windows Server policy that restricts interactive local logon to Administrators only.
  • Remove any non-administrative accounts from the local logon rights on servers hosting PaperCut NG/MF.
  • Audit the web-print-hot-folder for existing symbolic links or junctions and remove any unauthorized entries.

Patch Information

PaperCut initially addressed this issue in the May 2024 Security Bulletin and republished updated fix guidance in May 2025. Administrators should apply the version specified in the PaperCut Security Bulletin May 2025, which supersedes the earlier guidance from the PaperCut Security Bulletin May 2024.

Workarounds

  • Disable the Web Print feature on PaperCut NG/MF servers where it is not required.
  • Restrict NTFS permissions on the web-print-hot-folder so that only the PaperCut service account and administrators can write to it.
  • Disable creation of symbolic links for non-administrative users by removing the SeCreateSymbolicLinkPrivilege right from standard user accounts.
  • Isolate the PaperCut Windows Server from general-purpose user access and restrict RDP to administrative personnel.
bash
# Review accounts granted the right to create symbolic links on the PaperCut host
secedit /export /cfg C:\secpol.cfg
findstr /i "SeCreateSymbolicLinkPrivilege" C:\secpol.cfg

# Review accounts permitted to log on locally
findstr /i "SeInteractiveLogonRight" C:\secpol.cfg

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.