How to Tell If Your Ivanti VPN Was Hit by the UTA0576 Exploit Chain

2026-12-03来源 dev.toEnglish
How to Tell If Your Ivanti VPN Was Hit by the UTA0576 Exploit Chain

Patching an Ivanti Connect Secure appliance on October 13 felt like the end of the story. It wasn't. The attacker Volexity tracks as UTA0576 had been using three bugs together, and the October 13 release fixed only the front door. Ivanti shipped fixes for the other two on October 29, and on October 30 CISA added both to its Known Exploited Vulnerabilities catalog.

If you run Connect Secure, there are two jobs this week. The first is easy: get onto the newest release. The second is harder and more important: work out whether your appliance was used between early October and the day you patched it, because this attacker went out of its way to leave nothing behind.

The three bugs and how they fit together

The chain, as Volexity reconstructed it from a customer incident, turns an unauthenticated HTTPS request into commands running as root.

CVE-2026-104935 is the authentication bypass and remote code execution piece, which Ivanti patched on October 13. The appliance decided whether a request was allowed by looking at the URL, but decided where to send it using a header. An attacker could send a request to the public login script /dana-na/auth/url_default/welcome.cgi with an X-DSCGI-PATH header pointing at a protected script, wu.cgi, an upload handler. That handler wrote an uploaded file to disk and only then checked whether it was a valid ZIP. By uploading a Perl script and racing parallel requests to execute it before it was deleted, the attacker got code running as the cgi-server user.

CVE-2026-118527 is the predictable-filename bug in that upload path. Ivanti rates it CVSS 4.3 and describes it as letting a remote, authenticated attacker upload files with attacker-controlled content to a known location on disk. Volexity's write-up shows why the location was known: the handler named the file after the MD5 hash of the client-supplied filename.

CVE-2026-111357 is the privilege escalation, which Ivanti rates CVSS 8.8 and describes as "missing authentication for a critical function." A root service called dsinvoked runs maintenance tasks and looks up which program each task should run in a shared configuration store called DSCache. The exploit patched an Ivanti library in the cgi-server process's memory so it could rewrite a DSCache entry, pointed an existing maintenance task at the Perl interpreter, asked dsinvoked to run it with a malicious script, and got root. Then it put everything back.

On their own, the second and third bugs need a foothold. Chained behind the first one, they don't. Ivanti's advisory says the attacks it knows of happened "when CVE-2026-104935, CVE-2026-111357 and CVE-2026-118527 are chained," and that "a limited number of customers" were affected.

Diagram from Ivanti's documentation showing an Ivanti Connect Secure virtual appliance deployed in Microsoft Azure between remote users and corporate resources

Expand

Diagram from Ivanti's documentation showing an Ivanti Connect Secure virtual appliance deployed in Microsoft Azure between remote users and corporate resources

Image: Ivanti

Step 1: get on a fixed version

Ivanti's affected and fixed versions, as listed in its advisory:

Bugs Affected Fixed
CVE-2026-104935 25.1.1.1 and prior, 25.1.2.2 and prior, 22.8R2.4 and prior 25.1.1.2, 25.1.3.0, 25.1.3.1, 22.8R2.5
CVE-2026-111357 and CVE-2026-118527 25.1.1.2 and prior, 22.8R2.5 and prior 25.1.1.3, 22.8R2.6

So the targets are 25.1.1.3 on the 25.1.1 branch and 22.8R2.6 on 22.8. Canada's Cyber Centre also lists 25.1.3.1 as a fixed version for the 25.1.3 branch. Downloads are in the Ivanti License System, and CISA points admins to Ivanti's Connect Secure 25.x Upgrade and Migration Compatibility Guide for hardware and virtual appliance specifics.

Ivanti explained why the fixes arrived in two waves. When it found the exploitation, the fix for the authentication bypass was already in QA, and "we made the decision to not delay getting a fix to customers" for the main exploitation path. That was the right call, and it also means anyone who patched on October 13 and moved on still had a privilege escalation bug sitting on the box.

If you're still on 22.8, note CISA's reminder that Connect Secure 22.8 reaches end of life on January 31, 2027. Apply 22.8R2.6 now, then schedule the 25.1 migration before the holidays eat your change window.

Step 2: don't trust the Integrity Checker on this one

The usual reflex after an Ivanti scare is to run the Integrity Checker Tool and relax if it comes back clean. With this chain, that's not enough.

Volexity found that the exploit patched library code only in memory, restored the DSCache entry afterwards, and reverted the in-memory patch through /proc/self/mem. The on-disk library is never modified. In Volexity's words, the Integrity Checker Tool "does not detect any modifications." CISA's alert says the same thing in its own language: the tool "may not detect evidence of exploitation of CVE-2026-104935 because threat actor commands execute in memory."

The attacker also deployed no web shell and no first-stage malware. Each command re-ran the whole three-step chain, and results came back in the HTTP response. There's no beacon to find, because there was never a beacon. The Stack summed up the trade-off well: the attacker chose to pay the cost of re-exploitation every time in exchange for leaving no persistent artifact.

Step 3: look for what the attacker couldn't fully hide

