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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PaperCut | NG | 22.0.5 (Build 63914) | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
PaperCut PaperCutNG Authentication Bypass
exploit/multi/http/papercut_ng_auth_bypass
Exploit-DB 2
- PaperCut NG/MG 22.0.4 - Remote Code Execution (RCE) EDB-51452 · webapps · May 23, 2023
- PaperCut NG/MG 22.0.4 - Authentication Bypass EDB-51391 · webapps · Apr 25, 2023
GitHub 14 repositories · most starred shown
-
horizon3ai/CVE-2023-27350 ★ 57 · Apr 22, 2023
Proof of Concept Exploit for PaperCut CVE-2023-27350
-
imancybersecurity/CVE-2023-27350-POC ★ 12 · Apr 21, 2023
-
adhikara13/CVE-2023-27350 ★ 9 · Apr 25, 2023
Exploit for Papercut CVE-2023-27350. [+] Reverse shell [+] Mass checking
-
MaanVader/CVE-2023-27350-POC ★ 6 · Apr 21, 2023
A simple python script to check if a service is vulnerable
-
monke443/CVE-2023-27350 ★ 4 · Mar 9, 2025
Unauthenticated remote command execution in Papercut service allows an attacker to execute commands due to improper access controls in the SetupCompleted Java class.
-
Ap0dexMe0/CVE-2023-27350 ★ 2 · May 27, 2023
Perfom With Massive Authentication Bypass In PaperCut MF/NG
-
0xB0y426/CVE-2023-27350-PoC ★ 0 · Apr 14, 2025
PoC for CVE-2023-27350
-
ASG-CASTLE/CVE-2023-27350 ★ 0 · Apr 19, 2024
-
Jenderal92/CVE-2023-27350 ★ 0 · Jun 13, 2023
Python 2.7
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- PaperCut - Unauthenticated Remote Code Execution http/cves/2023/CVE-2023-27350.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- https://www.zerodayinitiative.com/advisories/ZDI-23-233/
- https://www.papercut.com/kb/Main/PO-1216-and-PO-1219
- http://packetstormsecurity.com/files/171982/PaperCut-MF-NG-Authentication-Bypass-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/172022/PaperCut-NG-MG-22.0.4-Authentication-Bypass.html
- https://news.sophos.com/en-us/2023/04/27/increased-exploitation-of-papercut-drawing-blood-around-the-internet/
- http://packetstormsecurity.com/files/172512/PaperCut-NG-MG-22.0.4-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/172780/PaperCut-PaperCutNG-Authentication-Bypass.html