Detect CVE-2023-27351 - PaperCut NG/MF Improper Authentication Exploitation in CrowdStrike LogScale
Detects exploitation attempts targeting CVE-2023-27351, an improper authentication vulnerability (CWE-287) in PaperCut NG/MF print management software. This CISA KEV-listed vulnerability allows unauthenticated attackers to bypass authentication controls, potentially enabling unauthorized access to the PaperCut administration interface and sensitive print management data. Threat actors have actively exploited PaperCut vulnerabilities in the wild for initial access and lateral movement.
MITRE ATT&CK
LogScale Detection Query
#event_simpleName=NetworkConnectIP4
| filter LocalPort IN (9191, 9192) OR RemotePort IN (9191, 9192)
| join
(
#event_simpleName=HttpRequest
| filter TargetUrl CONTAINS "/rpc/api/json" OR TargetUrl CONTAINS "/app?service=" OR TargetUrl CONTAINS "/health-check"
| filter HttpStatusCode IN (200, 302)
| filter HttpMethod IN ("POST", "GET")
) [LocalAddressIP4]
| eval papercut_exploit_indicator = if(
HttpMethod = "POST" AND TargetUrl CONTAINS "/rpc/api/json" AND HttpStatusCode = 200,
"high_confidence", "medium_confidence"
)
| stats
count() AS request_count,
min(timestamp) AS first_seen,
max(timestamp) AS last_seen,
values(TargetUrl) AS accessed_urls
BY RemoteAddressIP4, LocalAddressIP4, HttpMethod, HttpStatusCode, papercut_exploit_indicator
| sort -request_count Correlates CrowdStrike network connection and HTTP request events to identify PaperCut NG/MF authentication bypass attempts via CVE-2023-27351, focusing on connections to PaperCut ports with suspicious endpoint access patterns.
Data Sources
Required Tables
False Positives & Tuning
- Legitimate PaperCut administrative workflows generating HTTP requests to management APIs
- Endpoint agents performing automated PaperCut software inventory or compliance checks
- Internal vulnerability management platforms scanning for CVE-2023-27351 patch status
Other platforms for CVE-2023-27351
Testing Methodology
Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1CVE-2023-27351 Unauthenticated Health Check Probe
Expected signal: HTTP GET request to /health-check and /api/health on port 9191 from test host IP, HTTP 200 response in web server logs.
- Test 2CVE-2023-27351 Unauthenticated RPC API Call
Expected signal: POST request to /rpc/api/json on port 9191 with Content-Type: application/json header, HTTP 200 response with JSON body in web server logs if vulnerable.
- Test 3CVE-2023-27351 Admin Setup Page Access Attempt
Expected signal: GET request to /app with query parameter service=page/SetupCompleted on port 9191, HTTP response code logged in IIS or PaperCut access logs.
- Test 4CVE-2023-27351 Rapid Sequential Endpoint Enumeration
Expected signal: Multiple sequential HTTP requests to PaperCut endpoints within a short timeframe from a single source IP, visible in web server access logs with timestamps.
Unlock Pro Content
Get the full detection package for CVE-2023-27351 including response playbook, investigation guide, and atomic red team tests.