Iranian APTs Exploit PaperCut Vulnerability in Global Cyber Attacks
- Actor Motivations: Espionage,Exfiltration
- Attack Vectors: Vulnerability Exploitation,Backdoor
- Attack Complexity: Medium
- Threat Risk: High Impact/Low Probability
Threat Overview
On May 5–8, 2023, Microsoft Threat Intelligence reported that two Iranian state-backed groups had joined an ongoing wave of attacks targeting CVE-2023-27350, a pre-authentication critical remote code execution vulnerability (CVSS 9.8) in PaperCut MF and NG print management software versions 8.0 and later. The two groups are Mango Sandstorm (also known as Mercury or MuddyWater, linked to Iran's Ministry of Intelligence and Security/MOIS) and Mint Sandstorm (also known as Phosphorus or APT35, linked to Iran's Islamic Revolutionary Guard Corps/IRGC). Mint Sandstorm's exploitation was characterized as opportunistic, targeting organizations across multiple sectors and geographies without specific victim selection. Mango Sandstorm's activity was lower-volume, with operators reusing tools from prior intrusions to connect to existing C2 infrastructure — indicating the group was extending rather than initiating campaigns. The vulnerability had been disclosed in March 2023; public PoC exploits were released shortly after, enabling rapid threat actor adoption. Earlier exploitation was attributed to Lace Tempest (linked to Clop ransomware) and separately led to LockBit ransomware deployments. CISA added CVE-2023-27350 to its Known Exploited Vulnerabilities catalog on April 21, 2023, mandating federal agencies patch by May 12. VulnCheck subsequently documented a new exploitation method that bypassed existing detections, highlighting the difficulty of detection-only defenses. PaperCut is used by over 100 million users at 70,000+ organizations including large enterprises, government bodies, and educational institutions globally. Patched versions are 20.1.7, 21.2.11, and 22.0.9 and later.
Detected Targets
| Type | Description | Confidence |
|---|---|---|
| Sector | Government Agencies and Services | High |
| Sector | Education | High |
Exploited Vulnerabilities
FAQs
Frequently Asked Questions about Iranian APT Exploitation of CVE-2023-27350 in PaperCut
In May 2023, Microsoft revealed that two Iranian state-backed hacking groups — Mint Sandstorm (linked to Iran's IRGC) and Mango Sandstorm (linked to Iran's Ministry of Intelligence) — had joined an ongoing wave of attacks targeting CVE-2023-27350, a critical vulnerability in PaperCut print management software. The flaw allowed attackers to take over PaperCut servers without any credentials. Earlier exploitation had already been linked to the Clop and LockBit ransomware gangs. The Iranian groups used the same vulnerability to gain access to organizational networks across multiple sectors globally.
Two groups were identified. Mint Sandstorm (also known as Phosphorus or APT35) is linked to Iran's Islamic Revolutionary Guard Corps and is one of Iran's most active cyber-espionage actors. Mango Sandstorm (also known as Mercury or MuddyWater) is linked to Iran's Ministry of Intelligence and Security. Both groups are tracked by Microsoft as separate, distinct actors. Ransomware gangs — specifically Lace Tempest (linked to Clop) — also exploited the same vulnerability, making this a case where state-sponsored and criminal actors used the same flaw simultaneously.
For the Iranian groups, the primary goal was intelligence collection — gaining initial access to organizational networks through a widely deployed and trusted software product. Mint Sandstorm's opportunistic approach suggests the group was using PaperCut exploitation as a broad initial access mechanism to identify high-value targets for follow-on espionage. Mango Sandstorm focused on extending existing operations rather than initiating new campaigns. Separately, ransomware actors were using the same vulnerability for financial extortion through Clop and LockBit ransomware deployments.
The scope was very broad. PaperCut software is used by over 100 million users at more than 70,000 organizations globally — including large enterprises, universities, hospitals, and government agencies. Mint Sandstorm's exploitation was described as opportunistic, meaning it targeted organizations across multiple sectors and geographies without specific victim selection. Any organization running an unpatched, internet-accessible PaperCut server was at risk. CISA added the vulnerability to its Known Exploited Vulnerabilities catalog on April 21, 2023, confirming active exploitation at scale.
Any organization using PaperCut MF or NG software was potentially at risk, given the opportunistic nature of the exploitation. PaperCut is especially common in universities, schools, government agencies, healthcare organizations, and large enterprises — all of which use the software for print management. Educational institutions and government bodies were specifically noted as high-risk targets given the software's widespread adoption in those sectors.
CVE-2023-27350 is a pre-authentication remote code execution vulnerability — meaning an attacker doesn't need any username or password to exploit it. By sending a specially crafted HTTP request to a PaperCut server's admin interface (typically accessible on port 9191 or 9192), an attacker can execute arbitrary code on the server with the same privileges as the PaperCut application. From there, they can download and deploy additional tools, establish persistence, move laterally through the network, and exfiltrate data. Public proof-of-concept exploits were released after disclosure, allowing threat actors to rapidly integrate the attack into their operations.
PaperCut is a widely trusted, ubiquitous print management platform used by large numbers of organizations across government, education, and enterprise. Its broad deployment — 100 million users at 70,000+ organizations — makes it an ideal mass exploitation target. For Iranian state-sponsored actors, opportunistic exploitation of widely deployed software provides a rapid, low-effort path into many different organizations simultaneously, allowing them to identify and prioritize high-value intelligence targets from a large pool of initial access victims. The pre-authentication nature of the flaw made exploitation trivial and the public PoC eliminated the need for custom exploit development.
Patch immediately. The fixed versions are PaperCut MF and NG 20.1.7, 21.2.11, and 22.0.9 (or later). If patching right away is not possible, restrict access to the PaperCut admin interface (ports 9191 and 9192) to trusted internal IP addresses only — this removes the remote attack surface. Review PaperCut server logs for unusual script execution originating from the application's service account. Deploy behavioral detection rules that look for unexpected child processes spawned by PaperCut, rather than relying solely on network signatures — VulnCheck demonstrated that signature-based detection can be bypassed. Check compromised servers for unknown tools, PowerShell downloaders, or backdoors. Any organization that ran an unpatched PaperCut server exposed to the internet during April–May 2023 should treat it as potentially compromised and conduct a thorough incident response investigation.