Skip to content

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
CRITICAL

Measures real-world operational relevance, exploit weaponization, and active threat posture.

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:
→ 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:
ParameterTechnical SpecificationOperational Impact
CVE IdentifierCVE-2025-22457Official NVD / MITRE record
Associated CWECWE-121: Stack-based Buffer OverflowOut-of-bounds stack write during gateway request processing
CVSS v3.1 Score9.0 CRITICALCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0 Score9.2 CRITICALCVSS: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 CPEscpe: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 VersionsICS < 22.7R2.6, IPS < 22.7R1.4, ZTA < 22.8R2.2Appliances running post-CVE-2025-0282 builds
Fixed Versions22.7R2.6 (ICS), 22.7R1.4 (IPS), 22.8R2.2 (ZTA)April 2025 security releases

  • 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.

  • 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.

  • Anomalous Traffic: Malformed HTTPS requests with oversized headers targeting session management routines.
  • Process Anomalies: Rogue background processes executing under root communicating with external IP addresses.
title: Ivanti Connect Secure Subsequent Stack Overflow (CVE-2025-22457)
id: a1b2c3d4-2245-4e78-9012-abcdef123456
status: test
description: Detects process crashes and execution anomalies on Ivanti web daemon following CVE-2025-0282 patches
references:
- https://www.cisa.gov/cisa-mitigation-instructions-cve-2025-22457
author: Hermes Codex Research
date: 2026-09-10
logsource:
product: ivanti_connect_secure
service: system
detection:
selection:
event_type: 'process_crash'
process_name: 'web'
crash_reason|contains: 'stack smashing'
condition: selection
falsepositives:
- Internal compilation or local patch debugging errors
level: critical
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
}
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;)
  • External ICT: Run the April 2025 release of the external Integrity Checker Tool.
  • System Crash Logs: Check /data/var/log/messages for stack smashing detected entries.
  • MITRE ATT&CK: T1190 (Exploit Public-Facing Application), T1059.004 (Unix Shell), T1078 (Valid Accounts), T1505.003 (Web Shell).

  1. Apply Version 22.7R2.6 Immediately: Upgrade without delay to 22.7R2.6 (ICS), 22.7R1.4 (IPS), or 22.8R2.2 (ZTA).
  2. Run Full External ICT: Perform end-to-end integrity verification using the updated ICT package.
  3. Execute Factory Reset on Discrepancies: If any filesystem anomalies are found, reset the appliance to factory state.
  4. Rotate Cryptographic Secrets: Replace all digital certificates, private keys, and VPN authentication secrets.
  5. Enforce Boundary Ingress Filters: Restrict administrative portal access and implement strict geo-blocking.

”What happens if this vulnerability is exploited in an enterprise?”

Section titled “”What happens if this vulnerability is exploited in an enterprise?””
  1. Targeting the Patching Gap: The attacker targets an enterprise shortly after it applied patches for CVE-2025-0282, exploiting the false assumption of security.
  2. Pre-Auth Memory Corruption: The adversary submits crafted requests to SAML endpoints, triggering a stack buffer overflow and gaining unauthenticated root shell access.
  3. Re-establishing Persistent Backdoors: The threat actor reinstalls covert web shells and SSH keys removed during previous remediation work.
  4. Harvesting Authentication Credentials: By tapping internal memory buffers, the attacker intercepts corporate passwords and Kerberos tokens.
  5. Lateral Movement & Enterprise Lockout: The attacker pivots through VPN tunnels to branch offices and data centers, deploying ransomware across enterprise assets.