CVE-2025-22457: Subsequent Pre-Auth Root RCE via Stack Buffer Overflow in Ivanti Connect Secure (ICS / IPS / ZTA)
HERMES
HERMES THREAT SCORE & GATEWAY RE-COMPROMISE EXPOSURE
Target:Ivanti Connect Secure (prior to 22.7R2.6 / 22.7R1.4 / 22.8R2.2) Confidence: 99%
98 / 100
Dimension Breakdown
Exploitability 20 / 20
Threat Activity 20 / 20
Weaponization 20 / 20
Exposure 20 / 20
Prevalence 19 / 20
Impact 20 / 20
Exploit Maturity 20 / 20
Attack Chain Potential 20 / 20
Divergence & Operational Rationale
Hermes assesses CVE-2025-22457 at an HTS of 98 (CRITICAL SEVERITY). Discovered shortly after CVE-2025-0282, this subsequent stack buffer overflow allows attackers to regain full root control of Ivanti VPN gateways, actively targeting organizations that had just completed the previous patching cycle.
🕸️ Connected Knowledge Graph & Provenance
CVE-2025-22457: Subsequent Pre-Auth Root RCE via Stack Buffer Overflow in Ivanti Connect Secure (ICS / IPS / ZTA)VULNERABILITY
Connected Nodes: 2
Active Relationships (Outgoing)
→ affectsPRODUCTIvanti Connect Secure VPN
98% VERY_HIGH
Software platform affected by security vulnerabilities and agentic attack patterns.
🔍 Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in Ivanti Connect Secure VPN documented in Hermes dossier.”
Supporting Verified Evidence:
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
→ usesATTACK TECHNIQUET1059: Command and Scripting Interpreter
90% VERY_HIGH
Adversaries abuse command and script interpreters (Bash, Python, PowerShell) to execute arbitrary commands.
🔍 Why is this related? (Evidence & Provenance)
“Attack execution telemetry aligns with MITRE ATT&CK technique T1059.”
Supporting Verified Evidence:
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
1. Identification
Section titled “1. Identification”| Parameter | Technical Specification | Operational Impact |
|---|---|---|
| CVE Identifier | CVE-2025-22457 | Official NVD / MITRE record |
| Associated CWE | CWE-121: Stack-based Buffer Overflow | Out-of-bounds stack write during gateway request processing |
| CVSS v3.1 Score | 9.0 CRITICAL | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| CVSS v4.0 Score | 9.2 CRITICAL | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
| Applicable CPEs | cpe:2.3:a:ivanti:connect_secure:*:*:*:*:*:*:*:*cpe:2.3:a:ivanti:policy_secure:*:*:*:*:*:*:*:*cpe:2.3:a:ivanti:neurons_for_zero_trust_access:*:*:*:*:*:*:*:* | Remote access VPN and Zero Trust gateways |
| Affected Versions | ICS < 22.7R2.6, IPS < 22.7R1.4, ZTA < 22.8R2.2 | Appliances running post-CVE-2025-0282 builds |
| Fixed Versions | 22.7R2.6 (ICS), 22.7R1.4 (IPS), 22.8R2.2 (ZTA) | April 2025 security releases |
2. Exploitation
Section titled “2. Exploitation”- CISA KEV: Added on April 4, 2025 with 7-day federal remediation deadline (
ransomware = Known). - EPSS Score: 0.99980 (Percentile: 99.981% — aggressive re-exploitation).
- Operational Status: Confirmed global active exploitation reported by CISA, NCSC, and ANSSI.
- PoC & Weaponization: Refined ROP chain exploits enabling reliable root shell execution across hardened appliances.
- Access Conditions: Pre-authentication; direct network vector on HTTPS (port 443); medium complexity.
3. Threat Intelligence
Section titled “3. Threat Intelligence”- Threat Actors: Advanced state-sponsored espionage groups and ransomware syndicates capitalizing on patch lag.
- Observed Campaigns: Automated scanning and exploitation waves targeting appliances as soon as the vulnerability was announced.
- Associated Malware: In-memory stealth implants, persistent shell scripts, and kernel-level rootkits.
- Exploitation Timeline: Published by Ivanti on April 4, 2025, alongside emergency CISA directives.
4. Detection & Forensic Triage
Section titled “4. Detection & Forensic Triage”Indicators of Compromise (IOCs)
Section titled “Indicators of Compromise (IOCs)”- Anomalous Traffic: Malformed HTTPS requests with oversized headers targeting session management routines.
- Process Anomalies: Rogue background processes executing under
rootcommunicating with external IP addresses.
Sigma Rule
Section titled “Sigma Rule”title: Ivanti Connect Secure Subsequent Stack Overflow (CVE-2025-22457)id: a1b2c3d4-2245-4e78-9012-abcdef123456status: testdescription: Detects process crashes and execution anomalies on Ivanti web daemon following CVE-2025-0282 patchesreferences: - https://www.cisa.gov/cisa-mitigation-instructions-cve-2025-22457author: Hermes Codex Researchdate: 2026-09-10logsource: product: ivanti_connect_secure service: systemdetection: selection: event_type: 'process_crash' process_name: 'web' crash_reason|contains: 'stack smashing' condition: selectionfalsepositives: - Internal compilation or local patch debugging errorslevel: criticalYARA Signature
Section titled “YARA Signature”rule Exploit_Ivanti_Subsequent_Overflow_CVE_2025_22457 { meta: description = "Detects exploit payloads and artifacts targeting CVE-2025-22457" author = "Hermes Codex Research" date = "2026-09-10" reference = "CVE-2025-22457" strings: $header_sig = { 55 48 89 E5 48 81 EC ?? ?? 00 00 } $target_subsys = "/dana-ws/saml20" ascii $backdoor_cmd = "ncat -e /bin/sh" ascii condition: ($header_sig and $target_subsys) or $backdoor_cmd}Suricata / Snort Signature
Section titled “Suricata / Snort Signature”alert tcp $EXTERNAL_NET any -> $IVANTI_SERVERS 443 (msg:"HERMES - Ivanti Connect Secure Subsequent Stack Overflow Exploit (CVE-2025-22457)"; flow:to_server,established; content:"/dana-ws/"; http_uri; pcre:"/Cookie:\s*[^]{4096,}/H"; classtype:attempted-admin; sid:202522457; rev:1;)Logs & Forensic Artifacts
Section titled “Logs & Forensic Artifacts”- External ICT: Run the April 2025 release of the external Integrity Checker Tool.
- System Crash Logs: Check
/data/var/log/messagesforstack smashing detectedentries. - MITRE ATT&CK: T1190 (Exploit Public-Facing Application), T1059.004 (Unix Shell), T1078 (Valid Accounts), T1505.003 (Web Shell).
5. Remediation & Hardening
Section titled “5. Remediation & Hardening”- Apply Version 22.7R2.6 Immediately: Upgrade without delay to 22.7R2.6 (ICS), 22.7R1.4 (IPS), or 22.8R2.2 (ZTA).
- Run Full External ICT: Perform end-to-end integrity verification using the updated ICT package.
- Execute Factory Reset on Discrepancies: If any filesystem anomalies are found, reset the appliance to factory state.
- Rotate Cryptographic Secrets: Replace all digital certificates, private keys, and VPN authentication secrets.
- Enforce Boundary Ingress Filters: Restrict administrative portal access and implement strict geo-blocking.
6. Enterprise Impact Scenario
Section titled “6. Enterprise Impact Scenario””What happens if this vulnerability is exploited in an enterprise?”
Section titled “”What happens if this vulnerability is exploited in an enterprise?””
- Targeting the Patching Gap: The attacker targets an enterprise shortly after it applied patches for CVE-2025-0282, exploiting the false assumption of security.
- Pre-Auth Memory Corruption: The adversary submits crafted requests to SAML endpoints, triggering a stack buffer overflow and gaining unauthenticated root shell access.
- Re-establishing Persistent Backdoors: The threat actor reinstalls covert web shells and SSH keys removed during previous remediation work.
- Harvesting Authentication Credentials: By tapping internal memory buffers, the attacker intercepts corporate passwords and Kerberos tokens.
- Lateral Movement & Enterprise Lockout: The attacker pivots through VPN tunnels to branch offices and data centers, deploying ransomware across enterprise assets.