PoC Monitor
← All CVEs
CVE-2023-27350published 20 Apr 2023 00:00 UTCData: JSON · API

PaperCut NG

PaperCut MF/NG Improper Access Control Vulnerability

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.

First public PoC 1.4 daysafter publication · 21 Apr 2023
Public PoCs2117 on GitHub · 4 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CNA · CWE-284
CISA KEV 21 Apr 20231 day after publication · ransomware use known

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published20 Apr 2023 · t = 0Added to CISA KEV21 Apr 2023 · t+1dFirst public PoC21 Apr 2023 · t+1.4d

First public PoC 1.4 days after publication; added to CISA KEV 1 day after publication. First PoC: MaanVader/CVE-2023-27350-POC (created 21 Apr 2023, found by us: backfilled).

PoC repositories

Found on GitHub.

17 PoCs · 3 informational · 2 suspicious or fake

PoCs 17
RepositoryCreatedStarsAssessment
MaanVader/CVE-2023-27350-POC 21 Apr 2023 +1.4 d 6 PoC
0ximan1337/CVE-2023-27350-POC 21 Apr 2023 +1.8 d 12 PoC
TamingSariMY/CVE-2023-27350-POC 21 Apr 2023 +1.8 d 12 PoC
imancybersecurity/CVE-2023-27350-POC 21 Apr 2023 +1.8 d 12 PoC
horizon3ai/CVE-2023-27350 22 Apr 2023 +2.9 d 57 PoC
adhikara13/CVE-2023-27350 25 Apr 2023 +5.9 d 9 PoC
Ap0dexMe0/CVE-2023-27350 27 May 2023 +37 d 2 PoC
Pari-Malam/CVE-2023-27350 27 May 2023 +37 d 2 PoC
ThatNotEasy/CVE-2023-27350 27 May 2023 +37 d 2 PoC
Jenderal92/CVE-2023-27350 13 Jun 2023 +55 d 0 PoC
monke443/CVE-2023-27350 9 Mar 2025 +1.9 y 4 PoC
leejeeho6661/cve 2 Apr 2025 +2.0 y 0 PoC
0xB0y426/CVE-2023-27350-PoC 14 Apr 2025 +2.0 y 0 PoC
Royall-Researchers/CVE-2023-27350 5 Jul 2025 +2.2 y 0 PoC
dezso-dfield/CVE-2023-27350 19 Dec 2025 +2.7 y 0 PoC
joaoaugustom/PaperCut-Authentication_Bypass_and_RCE 30 May 2026 +3.1 y 0 PoC
HORKimhab/CVE-2023-27350-CVE-2023-27351 28 Aug 2026 +3.4 y 0 PoC
Informational 3
RepositoryCreatedStarsAssessment
ASG-CASTLE/CVE-2023-27350 19 Apr 2024 +1.0 y 0 Informational · write-up
rasan2001/CVE-2023-27350 10 May 2024 +1.1 y 0 Informational · write-up
rasan2001/CVE-2023-27350-Ongoing-Exploitation-of-PaperCut-Remote-Code-Execution-Vulnerability 10 May 2024 +1.1 y 0 Informational · write-up
Suspicious or fake 2
RepositoryCreatedStarsAssessment
getdrive/PoC 5 Aug 2023 +107 d 74 Fake
chengbochuan3/CVE-Enterprise-Software 13 Aug 2026 +3.3 y 0 Fake

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 17 PoC repos

GET /app

Query
service=page/SetupCompleted service=page/PrinterList service=direct/1/PrinterList/selectPrinter sp=l1001
Key headers
# 'accept-Encoding': gzip, deflate, br # 'cookie': wordpress_test_cookie=WP%20Cookie%20check; slimstat_tracking_code=3386.b77ee445be809a12d617d72914d52783 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Origin: {var} Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: same-origin Sec-Fetch-User: ?1 Upgrade-Insecure-Requests: 1
Body markers
service=direct/1/SetupCompleted/$Form sp=S0 Form0=$Hidden,analyticsEnabled,$Submit $Hidden=true $Submit=Login service=page/PrinterList service=direct/1/PrinterList/selectPrinter sp=l1001 service=direct/1/PrinterDetails/printerOptionsTab.tab sp=4 in application/x-www-form-urlencoded
Ports
8080, 8081, 9191
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0
Seen in
15 repos: 0xB0y426/CVE-2023-27350-PoC, 0ximan1337/CVE-2023-27350-POC, Ap0dexMe0/CVE-2023-27350, Jenderal92/CVE-2023-27350, MaanVader/CVE-2023-27350-POC, Pari-Malam/CVE-2023-27350, Royall-Researchers/CVE-2023-27350, TamingSariMY/CVE-2023-27350-POC, ThatNotEasy/CVE-2023-27350, adhikara13/CVE-2023-27350, horizon3ai/CVE-2023-27350, imancybersecurity/CVE-2023-27350-POC, joaoaugustom/PaperCut-Authentication_Bypass_and_RCE, leejeeho6661/cve, monke443/CVE-2023-27350
Evidence
0xB0y426/CVE-2023-27350-PoC/cve-2023-27350.py:22 0ximan1337/CVE-2023-27350-POC/vuln.py:13 Ap0dexMe0/CVE-2023-27350/papercut.py:53 Jenderal92/CVE-2023-27350/papercutauth.py:35 MaanVader/CVE-2023-27350-POC/find-vuln-ver.py:8 Pari-Malam/CVE-2023-27350/papercut.py:53

