← All posts

Answer · Security & Patching

VPN Appliance Vulnerabilities: Lessons From Fortinet and Ivanti

What the Fortinet SSL VPN and Ivanti Connect Secure advisories teach about patching edge devices, mitigations, integrity checks and rebuilds.

Asaasin EngineeringPublished November 9, 20267 min read

In short

VPN and other internet-facing appliances carry shorter patch deadlines than internal servers because attackers can scan and fingerprint them from the open internet. Fortinet's FG-IR-24-015 and Ivanti's Connect Secure advisories both reached CISA's Known Exploited Vulnerabilities catalog within a day of disclosure. CISA's directives lay out the sequence that has to follow: mitigate, patch, verify integrity, and sometimes rebuild.

Key numbers

  • CVE-2024-21762 (FG-IR-24-015): CVSSv3 9.8, Critical, fixed in FortiOS 7.4.3, 7.2.7, 7.0.14, 6.4.15, 6.2.16, 6.0.18 or later.
  • CVE-2024-21762 reached the CISA KEV catalog on February 9, 2024, one day after Fortinet's February 8, 2024 advisory.
  • CVE-2023-46805 and CVE-2024-21887 were disclosed and added to the KEV on the same day, January 10, 2024.
  • Emergency Directive 24-01 followed nine days later, on January 19, 2024.
  • BOD 26-04 (June 10, 2026) sets a 3-day deadline, plus forensic triage, for a KEV-listed vulnerability on a publicly exposed, automatable asset with total technical impact.

What happened with Fortinet FG-IR-24-015

Fortinet published FG-IR-24-015 on February 8, 2024, covering CVE-2024-21762, an out-of-bounds write (CWE-787) in the FortiOS and FortiProxy SSL VPN component. The advisory describes a remote, unauthenticated attacker executing code through crafted HTTP requests, and rates it CVSSv3 9.8, Critical (Fortinet PSIRT). Fixed versions are FortiOS 7.4.3, 7.2.7, 7.0.14, 6.4.15, 6.2.16 and 6.0.18 or later. Fortinet's workaround is to disable SSL VPN entirely; disabling webmode alone is not treated as a valid mitigation. Fortinet also published a virtual patch, an IPS signature named "HTTP.Chunk.Length.Invalid," for appliances that could not be patched immediately. CISA added CVE-2024-21762 to the Known Exploited Vulnerabilities catalog the next day, February 9, 2024 (CISA KEV update). A one-day gap between a public advisory and a KEV listing is the pattern edge-device response has to plan around, not the exception.

What happened with the Ivanti Connect Secure vulnerabilities

Ivanti disclosed two vulnerabilities on January 10, 2024: CVE-2023-46805, an authentication bypass in the web component of Ivanti Connect Secure 9.x/22.x and Policy Secure, and CVE-2024-21887, a command injection. Chained together, the pair lets an attacker run arbitrary commands without credentials. CISA added both to the KEV catalog the same day they were disclosed (CISA alert).

Nine days later, CISA issued Emergency Directive 24-01, requiring federal agencies to apply Ivanti's mitigation XML immediately and run Ivanti's External Integrity Checker Tool against every in-scope appliance (ED 24-01). Supplemental direction in February 2024 extended the required actions to cover CVE-2024-22024 and laid out specific steps for appliances found to be compromised or potentially compromised. Mitigate now, check integrity, then decide whether to patch in place or rebuild: that sequence is the template this article borrows.

Why edge appliances carry so much risk

CISA's BOD 26-04, "Prioritizing Security Updates Based on Risk," issued June 10, 2026, supersedes BOD 19-02 and BOD 22-01 and carries forward the KEV inclusion criteria (BOD 26-04). Its remediation timeline, built on CERT/CC's SSVC model, runs on four decision points: whether a vulnerability is in the KEV, whether the asset is publicly exposed, whether exploitation is automatable by an adversary, and the technical impact of a successful exploit. The directive's worked example: a KEV-listed vulnerability on a publicly exposed asset with total technical impact that is automatable gets a 3-day deadline, with forensic triage layered in. Other combinations fall to 3 days, 14 days, 60 days, or fix-on-next-upgrade, and the clock starts whenever CISA adds the CVE to the KEV or an agency identifies it on an asset, whichever comes first.

A VPN concentrator or SSL gateway answers every one of those decision points affirmatively more often than an internal application server does. It sits on the public internet by design, it is scannable and fingerprintable, exploitation is frequently automatable once a public proof of concept exists, and by design it bridges the public internet to whatever network sits behind it. That combination is why both the Fortinet and Ivanti cases moved from advisory to KEV entry in a day or less. Our vulnerability patching services treat internet-facing appliances as a distinct risk tier for this reason, with prioritization that factors in KEV status and public exposure rather than CVSS score alone.

Mitigation, patch, integrity check, rebuild: four different actions

These four words get used interchangeably and they should not be, because they answer four different questions.

