Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2025-0282: Unauthenticated Remote Code Execution in Ivanti Secure Gateways

Published Jan 8, 2025 · Updated 3 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS9.0Critical · v3.1
EPSS100.0%100th percentile
CISA KEVYesAdded Jan 8, 2025
In the wildActivePer CISA KEV
Vendor
Ivanti
IdentifiersCVE-2025-0282CWE-121 · Stack-based Buffer Overflow

CVE-2025-0282 is a stack-based buffer overflow affecting Ivanti Connect Secure before 22.7R2.5, Ivanti Policy Secure before 22.7R1.2, and Ivanti Neurons for ZTA gateways before 22.7R2.3. A remote unauthenticated attacker can exploit the flaw to execute arbitrary code on an affected appliance. UNC5337 exploited the vulnerability as a zero-day in Ivanti Connect Secure to deploy the SPAWN malware ecosystem and establish persistent access to enterprise networks.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises the affected gateway through unauthenticated arbitrary code execution. Follow-on activity can include malware deployment, persistent access, credential theft, remote command execution, and log tampering. A compromised gateway can also facilitate unauthorized access, data theft, and lateral movement within connected enterprise networks.

Mitigation

If you can’t patch tonight, do this now.

Use Ivanti's Integrity Checker Tool to identify potential compromise and perform forensic analysis where exposure or suspicious activity warrants investigation. Until affected appliances are updated, restrict network access to them and follow applicable Ivanti and CISA mitigation guidance. Integrity checking and access restrictions do not replace installation of the security update.

Remediation

Patch, then assume compromise.

Upgrade to a vendor-supported release that fixes CVE-2025-0282. The stated fixed-version thresholds are Ivanti Connect Secure 22.7R2.5, Ivanti Policy Secure 22.7R1.2, and Ivanti Neurons for ZTA gateways 22.7R2.3; consult the current Ivanti security bulletin for the appropriate release and upgrade procedure. Follow Ivanti's factory-reset guidance, including its recommendation to reset appliances with clean Integrity Checker Tool results before updating. Conduct forensic investigation on potentially compromised appliances and complete compromise recovery rather than relying on patching alone.

Public exploits

Exploits