POST /app

Key headers
Origin: {var}
Body markers
service=direct/1/SetupCompleted/$Form sp=S0 Form0=$Hidden,analyticsEnabled,$Submit $Hidden=true $Submit=Login service=direct/1/ConfigEditor/quickFindForm Form0=$TextField,doQuickFind,clear $TextField= doQuickFind=Go service=direct/1/ConfigEditor/$Form sp=S1 Form1=$TextField$0,$Submit,$Submit$0 $TextField$0= $Submit=Update service=direct/1/PrinterDetails/$PrinterDetailsScript.$Form Form0=printerId,enablePrintScript,scriptBody,$Submit,$Submit$0 printerId=l1001 enablePrintScript=on scriptBody=""function printJobHook(inputs, actions) $Submit$1=Apply $TextField=print-and-device.script.enabled $TextField$0=Y $TextField=print.script.sandboxed $TextField$0=N Form0=printerId,enablePrintScript,scriptBody,$Submit,$Submit$0,$Submit$1 scriptBody=function printJobHook(inputs, actions) in application/x-www-form-urlencoded
Ports
8080, 8081, 9191
Seen in
6 repos: Royall-Researchers/CVE-2023-27350, adhikara13/CVE-2023-27350, horizon3ai/CVE-2023-27350, joaoaugustom/PaperCut-Authentication_Bypass_and_RCE, leejeeho6661/cve, monke443/CVE-2023-27350
Evidence
Royall-Researchers/CVE-2023-27350/CVE-2023-27350.py:18 Royall-Researchers/CVE-2023-27350/CVE-2023-27350.py:36 Royall-Researchers/CVE-2023-27350/CVE-2023-27350.py:45 Royall-Researchers/CVE-2023-27350/CVE-2023-27350.py:78 adhikara13/CVE-2023-27350/CVE-2023-27350.py:42 adhikara13/CVE-2023-27350/CVE-2023-27350.py:60

GET /wp-admin/

Ports
8080, 9191
Seen in
1 repo: leejeeho6661/cve
Evidence
leejeeho6661/cve/2024-0757.py:35

GET /wp-admin/post-new.php

Ports
8080, 9191
Seen in
1 repo: leejeeho6661/cve
Evidence
leejeeho6661/cve/2024-0757.py:41

POST /wp-admin/admin-ajax.php

Body markers
log= pwd= wp-submit=Log In redirect_to= testcookie=1 in application/x-www-form-urlencoded
Ports
8080, 9191
Seen in
1 repo: leejeeho6661/cve
Evidence
leejeeho6661/cve/2024-0757.py:73

POST /wp-login.php

