Exploit database

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:H

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.

CVE Program

Exploit source choices

14 sources
PaperCut PaperCutNG Authentication Bypass
MSF-multi--http--papercut_ng_auth_bypassMetasploitJava / remote

This 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.

2023-03-13papercut_ng_auth_bypass.rb
bepb/tryhackme
GH-6c7f6b5161826fb28a0b3cb179ef98feGitHubUnofficial GitHub source

bepb/tryhackme source repository

2024-05-29417 files · 158 stars
horizon3ai/cve-2023-27350
GH-cc0739f1feba2b196a73e8aa5e1c6912GitHubUnofficial GitHub source

Proof of Concept Exploit for PaperCut CVE-2023-27350

2023-04-222 files · 57 stars
imancybersecurity/cve-2023-27350-poc
GH-a7a33b9666b13f79a4569aace6e9bc91GitHubUnofficial GitHub source

imancybersecurity/cve-2023-27350-poc source repository

2023-04-212 files · 12 stars
adhikara13/cve-2023-27350
GH-8c1a018fdc2680935c2ef46289eae075GitHubUnofficial GitHub source

Exploit for Papercut CVE-2023-27350. [+] Reverse shell [+] Mass checking

2023-04-255 files · 9 stars
maanvader/cve-2023-27350-poc
GH-2a010ce969c03bcf941ffec11d8e52beGitHubUnofficial GitHub source

A simple python script to check if a service is vulnerable

2023-04-212 files · 6 stars
monke443/cve-2023-27350
GH-3d4a770b69abdec3d0350e01243d96f6GitHubUnofficial GitHub source

Unauthenticated remote command execution in Papercut service allows an attacker to execute commands due to improper access controls in the SetupCompleted Java class.

2025-03-092 files · 4 stars
ap0dexme0/cve-2023-27350
GH-b017dd6df0058c9a5b97b21f796c09e9GitHubUnofficial GitHub source

Perfom With Massive Authentication Bypass In PaperCut MF/NG

2023-05-273 files · 2 stars
arojit/model-training-with-sft
GH-b3aeaf44f87a2547365562a1394a9031GitHubUnofficial GitHub source

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).

2025-08-296 files · 1 stars
0xb0y426/cve-2023-27350-poc
GH-638e87811c984e5b9cad898efadc4861GitHubUnofficial GitHub source

PoC for CVE-2023-27350

2025-04-142 files · 0 stars
arojit/cyber-expert-sft-rag-qwen
GH-bac78219414bf30be2c8842746c502a2GitHubUnofficial GitHub source

arojit/cyber-expert-sft-rag-qwen source repository

2025-08-308 files · 0 stars
dezso-dfield/cve-2023-27350
GH-bd26f9601748a2786b246df0376eec63GitHubUnofficial GitHub source

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.

2025-12-196 files · 0 stars