CVE-2023-27350

CRITICAL KEV RANSOMWARE NUCLEI

PaperCut MF and NG 8.0-20.1.7 - Unauthenticated Remote Code Execution via SetupCompleted

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2023-27350 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added April 21, 2023, with confirmed use in ransomware campaigns. EIP tracks 18 public exploits from researchers including MaanVader, horizon3ai, imancybersecurity, including a Metasploit module exploits/multi/http/papercut_ng_auth_bypass. A Nuclei detection template is also available.

AI-analyzed exploit summary This exploit leverages CVE-2023-27350 to achieve remote code execution (RCE) on PaperCut NG/MG versions 8.0 and later by manipulating user synchronization settings and injecting a reverse shell payload via the login form.

Description

This vulnerability allows remote attackers to bypass authentication on affected installations of PaperCut NG 22.0.5 (Build 63914). Authentication is not required to exploit this vulnerability. The specific flaw exists within the SetupCompleted class. The issue results from improper access control. An attacker can leverage this vulnerability to bypass authentication and execute arbitrary code in the context of SYSTEM. Was ZDI-CAN-18987.

Exploits (18)

exploitdb WORKING POC
by MaanVader · pythonwebappsmultiple
https://www.exploit-db.com/exploits/51452

This exploit leverages CVE-2023-27350 to achieve remote code execution (RCE) on PaperCut NG/MG versions 8.0 and later by manipulating user synchronization settings and injecting a reverse shell payload via the login form.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: PaperCut NG/MG 8.0 or later (tested on 22.0.4)
No auth needed
Prerequisites: Network access to the PaperCut application · Python 3 environment with requests library
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC
by MaanVader · pythonwebappsmultiple
https://www.exploit-db.com/exploits/51391

This exploit bypasses authentication in PaperCut NG/MG by leveraging a vulnerable endpoint to access the Dashboard without credentials. It first checks the version via the SetupCompleted page and then provides a URL to bypass the login.

Classification
Working Poc 90%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: PaperCut NG/MG 8.0 or later (tested on 22.0.4)
No auth needed
Prerequisites: Network access to the PaperCut server on port 9191
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 57 stars
by horizon3ai · remote
https://github.com/horizon3ai/CVE-2023-27350

This repository contains a functional exploit for CVE-2023-27350, which chains an authentication bypass with abuse of built-in scripting functionality in PaperCut MF/NG to achieve remote code execution. The exploit automates the process of obtaining a valid session, enabling script execution, and executing arbitrary commands.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: PaperCut MF/NG
No auth needed
Prerequisites: Network access to the PaperCut application · A configured printer in the target environment
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 12 stars
by imancybersecurity · infoleak
https://github.com/imancybersecurity/CVE-2023-27350-POC

The repository contains a functional Python script that exploits an authentication bypass vulnerability in PaperCut MF/NG by checking the version and providing a URL to bypass authentication. It demonstrates the vulnerability by accessing the SetupCompleted page and then suggesting a crafted URL for dashboard access.

Classification
Working Poc 90%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: PaperCut MF/NG versions 8.0 to 20.1.7, 21.2.11, or 22.0.9
No auth needed
Prerequisites: Network access to the PaperCut server on port 9191
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 9 stars
by adhikara13 · remote
https://github.com/adhikara13/CVE-2023-27350

This repository contains a functional exploit for CVE-2023-27350, targeting PaperCut MF/NG. The exploit allows unauthenticated remote code execution (RCE) by manipulating printer script settings and injecting malicious commands.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: PaperCut MF/NG
No auth needed
Prerequisites: Network access to the PaperCut application · A configured printer in the target environment
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec SCANNER 5 stars
by MaanVader · remote
https://github.com/MaanVader/CVE-2023-27350-POC

The repository contains a Python script that scans for vulnerable versions of PaperCut MF/NG by checking the version number from a specific endpoint. It does not exploit the vulnerability but identifies potentially vulnerable instances.

Classification
Scanner 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: PaperCut MF/NG
No auth needed
Prerequisites: Network access to the target PaperCut instance on port 9191
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 4 stars
by monke443 · remote
https://github.com/monke443/CVE-2023-27350

This repository contains a functional exploit for CVE-2023-27350, which leverages improper access controls in the `SetupCompleted` Java class of PaperCut servers to achieve unauthenticated remote code execution (RCE). The exploit automates the process of reconfiguring server settings to enable script execution and reverts changes upon exit.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: PaperCut MF/NG < 22.0.8
No auth needed
Prerequisites: Network access to the PaperCut server · PaperCut server version < 22.0.8
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec SCANNER 2 stars
by Ap0dexMe0 · poc
https://github.com/Ap0dexMe0/CVE-2023-27350

The repository contains a Python script that scans for CVE-2023-27350, an authentication bypass vulnerability in PaperCut MF/NG. It checks for vulnerable versions by accessing specific endpoints and parsing the response, but does not include exploit code for actual authentication bypass.

Classification
Scanner 90%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: PaperCut MF/NG
No auth needed
Prerequisites: list of target URLs or IPs
devstral-2 · analyzed May 17, 2026 Full analysis →
nomisec SCANNER 2 stars
by ThatNotEasy · poc
https://github.com/ThatNotEasy/CVE-2023-27350

The repository contains a Python script that scans for CVE-2023-27350, an authentication bypass vulnerability in PaperCut MF/NG. It checks for vulnerable versions by accessing specific endpoints and parsing the response.