Volexity published enough detail to give defenders somewhere to start. None of this proves a clean bill of health if you find nothing, but finding any of it should trigger a full incident response.

Request volume to the login script. Volexity recommends watching for large numbers of requests to /dana-na/auth/url_default/welcome.cgi. The race condition needs many parallel requests, and every command repeats the chain, so a busy attacker generates a lot of traffic to one public page. Check your load balancer, WAF or reverse proxy logs, since the appliance's own logs may have been edited.

Files in /tmp and capture directories. The attacker wrote helper scripts to /tmp/, including /tmp/ml.py, /tmp/rq5.py, /tmp/mk.py and /tmp/rr.py, and output files such as sp_out.txt, spray_hits.json and /tmp/pu.txt. It used /data/.icscap/h.py to parse packet captures stored as /data/.icscap/cap*, and a renamed tcpdump at /data/.icscap/dsstatmond. Many of these were deleted after use, so their absence means little, but their presence means a lot.

Gaps in the logs. The payload removed recent entries from /home/runtime/dlogs/debuglog and /var/log/audit/audit.log within a target time window and rewrote the files with the rest. Compare the appliance's logs with copies you ship to a SIEM or syslog server. A stretch where your external copy has entries and the device doesn't is a strong signal.

Infrastructure. Volexity says the host used in the operation, 108.165.147[.]64, was an Evoxt VPS running an OpenVPN server from September 30 to October 7, 2026. Search your perimeter logs for it.

For a device you suspect, both Volexity and CISA say the answer is network and memory forensics. Volexity found this chain by collecting memory and disk images and analysing core dumps generated during exploitation, which suggests one more check: if your appliance produced unexpected core dumps in October, keep them.

PuTTY SSH configuration window from Ivanti's guide to accessing the Connect Secure virtual appliance console

Expand

PuTTY SSH configuration window from Ivanti's guide to accessing the Connect Secure virtual appliance console

Image: Ivanti

Step 4: assume the VPN's secrets are gone

This is the part teams tend to under-scope. The VPN wasn't the target. Active Directory was.

Volexity lists what UTA0576 did once it had root: pulled credentials stored on the appliance, such as the domain credentials used for LDAP; dumped limited Active Directory metadata; ran a custom Kerberos tool capable of Kerberoasting and credential testing; ran a custom LDAP tool, using the appliance's own AD service account, to search for LAPS local administrator passwords, BitLocker recovery keys and attributes holding userPassword and unixUserPassword values; captured LDAP traffic to harvest plaintext credentials and NTLM challenge-response hashes; read authentication logs to collect valid usernames; and ran password spraying against AD accounts.

So if an appliance was exposed and unpatched after early October, the clean-up reaches well past the box:

  1. Rotate the AD service account the VPN uses for LDAP, and review what that account can read. If it can read LAPS passwords or BitLocker recovery keys, it shouldn't.
  2. Rotate LAPS passwords on machines whose LAPS attributes that account could read, and treat stored BitLocker recovery keys as disclosed.
  3. Reset passwords for accounts that appear in the VPN's authentication logs, prioritising admins.
  4. Look in your domain controller logs for Kerberos service ticket requests and LDAP queries from the VPN's address that don't match normal authentication traffic.

That ordering reflects where the attacker went, not a vendor checklist, and your environment may need more.

What CISA says to do with a compromised appliance

CISA's recovery steps for a suspected compromise, from its October 13 alert as updated on October 30:

  1. Back up the appliance configuration.
  2. Factory reset and upgrade to the latest version. For cloud and virtual systems, rebuild the instance and upgrade.
  3. Restore the configuration from the backup.
  4. Reset passwords for all accounts, including domain, administrator and local accounts.
  5. Revoke and reissue stored certificates, and reset stored API keys and license server credentials.

According to Cybersecurity ASEAN, CISA gave US federal agencies until November 2 to fix CVE-2026-111357. Private companies aren't bound by that date, but it's a sensible deadline to borrow.

Who is behind it

Volexity first saw exploitation on October 3, 2026, against an appliance on 22.8R2.4, build 19097, which was fully patched at the time. It assesses "with low confidence" that UTA0576 is criminal rather than espionage-driven, based on the target. The operator was hands-on: Volexity says it had high confidence the attacker was reading results and adapting, given the variety of commands.

The Stack counts 26 Ivanti vulnerabilities added to CISA's KEV catalog since the start of 2024. Edge appliances keep getting hit because they hold exactly the credentials an attacker wants and sit where defenders have the least visibility. That was true of the Cisco firewall VPN zero-day we covered recently, and it's true here.

My own takeaway for anyone running an SSL VPN: patch, yes, but also shrink what the VPN can do if it falls. A VPN service account with read access to LAPS passwords and BitLocker keys turns a gateway compromise into a domain compromise. Cutting that access back costs an afternoon, and it would have taken most of the value out of this attack.

Originally published on Mango Developer.

原文:https://www.a8q9.cn/en/article/how-to-tell-if-your-ivanti-vpn-was-hit-by-the-uta0576-exploit-chain-1d130f.html

相关文章