Cloudanix VulnDB

CVE-2023-6549

High · 8.2 CISA KEV

CVSS

8.2

EPSS

57.6%

Published

Jan 17, 2024

CISA due date

Feb 7, 2024

Cloudanix analysis

Act now SSVC: Attend

Attackers can crash vulnerable Citrix remote access systems from the internet, potentially disrupting employee access and business applications.

Active In The Wild
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Trivial
Impact
Denial Of Service
Component
Network Service
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

CVE-2023-6549 is a remotely reachable memory-corruption flaw in Citrix NetScaler ADC and NetScaler Gateway. An unauthenticated attacker can send crafted network traffic to an exposed affected appliance, particularly one configured for Gateway or authentication-related services, and trigger improper memory access outside expected buffer boundaries. The most reliable impact is denial of service through packet-engine instability, crash, restart, or HA failover; the advisory also describes out-of-bounds memory read behavior, meaning the vulnerable process may access memory it should not, although the primary operational risk is service disruption.

Why it matters to the business

Successful exploitation can make externally facing VPN, application access, authentication, and load-balancing services unavailable, interrupting remote access and business applications that depend on NetScaler ADC or Gateway. Because this vulnerability is in CISA KEV, has documented active exploitation in the wild, and the CISA remediation deadline of 2024-02-07 has long passed, any exposed unpatched instance should be treated as high priority. The EPSS score is also elevated, indicating a meaningful likelihood of exploitation against internet-facing systems.

How an attack unfolds

An attacker first identifies internet-facing NetScaler ADC or NetScaler Gateway services, usually by scanning for Citrix Gateway, VPN, AAA, or related virtual server endpoints. They then send specially crafted unauthenticated traffic to the vulnerable service. The appliance mishandles the input and performs operations outside the intended memory buffer boundaries. In practical attacks, this can crash or destabilize the affected NetScaler packet-processing process, causing service interruption, dropped sessions, appliance restart behavior, or high-availability failover. Because exploitation does not require credentials or user interaction, attackers can automate attempts across exposed appliances. Organizations may only see symptoms such as unexplained service restarts, packet-engine crashes, VPN login failures, or bursts of malformed requests before outage conditions.

How to fix it

Upgrade affected NetScaler ADC and NetScaler Gateway appliances to a fixed supported build. Citrix fixed releases include NetScaler ADC/Gateway 14.1 build 14.1-12.35 or later, 13.1 build 13.1-51.15 or later, 13.0 build 13.0-92.21 or later, NetScaler ADC 13.1-FIPS build 13.1-37.176 or later, and NetScaler ADC 12.1-FIPS / 12.1-NDcPP build 12.1-55.302 or later where applicable. If running an end-of-life branch, migrate to a supported fixed branch rather than relying on compensating controls. Prioritize internet-facing Gateway, VPN, ICA Proxy, CVPN, RDP Proxy, and AAA deployments. As interim mitigation, restrict management and service exposure to trusted networks where operationally feasible, place upstream filtering in front of exposed services, monitor for crash loops and abnormal request bursts, and ensure HA pairs are both upgraded, not just the active node.

How to confirm the fix worked

Confirm the running build on every NetScaler ADC and Gateway appliance and verify it is at or above the relevant fixed version. Review the configuration to identify exposed Gateway, VPN, AAA, and authentication virtual servers, including standby HA nodes and disaster-recovery appliances. Validate from an external network perspective that only intended Citrix services are reachable and that retired or test appliances are not exposed. After patching, confirm HA synchronization, reboot requirements, active/standby consistency, and that the appliance reports the expected fixed build. Check for new packet-engine crashes or restarts after the upgrade; successful remediation should stop vulnerability-related crash activity under similar traffic conditions.

Typical attack path

  1. Scan the internet or target ranges for exposed Citrix NetScaler ADC or NetScaler Gateway services.
  2. Fingerprint the service version, Gateway/VPN/AAA exposure, TLS certificate, headers, or Citrix-specific login pages.
  3. Send crafted unauthenticated network requests designed to trigger the memory-corruption condition.
  4. Cause the NetScaler packet-processing component or related service to crash, restart, or fail over.
  5. Repeat requests to maintain denial of service or test which appliances remain vulnerable.
  6. Move on to additional exposed appliances if the target is patched or no longer reachable.

How to detect it

To determine whether exploitation may already have occurred, review NetScaler system logs, packet-engine crash artifacts, HA events, reverse-proxy or upstream firewall logs, VPN access logs, and network telemetry around any unexplained outage or failover. Focus on sequences where unauthenticated external requests to Citrix Gateway, VPN, or AAA endpoints are followed by packet-engine crashes, core-file creation, process restarts, appliance failover, or sudden drops in active sessions. Useful sources include /var/log/ns.log, /var/log/messages, /var/nslog/newnslog, core dump directories, HA synchronization and failover logs, upstream load balancer/firewall logs, and centralized SIEM records. Search for repeated requests from the same source IPs immediately before crashes, unusual malformed TLS or HTTP traffic, and service instability affecting Gateway or authentication virtual servers. There may be no definitive application-layer log entry for the out-of-bounds memory condition itself, so absence of a clear exploit string does not rule out exploitation; correlate crashes and network activity by timestamp.

  • /var/log/ns.log
  • /var/log/messages
  • /var/nslog/newnslog
  • /var/core/
  • /var/crash/
  • nsppe
  • segmentation fault
  • core dumped
  • HA failover
  • PPE crash
  • packet engine crash
  • Citrix Gateway
  • /vpn/index.html
  • /logon/LogonPoint/index.html

What your security team should do

  • Immediately inventory all internet-facing NetScaler ADC and NetScaler Gateway appliances, including HA peers, standby systems, lab systems, and disaster-recovery deployments.
  • Patch or upgrade all affected appliances to the appropriate fixed build; treat any unpatched exposed instance as urgent because this vulnerability is in CISA KEV and has active exploitation reported.
  • Prioritize externally reachable Gateway, VPN, ICA Proxy, CVPN, RDP Proxy, and AAA virtual servers before internally scoped appliances.
  • Review appliance crash logs, core dumps, HA failover history, and VPN availability incidents from before and after patching for evidence of exploitation attempts.
  • Restrict unnecessary public exposure and use upstream access controls where business requirements permit.
  • Preserve logs and core files before rebooting or rebuilding appliances if exploitation is suspected.
  • Create monitoring for NetScaler packet-engine crashes, unexpected restarts, HA failovers, and bursts of unauthenticated malformed traffic to Gateway or AAA endpoints.
  • Confirm that all nodes in HA pairs and clusters are upgraded; do not assume patching the active appliance patched the standby appliance.

The record

Improper Restriction of Operations within the Bounds of a Memory Buffer in NetScaler ADC and NetScaler Gateway allows Unauthenticated Denial of Service and Out-Of-Bounds Memory Read

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities