UNC5221 Exploits Ivanti Connect Secure Flaw CVE-2025-22457
CVE-2025-22457 is a critical stack-based buffer overflow (CVSS 9.0) in Ivanti Connect Secure, Policy Secure and ZTA Gateways that lets an unauthenticated attacker run code remotely. Ivanti fixed Connect Secure in version 22.7R2.6 on 11 February 2025, at first treating the bug as a denial of service issue.
Topic: Cyber Threats, Scams & Online Safety in Cybersecurity & Ethical Hacking · News & analysis
Quick answer: CVE-2025-22457 is a critical stack-based buffer overflow (CVSS 9.0) in Ivanti Connect Secure, Policy Secure and ZTA Gateways that lets an unauthenticated attacker run code remotely. Ivanti fixed Connect Secure in version 22.7R2.6 on 11 February 2025, at first treating the bug as a denial of service issue. On 3 April 2025 Google Threat Intelligence Group (GTIG) and Mandiant reported that UNC5221, a suspected China-nexus espionage group, had exploited it since mid-March 2025 to deploy the TRAILBLAZE dropper and BRUSHFIRE backdoor. CISA added it to the KEV catalogue on 4 April 2025. Upgrade, run the Integrity Checker Tool and retire end-of-support Pulse Connect Secure 9.x devices.
Key takeaways
- The flaw allows unauthenticated remote code execution on VPN appliances.
- Connect Secure 22.7R2.6 or later fixes it; the patch shipped on 11 February 2025.
- Exploitation was first observed in mid-March 2025, mostly against unpatched and legacy devices.
- Pulse Connect Secure 9.1x reached end of support and will not get a fix.
- Patching alone is not enough if a device was already compromised; check integrity and rotate secrets.
Table of Contents
- What happened with CVE-2025-22457?
- Which versions are affected and fixed?
- Who is UNC5221 and what malware did it use?
- Who is affected?
- How do you check if your appliance was compromised?
- How do you fix and harden Ivanti appliances?
- What should Indian organisations do?
- References
What happened with CVE-2025-22457?
Ivanti published an advisory on 3 April 2025 for a buffer overflow in the web component of its secure access gateways. The bug sits in how the appliance processes a header value. Ivanti had already changed the code in Connect Secure 22.7R2.6 in February 2025, but the issue was first judged to be a low-risk denial of service because the overflow only accepted a narrow set of characters. Attackers proved otherwise.
The same day, the GTIG and Mandiant report said exploitation began in mid-March 2025. Mandiant assessed that the actor likely studied the February patch to work out that the bug could be used for code execution. CISA added the CVE to the Known Exploited Vulnerabilities catalogue on 4 April 2025 with a remediation due date of 11 April for US federal agencies.
Which versions are affected and fixed?
| Product | Affected | Fixed version | Fix date |
|---|---|---|---|
| Ivanti Connect Secure | 22.7R2.5 and earlier | 22.7R2.6 | 11 February 2025 |
| Pulse Connect Secure | 9.1R18.9 and earlier | None (end of support) | Migrate to a supported release |
| Ivanti Policy Secure | 22.7R1.3 and earlier | 22.7R1.4 | 21 April 2025 |
| Ivanti ZTA Gateways | 22.8R2 and earlier | 22.8R2.2 | 19 April 2025 |
The versions match the Canadian Centre for Cyber Security alert and CERT-EU advisory 2025-016. Policy Secure is not meant to face the internet, which lowers its exposure. Always check the current Ivanti advisory, since later 2025 releases fixed further CVEs.
Who is UNC5221 and what malware did it use?
UNC5221 is the name Mandiant uses for a suspected China-nexus espionage cluster with a long record of targeting edge devices, including earlier Ivanti zero-days in 2024. GTIG described two new malware families in this campaign:
| Malware | Type | Role |
|---|---|---|
| TRAILBLAZE | In-memory dropper | Injects code into the appliance web process |
| BRUSHFIRE | Passive backdoor | Waits for specially crafted requests and runs attacker commands |
| SPAWN family | Known ecosystem | Log tampering, tunnelling and persistence tools seen before |
The initial access technique maps to MITRE ATT&CK T1190, Exploit Public-Facing Application.
Who is affected?
Any organisation running an internet-facing Connect Secure appliance below 22.7R2.6, or any Pulse Connect Secure 9.x device, should treat itself as exposed. Ivanti said at disclosure that a limited number of customers had been exploited. No verified public list of victims exists, so this post does not name any.
How do you check if your appliance was compromised?
- Confirm the running version in the admin console and compare it with the table above.
- Run Ivanti's external Integrity Checker Tool (ICT) as advised in CISA's mitigation instructions, and review periodic internal ICT results.
- Look for web server crashes and unexpected process restarts, which GTIG flagged as a possible sign of exploitation attempts.
- Hunt for the indicators of compromise published in the GTIG report across firewall, proxy and SIEM logs.
How do you fix and harden Ivanti appliances?
- Upgrade Connect Secure to 22.7R2.6 or a later supported release.
- If ICT shows signs of compromise, follow CISA's guidance: factory reset, rebuild on a clean image, and treat the device as fully compromised.
- Reset credentials and secrets stored on or passing through the appliance, including service accounts and API keys.
- Replace Pulse Connect Secure 9.x, which no longer receives patches.
- Restrict admin interfaces to management networks and forward appliance logs to a central store.
What should Indian organisations do?
Exploitation of a VPN gateway is a reportable incident. The CERT-In directions of April 2022 require reporting within 6 hours and keeping ICT logs for 180 days within India. If personal data was reachable through the VPN, also assess obligations under the DPDP Act 2023. For background on similar state-linked campaigns, see our analysis of Chinese hackers breaching US telecom networks and our guide to how exposed remote access leads to breaches. Teams that want hands-on incident response and patch management skills can ask about our SOC analyst training.
References
- GTIG and Mandiant, China-nexus exploitation of CVE-2025-22457
- CISA, Mitigation instructions for CVE-2025-22457
- CISA, Known Exploited Vulnerabilities catalogue
- NVD, CVE-2025-22457
- Canadian Centre for Cyber Security alert
- CERT-EU Security Advisory 2025-016
- MITRE ATT&CK T1190
- CERT-In directions, 28 April 2022
Frequently Asked Questions
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0