Vulnerability
CVE-2023-27350
Vulnerability details
- Score
- 9.8
- Severity
- critical
CVSS 3.0 · zdi
Vector string
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDescription
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.
CVE ProgramExploit source choices
14 sourcesThis module leverages an authentication bypass in PaperCut NG. If necessary it updates Papercut configuration options, specifically the 'print-and-device.script.enabled' and 'print.script.sandboxed' options to allow for arbitrary code execution running in the builtin RhinoJS engine. This module logs at most 2 events in the application log of papercut. Each event is tied to modifcation of server settings.
bepb/tryhackme source repository
Proof of Concept Exploit for PaperCut CVE-2023-27350
imancybersecurity/cve-2023-27350-poc source repository
Exploit for Papercut CVE-2023-27350. [+] Reverse shell [+] Mass checking
A simple python script to check if a service is vulnerable
Unauthenticated remote command execution in Papercut service allows an attacker to execute commands due to improper access controls in the SetupCompleted Java class.
Perfom With Massive Authentication Bypass In PaperCut MF/NG
This project fine-tunes Qwen2.5-3B-Instruct using Supervised Fine-Tuning (SFT) to act as a Cybersecurity Expert. The model is trained on a curated dataset of OWASP Top 10, MITRE ATT&CK, and recent CVEs (2020–2025).
PoC for CVE-2023-27350
arojit/cyber-expert-sft-rag-qwen source repository
PaperCut NG/MG Authentication Bypass and Remote Code Execution (RCE) Exploit Tool. A standalone Bash implementation of the PaperCut exploit chain, featuring optional proxy support, automated session elevation, and dynamic command injection via the print scripting engine. Designed for security auditing and authorized penetration testing.