9 exploits validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
CVE-2025-0282-Ivanti-exploitThis repository provides a working exploit for CVE-2025-0282, a critical remote command execution (RCE) vulnerability in Ivanti Connect Secure. The main exploit script, 'CVE_2025_0282_Ivanti.py', is a Python tool that leverages a buffer overflow in the '/dana-na/auth/url_default/welcome.cgi' endpoint over HTTPS (port 443) to execute arbitrary commands on the target system. The exploit first uploads a PHP web shell ('shell.php') to the root directory of the target, then provides an interactive interface for the attacker to execute further commands via the web shell. Additional post-exploitation features include disabling SELinux, preventing syslog forwarding, remounting the filesystem as read-write, removing exploit traces from logs, and disabling system updates. The repository contains five files: the main Python exploit, a PHP web shell, a README with usage instructions, a LICENSE, and a .gitignore. The exploit is operational, providing a real payload and post-exploitation capabilities, and targets Ivanti Connect Secure appliances vulnerable to CVE-2025-0282.absholi7ly · Disclosed Jan 11, 2025 · python · php · networkOperationalCVE-2025-0282This repository contains a Python proof-of-concept exploit for CVE-2025-0282, a critical remote unauthenticated stack buffer overflow in Ivanti Connect Secure (version 22.7.2.3597/22.7r2.4). The exploit script (CVE-2025-0282.py) targets a vulnerable Ivanti VPN gateway over the network (typically port 443), detects the product version, and if compatible, sends a specially crafted payload using a ROP chain to achieve remote code execution. The payload creates a new root-level admin user ('admin'/'password') by appending entries to /etc/passwd and /etc/shadow. The exploit is operational and requires the target to be running the specific vulnerable version. The repository also includes a README.md with usage instructions and background information.almanatra · Disclosed Jan 22, 2025 · python · networkOperationalIvanti-CVE-2025-0282This repository contains an exploit for CVE-2025-0282 targeting Ivanti products (likely Connect Secure or similar). The main exploit script, 'CVE_2025_0282_Ivanti.py', is a Python program that performs a buffer overflow attack against the '/dana-na/auth/url_default/welcome.cgi' endpoint over HTTPS (port 443). The exploit crafts a payload to execute arbitrary commands on the target, specifically to upload a PHP web shell ('shell.php') to the root directory of the web server. Once the shell is uploaded, the script verifies its accessibility and allows the attacker to execute further commands via HTTP POST requests to '/shell.php'. The script also includes functions (some commented out) to disable SELinux, prevent syslog forwarding, remount the filesystem, and remove log entries, indicating post-exploitation capabilities. The repository structure is straightforward: the main Python exploit, a simple PHP web shell, and a brief README. The exploit is operational, providing a working web shell and interactive command execution on vulnerable targets.punitdarji · Disclosed Mar 10, 2025 · python · php · networkOperationalAshwesker-CVE-2025-0282This repository contains a functional exploit for CVE-2025-0282, a stack-based buffer overflow vulnerability in Ivanti Connect Secure, Policy Secure, and Neurons for ZTA gateways. The main exploit script (CVE-2025-0282.py) is written in Python and targets the vulnerable endpoint '/dana-na/auth/url_default/welcome.cgi' over HTTPS (port 443). It crafts a payload to exploit the buffer overflow, allowing arbitrary command execution. The script's primary function is to upload a PHP web shell (shell.php) to the target system, enabling persistent remote command execution via HTTP requests. Additional post-exploitation features include disabling SELinux, preventing syslog forwarding, remounting drives, removing exploit traces from logs, and disabling system updates. The repository structure is straightforward: the Python exploit script, a PHP web shell, and a README.md with usage instructions and vulnerability details. The exploit is operational and provides a web shell payload, making it a significant threat if used against unpatched systems.Ashwesker · Disclosed Jun 7, 2025 · python · php · networkOperationalBlackash-CVE-2025-0282Repository contains a Python exploit script and a PHP web shell targeting CVE-2025-0282 (Ivanti Connect Secure/Policy Secure/Neurons for ZTA gateways). Structure: (1) CVE-2025-0282.py is the main entry point; it crafts a stack-based buffer overflow payload using hard-coded addresses (system_address=0x0804a360, command_address=0x0804b008) and sends it via a raw TLS socket to TCP/443, issuing an HTTP POST to /dana-na/auth/url_default/welcome.cgi. After attempting RCE, it uploads a persistent web shell by echoing the contents of a local PHP file to /shell.php, then verifies and uses the shell for interactive command execution. The script also includes post-exploitation/defense-evasion routines: toggling SELinux, editing /etc/rsyslog.conf and restarting rsyslog to reduce forwarding, remounting / as RW/RO, attempting to remove log lines from /var/log/*, and disabling apt-daily updates. (2) shell.php is a simple command-execution web shell (uses shell_exec) intended to be dropped on the target. (3) README.md describes the vulnerability and basic usage. Overall purpose: unauthenticated network-based RCE attempt leading to web-shell deployment and follow-on command execution on the appliance.gmh5225 · Disclosed Jun 8, 2025 · python · php · networkOperationalCVE-2025-0282-Full-versionThis repository contains a Python-based proof-of-concept exploit for CVE-2025-0282, a critical remote code execution vulnerability in a network appliance exposing the /dana-na/auth/url_default/welcome.cgi endpoint. The exploit (exploit.py) is designed to send a crafted POST request to this endpoint, triggering a buffer overflow and enabling arbitrary code execution via a ROP chain and shellcode. The payload is generated using msfvenom or OpenAI, and the exploit attempts to establish a reverse shell connection to the attacker's machine (default 127.0.0.1:4444). Results of successful exploitation are stored in a local MongoDB database. The README.md provides detailed usage instructions, prerequisites, and technical background. The exploit is a POC and requires several dependencies, including OpenAI API access and MongoDB. The repository structure is simple, with one main exploit script and a comprehensive README. The full code is not included; only partial code and instructions are provided, with the full version available upon request from the author.AnonStorks · Disclosed Jan 12, 2025 · python · networkPoCCVE-2025-0282This repository contains a proof-of-concept (PoC) exploit for CVE-2025-0282, a pre-authentication remote code execution vulnerability in the Ivanti Connect Secure (formerly Pulse Secure) VPN appliance. The exploit is based on a modified version of the openconnect VPN client, with additional code to trigger the stack overflow in the IFT TLS stack. The repository is structured as a full source tree for openconnect, with the exploit logic integrated into the main client code (notably in main.c and array.c). The PoC operates in two modes: 'normal' (to verify connectivity and authentication) and 'exploit' (to trigger the vulnerability). The exploit requires manual adjustment of hardcoded addresses and offsets to match the target environment, and is not fully weaponized. The attack vector is network-based, targeting the VPN's HTTPS service on port 443. The repository also includes build scripts, Java JNI bindings, and documentation, but the core exploit logic is in C. No fake or destructive code was identified; the PoC is a legitimate exploit requiring technical adaptation for operational use.watchtowrlabs · Disclosed Jan 15, 2025 · c · bash · networkPoCCVE-2025-0282This repository contains a proof-of-concept (PoC) exploit for CVE-2025-0282, a remote unauthenticated stack-based buffer overflow affecting Ivanti Connect Secure, Policy Secure, and Neurons for ZTA gateways. The main exploit file, 'CVE-2025-0282.rb', is a Ruby script that targets Ivanti Connect Secure version 22.7r2.4 (product version 22.7.2.3597). The exploit works by sending crafted network packets over HTTPS (typically port 443) to the target device, leveraging a ROP chain to achieve remote code execution as the non-root user 'nr'. Upon successful exploitation, the script creates a file in '/var/tmp/' on the target system, with the filename indicating the attempt number, to demonstrate code execution. The exploit requires the attacker to specify the target IP and port. The repository also includes a detailed README explaining the vulnerability, exploitation process, and usage instructions. No weaponized or post-exploitation payloads are included; the exploit is strictly a PoC for demonstrating code execution.sfewer-r7 · Disclosed Jan 16, 2025 · ruby · networkPoCcve-2025-0282-ivanti_rce_reproductionThis repository is a small standalone proof-of-concept for CVE-2025-0282 affecting Ivanti Connect Secure, Policy Secure, and ZTA Gateways. It contains two files: a README with vulnerability background, affected versions, usage instructions, and references; and a single Python entry point, exploit.py, which implements the PoC logic. The exploit code is not part of a larger framework. Its structure is straightforward: helper routines build raw TLS records, construct a minimal TLS 1.2 ClientHello, generate a malformed IFT payload with an oversized frame_size field, and create a cyclic filler pattern for overflow testing. The main exploit routine connects to a user-supplied target over TCP, attempts to wrap the socket with Python's SSL client context, sends a ClientHello, optionally reads a response, then sends the malformed TLS Application Data record intended to reach the vulnerable IFT/TLS parser. Operationally, the script is designed to demonstrate the overflow condition and infer success from connection loss, reset, timeout, or send failure after the malformed payload is transmitted. It does not contain a real code-execution chain, shell payload, credential theft, persistence, or callback logic. As implemented, it is best classified as a crash-oriented reproduction PoC rather than a weaponized RCE exploit. Fingerprintable targeting is minimal and mostly operator-driven: the target host is provided via --target, and the default network endpoint is TCP/8443, described as the Ivanti HTTPS management interface. The README also mentions possible post-exploitation artifacts such as /tmp/*.py and .sslvpn_config_upload, but these are documentation-only indicators and not used by the code. Overall, the repository's purpose is to reproduce and validate the vulnerable parsing path by sending crafted network protocol data, helping researchers confirm exposure or study crash behavior on authorized test systems.razureink · Disclosed Jul 24, 2026 · python · markdown · network · webPoC
Exposure surface

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.

VendorProductType
IvantiConnect Secureapplication
IvantiNeurons For Zero-Trust Accessapplication
IvantiPolicy Secureapplication
FAQ

Frequently asked questions

Is CVE-2025-0282 exploited in the wild?
Yes. As of Nov 14, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jan 8, 2025.
Is there a public exploit for CVE-2025-0282?
Yes. Mallory tracks 9 public exploits or proofs of concept for CVE-2025-0282, the earliest disclosed Jan 11, 2025.
Is there a patch for CVE-2025-0282?
Upgrade to a vendor-supported release that fixes CVE-2025-0282. The stated fixed-version thresholds are Ivanti Connect Secure 22.7R2.5, Ivanti Policy Secure 22.7R1.2, and Ivanti Neurons for ZTA gateways 22.7R2.3; consult the current Ivanti security bulletin for the appropriate release and upgrade procedure.
What products are affected by CVE-2025-0282?
Ivanti Connect Secure, Ivanti Policy Secure, and Ivanti Neurons For Zero-Trust Access.
How severe is CVE-2025-0282?
CVE-2025-0282 has a CVSS v3.1 score of 9.0 (Critical) and an EPSS score of 100.0% (100th percentile) as of Nov 14, 2026.
Activity feed

Recent activity

236 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+139 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence124Every report linking this CVE to a named adversary.
Associated malware163Malware families linked to this CVE, with evidence and IOCs.
Detection signatures3YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity52Community discussion across Reddit, Mastodon, and other social sources.