Unauthenticated RCE in Ivanti Connect Secure, Policy Secure, and ZTA Gateways
CVE-2025-22457 is a critical stack-based buffer overflow vulnerability affecting Ivanti Connect Secure before 22.7R2.6, Ivanti Policy Secure before 22.7R1.4, and Ivanti ZTA Gateways before 22.8R2.2. The provided content also indicates exposure in end-of-life Pulse Connect Secure 9.1x. The flaw is described as occurring during X-Forwarded-For header processing and can be triggered remotely without authentication. Although initially assessed as a denial-of-service issue, subsequent analysis and in-the-wild exploitation showed that the memory corruption is exploitable for remote code execution.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
3 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (2 hidden).
This repository contains a working exploit for CVE-2025-22457, a critical unauthenticated remote code execution vulnerability affecting Ivanti Connect Secure, Policy Secure, ZTA Gateways, and Pulse Connect Secure appliances. The exploit is implemented in Ruby (CVE-2025-22457.rb) and is accompanied by a detailed README.md explaining affected versions, exploitation steps, and mitigation advice. The exploit works by sending crafted HTTP/HTTPS requests to the target's web interface, fingerprinting the product version, and then performing a heap spray and buffer overflow attack against the /home/bin/web process, leveraging ROP gadgets in /home/lib/libdsplibs.so. The attacker must provide their own IP and port for the reverse shell payload, which is a standard bash reverse shell. The exploit brute-forces the base address of the target library unless provided directly, and can be tuned for the number of web child processes on the appliance. The code is operational and provides a real reverse shell if successful, but requires the attacker to have network access to the target's HTTPS port and to set up a listener. The exploit is not part of a framework and is a standalone PoC with a customizable payload. The endpoints targeted are the Ivanti web interface and specific internal files/processes on the appliance.
This repository contains a proof-of-concept (PoC) exploit for CVE-2025-22457, a remote unauthenticated stack-based buffer overflow affecting Ivanti Connect Secure, Pulse Connect Secure, Ivanti Policy Secure, and ZTA Gateways (version 22.7r2.4). The main exploit is implemented in Ruby (CVE-2025-22457-main/CVE-2025-22457.rb) and leverages a network-based attack vector over HTTPS. The exploit works by brute-forcing the base address of a shared library (libdsplibs.so) and performing heap spraying to ensure reliable exploitation across multiple web child processes. Upon successful exploitation, the script executes a user-supplied payload (default: a bash reverse shell) on the target, granting remote shell access as the 'nr' user. The repository includes detailed usage instructions, debugging tips, and information about the target environment. No detection scripts or fake code are present; this is a functional PoC exploit.
This repository contains a proof-of-concept (PoC) exploit for CVE-2025-22457, a remote unauthenticated stack-based buffer overflow in Ivanti Connect Secure, Pulse Connect Secure, Policy Secure, and ZTA Gateway appliances (specifically version 22.7.2.3597). The exploit is implemented in Ruby (CVE-2025-22457.rb) and is designed to achieve remote code execution by sending crafted HTTPS requests to the target's web interface. The exploit brute-forces the base address of a shared library (libdsplibs.so) to construct a ROP chain, ultimately executing a user-supplied shell command (by default, a bash reverse shell). The attacker must provide the target's IP, port, and their own listener IP/port. The exploit includes options to tune the number of web child processes and the base address for more efficient exploitation. The ReadMe.md provides detailed usage instructions, expected results (reverse shell as 'nr' user), and technical background. The main attack vector is network-based, targeting the HTTPS service on the appliance. Notable endpoints include the version fingerprinting CGI and the use of internal binaries and libraries for exploitation.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
47 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
The content references CVE-2025-22457 in the context of a repository update and an issue labeled as a false positive, but provides no technical details about the vulnerability itself.
A stack-based buffer overflow vulnerability affecting Ivanti Connect Secure, Policy Secure, and ZTA Gateways in X-Forwarded-For header processing.
A critical Ivanti Connect Secure stack-based buffer overflow vulnerability exploited in the wild to deploy malware (TRAILBLAZE/BRUSHFIRE).
Ivanti Connect Secure (ICS) vulnerability exploited in intrusions associated with MDifyLoader and in-memory Cobalt Strike activity.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.