Body markers
log= pwd= wp-submit=Log In redirect_to= testcookie=1 in application/x-www-form-urlencoded
Ports
8080, 9191
Seen in
1 repo: leejeeho6661/cve
Evidence
leejeeho6661/cve/2024-0757.py:32

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /app
(?i)^/app\?(?:.*&)?service=page/SetupCompleted.*service=page/PrinterList.*service=direct/1/PrinterList/selectPrinter.*sp=l1001
POST /app
(?i)^/app(?:[?#].*)?$
GET /%A");
(?i)^/%A"\);(?:[?#].*)?$
GET /wp-admin/
(?i)^/wp-admin/(?:[?#].*)?$
GET /wp-admin/post-new.php
(?i)^/wp-admin/post-new\.php(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /app
alert http any any -> $HOME_NET [8080,8081,9191] (msg:"GG PoC-Monitor CVE-2023-27350 PaperCut NG exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/app"; http.uri; content:"service=page/SetupCompleted"; http.uri; content:"service=page/PrinterList"; http.uri; content:"service=direct/1/PrinterList/selectPrinter"; http.uri; content:"sp=l1001"; http.header; content:"# 'accept-Encoding': gzip, deflate, br"; nocase; http.header; content:"# 'cookie': wordpress_test_cookie=WP%20Cookie%20check|3b| slimstat_tracking_code=3386.b77ee445be809a12d617d72914d52783"; nocase; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/avif,image/webp,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header_names; content:"Origin"; nocase; http.header; content:"Sec-Fetch-Dest: document"; nocase; http.header; content:"Sec-Fetch-Mode: navigate"; nocase; http.header; content:"Sec-Fetch-Site: same-origin"; nocase; http.header; content:"Sec-Fetch-User: ?1"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"service=direct/1/SetupCompleted/$Form"; http.request_body; content:"sp=S0"; http.request_body; content:"Form0=$Hidden,analyticsEnabled,$Submit"; http.request_body; content:"$Hidden=true"; http.request_body; content:"$Submit=Login"; http.request_body; content:"service=page/PrinterList"; http.request_body; content:"service=direct/1/PrinterList/selectPrinter"; http.request_body; content:"sp=l1001"; http.request_body; content:"service=direct/1/PrinterDetails/printerOptionsTab.tab"; http.request_body; content:"sp=4"; reference:url,poc.griffinguard.io/cve/CVE-2023-27350; classtype:web-application-attack; sid:9026033; rev:1;)
POST /app
alert http any any -> $HOME_NET [8080,8081,9191] (msg:"GG PoC-Monitor CVE-2023-27350 PaperCut NG exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/app"; http.header_names; content:"Origin"; nocase; http.request_body; content:"service=direct/1/SetupCompleted/$Form"; http.request_body; content:"sp=S0"; http.request_body; content:"Form0=$Hidden,analyticsEnabled,$Submit"; http.request_body; content:"$Hidden=true"; http.request_body; content:"$Submit=Login"; http.request_body; content:"service=direct/1/ConfigEditor/quickFindForm"; http.request_body; content:"Form0=$TextField,doQuickFind,clear"; http.request_body; content:"$TextField="; http.request_body; content:"doQuickFind=Go"; http.request_body; content:"service=direct/1/ConfigEditor/$Form"; http.request_body; content:"sp=S1"; http.request_body; content:"Form1=$TextField$0,$Submit,$Submit$0"; http.request_body; content:"$TextField$0="; http.request_body; content:"$Submit=Update"; http.request_body; content:"service=direct/1/PrinterDetails/$PrinterDetailsScript.$Form"; http.request_body; content:"Form0=printerId,enablePrintScript,scriptBody,$Submit,$Submit$0"; http.request_body; content:"printerId=l1001"; http.request_body; content:"enablePrintScript=on"; http.request_body; content:"scriptBody=|22||22|function printJobHook(inputs, actions)"; http.request_body; content:"$Submit$1=Apply"; http.request_body; content:"$TextField=print-and-device.script.enabled"; http.request_body; content:"$TextField$0=Y"; http.request_body; content:"$TextField=print.script.sandboxed"; http.request_body; content:"$TextField$0=N"; http.request_body; content:"Form0=printerId,enablePrintScript,scriptBody,$Submit,$Submit$0,$Submit$1"; http.request_body; content:"scriptBody=function printJobHook(inputs, actions)"; reference:url,poc.griffinguard.io/cve/CVE-2023-27350; classtype:web-application-attack; sid:9318289; rev:1;)
GET /%A");
alert http any any -> $HOME_NET [8081] (msg:"GG PoC-Monitor CVE-2023-27350 PaperCut NG exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/%A|22|)|3b|"; reference:url,poc.griffinguard.io/cve/CVE-2023-27350; classtype:web-application-attack; sid:9084182; rev:1;)
GET /wp-admin/
alert http any any -> $HOME_NET [8080,9191] (msg:"GG PoC-Monitor CVE-2023-27350 PaperCut NG exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-admin/"; reference:url,poc.griffinguard.io/cve/CVE-2023-27350; classtype:web-application-attack; sid:9309512; rev:1;)
GET /wp-admin/post-new.php
alert http any any -> $HOME_NET [8080,9191] (msg:"GG PoC-Monitor CVE-2023-27350 PaperCut NG exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-admin/post-new.php"; reference:url,poc.griffinguard.io/cve/CVE-2023-27350; classtype:web-application-attack; sid:9237743; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /app
title: PaperCut NG exploit attempt (CVE-2023-27350)
id: gg-pocmon-cve-2023-27350-9026033
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-27350. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2023-27350
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/app'
    cs-uri-query|contains|all:
      - 'service=page/SetupCompleted'
      - 'service=page/PrinterList'
      - 'service=direct/1/PrinterList/selectPrinter'
      - 'sp=l1001'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2023.27350
POST /app
title: PaperCut NG exploit attempt (CVE-2023-27350)
id: gg-pocmon-cve-2023-27350-9318289
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-27350. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2023-27350
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/app'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2023.27350
GET /%A");
title: PaperCut NG exploit attempt (CVE-2023-27350)
id: gg-pocmon-cve-2023-27350-9084182
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-27350. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2023-27350
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/%A");'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2023.27350
GET /wp-admin/
title: PaperCut NG exploit attempt (CVE-2023-27350)
id: gg-pocmon-cve-2023-27350-9309512
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-27350. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2023-27350
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/wp-admin/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2023.27350
GET /wp-admin/post-new.php
title: PaperCut NG exploit attempt (CVE-2023-27350)
id: gg-pocmon-cve-2023-27350-9237743
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-27350. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2023-27350
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/wp-admin/post-new.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2023.27350