Classification
Scanner 90%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: PaperCut MF/NG
No auth needed
Prerequisites: List of target URLs or IPs
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by joaoaugustom · remote
https://github.com/joaoaugustom/PaperCut-Authentication_Bypass_and_RCE

This repository contains a functional Python exploit for CVE-2023-27350, which leverages an authentication bypass in PaperCut NG/MF to achieve remote code execution via a RhinoJS script that loads a malicious JAR payload. The exploit includes detailed documentation and references to prior implementations.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: PaperCut NG/MF versions prior to 20.1.7, 21.2.11, and 22.0.9
No auth needed
Prerequisites: msfvenom to generate payload.jar · netcat for reverse shell listener · Python 3.x with requests library
devstral-2 · analyzed May 31, 2026 Full analysis →
nomisec WORKING POC
by dezso-dfield · remote
https://github.com/dezso-dfield/CVE-2023-27350

This repository contains a functional Bash script that exploits CVE-2023-27350, an authentication bypass and remote code execution vulnerability in PaperCut NG/MG. The script automates the exploitation process, including bypassing authentication, enabling script execution, and injecting a command via the printer scripting engine.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: PaperCut NG/MG
No auth needed
Prerequisites: Target URL · Command to execute · Optional proxy URL
devstral-2 · analyzed Feb 19, 2026 Full analysis →
nomisec WORKING POC
by Royall-Researchers · remote
https://github.com/Royall-Researchers/CVE-2023-27350

This repository contains a functional exploit for CVE-2023-27350, which chains an authentication bypass with abuse of built-in scripting functionality in PaperCut MF/NG to achieve remote code execution. The exploit automates the process of obtaining a valid session, enabling scripting, and executing arbitrary commands.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: PaperCut MF/NG versions 8.0 and later (excluding patched versions)
No auth needed
Prerequisites: Network access to the PaperCut application · A configured printer in the target environment
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by 0xB0y426 · poc
https://github.com/0xB0y426/CVE-2023-27350-PoC

This PoC demonstrates an authentication bypass vulnerability in PaperCut MF/NG by accessing specific endpoints without valid credentials. It includes a Python script that checks the version and provides steps to exploit the vulnerability.

Classification
Working Poc 90%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: PaperCut MF/NG versions 8.0 to 20.1.7, 21.2.11, and 22.0.9
No auth needed
Prerequisites: Network access to the PaperCut server on port 9191
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WRITEUP
by ASG-CASTLE · poc
https://github.com/ASG-CASTLE/CVE-2023-27350

The repository describes an authentication bypass vulnerability in PaperCut NG 22.0.5 (Build 63914) due to improper access control in the SetupCompleted class, allowing remote attackers to execute arbitrary code as SYSTEM without authentication.

Classification
Writeup 80%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Theoretical
Target: PaperCut NG 22.0.5 (Build 63914)
No auth needed
Prerequisites: Network access to the target system
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec SCANNER
by Jenderal92 · infoleak
https://github.com/Jenderal92/CVE-2023-27350

The repository contains a Python script that scans for PaperCut servers vulnerable to CVE-2023-27350 by checking for specific HTML patterns in the response. It does not exploit the vulnerability but identifies potentially vulnerable targets.

Classification
Scanner 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: PaperCut MF/NG
No auth needed
Prerequisites: List of target URLs
devstral-2 · analyzed Feb 18, 2026 Full analysis →
vulncheck_xdb WRITEUP
remote
https://github.com/BEPb/tryhackme

This repository contains a detailed writeup for the Advent of Cyber '23 Side Quest, including descriptions of challenges, flags, and narrative context. It does not include exploit code but provides technical and contextual information about the challenges.

Classification
Writeup 90%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: TryHackMe Advent of Cyber '23 Side Quest
No auth needed
Prerequisites: Access to TryHackMe platform
devstral-2 · analyzed Feb 25, 2026 Full analysis →
metasploit WORKING POC EXCELLENT
by catatonicprime · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/papercut_ng_auth_bypass.rb

This Metasploit module exploits an authentication bypass in PaperCut NG (CVE-2023-27350) to modify server configurations and achieve remote code execution via the RhinoJS engine. It bypasses authentication, disables sandboxing, and executes arbitrary Java payloads.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: PaperCut NG (versions prior to fix for CVE-2023-27350)
No auth needed
Prerequisites: Network access to PaperCut NG server (default port 9191) · PaperCut NG version vulnerable to CVE-2023-27350
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Nuclei Templates (1)

PaperCut - Unauthenticated Remote Code Execution
CRITICALVERIFIEDby rootxharsh,iamnoooob,pdresearch
Shodan: http.html:"PaperCut" || http.html:"papercut" || http.html:"content=\"papercut\"" || cpe:"cpe:2.3:a:papercut:papercut_mf"
FOFA: body="papercut" || body="content=\"papercut\""

Scores

CVSS v3 9.8
EPSS 0.9426
EPSS Percentile 99.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation active
Automatable yes
Technical Impact total

Details

CISA KEV 2023-04-21
VulnCheck KEV 2023-04-18
InTheWild.io 2023-04-21
ENISA EUVD EUVD-2023-31126
Ransomware Use Confirmed
CWE
CWE-284
Status published
Products (2)
papercut/papercut_mf 8.0 - 20.1.7
papercut/papercut_ng 8.0 - 20.1.7
Published Apr 20, 2023
KEV Added Apr 21, 2023
Tracked Since Feb 18, 2026