ActionQuestion it answersRemoves an existing compromise?
Mitigation (disable SSL VPN, apply vendor XML, virtual patch via IPS/WAF rule)Can I stop new exploitation right now?No
Patch (upgrade to a fixed version)Is the vulnerable code gone?No, if the device was already breached
Integrity check (vendor tool, file hash comparison, config diff)Was this device already compromised?No, it detects, it does not fix
Rebuild (reimage from a known-good build, rotate credentials and certs)Can I trust this device going forward?Yes, if done completely

The Ivanti case is the clearest illustration of why patching alone is not enough. A device compromised before the patch was applied keeps whatever backdoor, web shell, or stolen credential existed during the exposure window, because the patch closes the door an attacker used to get in, not the room they are already sitting in. That is why ED 24-01 paired the mitigation XML with Ivanti's External Integrity Checker Tool, and why the February 2024 supplemental direction added explicit steps for appliances flagged as compromised or potentially compromised. Patch, then check, then rebuild if the check comes back dirty, in that order, not patch-and-done.

A vendor-neutral checklist for edge-device patching

The categories here apply to SSL VPN concentrators, next-generation firewalls, and remote-access gateways generally, without naming specific CVEs beyond the two advisories above.

  1. Inventory every internet-facing appliance and its exact firmware version first. You cannot triage what you have not counted.
  2. Monitor the KEV catalog and vendor advisories on an ongoing basis. Both cases above moved from advisory to KEV listing within a day, which is the scale edge-device monitoring needs to match.
  3. Apply the vendor's published mitigation or workaround immediately on disclosure, even before a tested patch is ready. For FG-IR-24-015 that means disabling SSL VPN, not just webmode.
  4. Deploy a virtual patch (IPS or WAF rule) where the vendor publishes one, as a bridge while the real patch goes through change control. Our piece on virtual patching with a WAF or IPS walks through when this buys real time and when it does not.
  5. Run any vendor integrity-checking tool against the device before and after the patch, not just after.
  6. Rotate credentials, session tokens, and certificates tied to the appliance if the integrity check is inconclusive or the device sat exposed during a known exploitation window.
  7. Rebuild from a known-good image rather than patch in place if integrity checks flag anomalies or compromise cannot be ruled out.
  8. Rescan and verify after remediation, and keep a record of the mitigation-to-patch-to-verification timeline for audit purposes.

Our response targets for this kind of incident (targets, not guarantees, measured from when an issue is reported or found) are acknowledgment within 15 minutes and an engineer engaged within 1 hour for Critical findings, with mitigation inside 24 hours; High severity items are acknowledged within 4 hours and patched within 7 days. Those targets, plus the staging, testing, and rollback discipline described on how our pods work, are built around this mitigate-then-verify-then-patch order. Examples of staged, verified delivery are on our projects page.

The short version

Fortinet's FG-IR-24-015 (CVE-2024-21762) and Ivanti's CVE-2023-46805/CVE-2024-21887 both reached the CISA KEV catalog within a day of disclosure, which is the clock edge-device patching has to run on. Mitigate immediately with the vendor's workaround or a virtual patch, verify with an integrity check before assuming the patch alone fixed things, and rebuild rather than patch in place if that check comes back dirty. BOD 26-04's exposure-and-automatability framing is the honest reason VPN gateways sit at the front of the remediation queue, not the back.

Frequently asked questions

Is disabling webmode enough to mitigate CVE-2024-21762?
No. Fortinet's advisory FG-IR-24-015 states that disabling SSL VPN is the workaround, and that disabling webmode alone is not a valid mitigation for this vulnerability. Anyone relying on a webmode-only workaround is still exposed to the out-of-bounds write described in the advisory.
Does patching an Ivanti Connect Secure appliance remove a prior compromise?
Not by itself. CVE-2023-46805 and CVE-2024-21887 were both added to the KEV catalog on January 10, 2024, and CISA's Emergency Directive 24-01 required agencies to run Ivanti's External Integrity Checker Tool alongside the mitigation XML specifically because a patch closes the vulnerability but does not undo whatever an attacker did while the device was exposed. The February 2024 supplemental direction added explicit steps for appliances found to be compromised or potentially compromised, up to and including rebuilding.
Why do internet-facing VPN appliances get shorter patch deadlines than internal systems?
CISA's BOD 26-04 scores remediation urgency on four decision points: whether a CVE is in the KEV, whether the asset is publicly exposed, whether exploitation is automatable, and the technical impact of a successful exploit. A public-facing VPN concentrator answers yes to the exposure and automatable questions far more often than an internal server, which is why the directive's worked example (KEV-listed, publicly exposed, automatable, full technical impact) carries a 3-day deadline with forensic triage attached.

Sources

The team behind Asaasin Engineering

  • Blend Berisha

    Technical Lead / Engineering Lead

  • Doruntina Buzhala

    Business Development Manager

  • Erin Abduli

    Full-Stack Engineer

  • Florent Hoti

    Co-Founder & CEO

  • Gentrit Hoti

    Software Engineer

  • Hana Anadolli

    Operations Manager

  • Krenar Mahmuti

    AI Automations Specialist

Meet the team

Need patching or a critical response?

Tell us what you're running and what's going on. We'll get back to you.

What happens on the call
01You describe the outcome you need.
02We map it to scope, price, and a start date.
03You decide whether to proceed to a free prototype.
Schedule a 30-minute call