PaperCut NG authentication bypass exploited in the wild (CVE-2023-27351)
CVE-2023-27351
Actively exploited PaperCut CVE-2023-27351 bypasses authentication, giving attackers admin access to NG and MF. Update to NG 22.0.9 or MF 22.0.8 immediately.
Actively exploited in the wild - CVE-2023-27351 is a high-severity authentication bypass in PaperCut NG before 22.0.9 and MF before 22.0.8 that grants remote attackers administrative access without credentials. Update immediately to block active exploitation.
Overview
CVE-2023-27351 is a critical authentication bypass vulnerability in PaperCut NG and MF. The flaw resides in the SecurityRequestFilter class, where an improper implementation of the authentication algorithm allows a remote attacker to gain access to the system without providing any valid credentials. This vulnerability is confirmed to be actively exploited by threat actors.
Affected Products and Impact
The vulnerability affects PaperCut NG and PaperCut MF versions. Specifically, the initial advisory highlighted PaperCut NG version 22.0.5 (Build 63914), but multiple versions before 22.0.9 (for NG) and 22.0.8 (for MF) are vulnerable.
An attacker exploiting this vulnerability can bypass the login screen entirely, gaining unauthorized access to the PaperCut application server with administrative privileges. Once inside, an attacker can perform any administrative action, which may include accessing and exfiltrating sensitive user data, changing system configurations, deploying malicious software, and using the server as a foothold for further attacks within the network. The attack requires no user interaction and can be performed over the network.
Remediation and Mitigation
The primary and most urgent action is to apply the vendor-provided patch.
- Update Immediately: Upgrade PaperCut NG to version 22.0.9 or later, and PaperCut MF to version 22.0.8 or later. These versions contain the necessary fix. Consult the official PaperCut security advisory for detailed version information and download links.
- Network Segmentation: If immediate patching is not possible, ensure the PaperCut application server is not directly exposed to the internet. Restrict network access to the server’s web ports (typically 9191 and 9192) using firewalls, allowing connections only from trusted internal networks.
- Monitor for Compromise: Given the active exploitation, organizations running affected versions should review server logs for suspicious activity, such as unexpected administrative logins or configuration changes. Monitor for related threat intelligence and indicators of compromise (IOCs).
For more on how such vulnerabilities lead to incidents, see our breach reports.
Security Insight
This vulnerability underscores the persistent criticality of seemingly “simple” logic flaws in authentication frameworks. Unlike complex memory corruption bugs, this bypass stems from a flawed algorithm implementation, making it highly reliable for attackers to weaponize. Its inclusion on CISA’s Known Exploited Vulnerabilities catalog, alongside its high EPSS score, reflects its low barrier to exploitation and high utility in ransomware and data theft campaigns, mirroring the exploitation pattern of similar authentication bypasses in other network appliances.
Further Reading
Never miss a critical vulnerability
Get real-time security alerts delivered to your preferred platform.
Nuclei Detection Templates
Detection template available — your exposure is being scanned
The templates below are YAML signatures for the Nuclei scanner from ProjectDiscovery. They are not exploit code — they are detection rules that confirm whether a target is vulnerable. The presence of a Nuclei template means every bug bounty hunter, AppSec team, red team, and reconnaissance pipeline on the public internet is actively probing for this CVE.
Assume your exposed instances have already been touched. Patch immediately even if no exploitation is observed yet — fingerprinting precedes exploitation by days at most.
| Template | Source |
|---|---|
CVE-2023-27351.yaml | View YAML |
1 Nuclei template indexed for this CVE. Source: projectdiscovery/nuclei-templates.
Related Advisories
An improper access control vulnerability exists in the web management interface of PaperCut MF and PaperCut NG. Under specific conditions, unauthenticated remote requests targeting administrative func...
An unsafe dynamic class loading vulnerability exists in the database connection utilities of PaperCut MF and PaperCut NG. The application instantiates database driver classes based on configurable dri...
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.84.0, LiteLLM's MCP Streamable HTTP endpoint allowed an unauthenticated attacker to use a fabricated Au...
A vulnerability was identified in kodcloud KodExplorer up to 4.52. This impacts the function fileGet of the file /app/controller/share.class.php of the component fileGet Endpoint. Such manipulation of...
Related Across Yazoul
Other Papercut Mf Vulnerabilities
An improper access control vulnerability exists in the web management interface of PaperCut MF and PaperCut NG. Under specific conditions, unauthenticated remote requests targeting administrative func...
An unsafe dynamic class loading vulnerability exists in the database connection utilities of PaperCut MF and PaperCut NG. The application instantiates database driver classes based on configurable dri...