Skip to main content

Wolfcore Cyber Security

Citrix Bleed (CVE-2023-4966): How Sessions Were Hijacked

Written by Ruben Selby, founder and penetration tester at Wolfcore. Last reviewed 28 November 2026.

Part of the Wolfcore Resources library: Vulnerabilities.

In one sentence: Citrix Bleed is a flaw in Citrix NetScaler remote-access appliances that leaked the “keys” to logged-in sessions, so attackers could walk in as a real user without a password or a second factor.

What it is

NetScaler ADC and NetScaler Gateway (formerly Citrix ADC and Citrix Gateway) are devices at the edge of a network. Staff use them to connect remotely to company systems. CVE-2023-4966 is a buffer-related flaw that discloses sensitive information from the appliance’s memory. It is nicknamed Citrix Bleed.

The leaked information includes session authentication tokens. A session token is the digital pass your browser holds after you log in, so the system does not ask again at every click. Whoever holds the token is treated as you.

Citrix’s bulletin says the flaw applies when the appliance is configured as a Gateway (VPN virtual server, ICA Proxy, CVPN or RDP Proxy) or as an AAA virtual server. It affects customer-managed appliances. Citrix-managed cloud services do not need action.

How it works

  1. The appliance is reachable from the internet, because that is its job.
  2. An attacker sends it a crafted web request. CISA’s advisory says a crafted HTTP Host header makes a vulnerable appliance return system memory.
  3. Within that memory is a valid session cookie belonging to a real, already-authenticated user.
  4. The attacker presents the cookie and is treated as that user. CISA says this bypasses password requirements and multi-factor authentication (MFA).
  5. CISA reports that LockBit 3.0 ransomware affiliates then harvested credentials, moved sideways inside networks and accessed data.

Because the stolen session was already approved, the login checks never fire. Our advice, not a quote from the vendor: after patching, also end existing sessions and hunt for earlier misuse, which is what CISA urges.

The attack path at a glance

Request to NetScaler gatewayMemory leakValid session cookie takenLogged in, no password or MFACitrix Bleed: the session, not the password, is stolen

Who it affects and how badly

Any organisation with a self-managed NetScaler Gateway: manufacturers, healthcare, finance, councils, MSPs that run client gateways, and larger companies with remote workforces. CISA says LockBit 3.0 affiliates have attacked organisations of varying sizes across education, energy, financial services, food and agriculture, government, healthcare, manufacturing and transport.

  • Small firm using an MSP-run gateway: the provider’s appliance is the way in, so ask them whether it was patched and checked.
  • Mid-sized business: a hijacked session can lead to stolen credentials, ransomware and days of downtime.
  • Regulated business: client or patient data exposure, breach notification and possible regulator action.

Real examples

What we check on a test

  • Whether any NetScaler, Citrix Gateway or other remote-access appliance is reachable from the internet, and the version it reports.
  • Whether that version is at or above the fixed releases in Citrix’s bulletin.
  • How sessions are handled: how long they live, whether they are tied to a device and whether an administrator can end them all.
  • Whether the appliance’s management interface is exposed.
  • Whether a stolen VPN session would give flat access to the whole internal network.

Worked example (illustration only)

A 120-person manufacturer lets staff connect through a NetScaler gateway that a former contractor installed. The firm patches a week after the fix is released. An attacker had already taken a session token from an engineer, and nothing ended that session. Two days later, files are encrypted. The cost is a week of production disruption and a ransom decision. The lesson: after patching, end all sessions, rotate credentials and hunt for activity.

How to detect it

  • Check the appliance firmware version against Citrix bulletin CTX579459.
  • Review gateway authentication logs for one account appearing from two addresses at once, or sessions with no matching login event.
  • Check your identity provider’s sign-in logs (Microsoft Entra ID or Google Workspace) for impossible-travel and unfamiliar-device alerts.
  • Use the indicators and detection methods in CISA advisory AA23-325A.
  • If you suspect compromise, follow the investigation guidance linked from the CISA page, including Citrix’s and Mandiant’s.

How to fix or prevent it

  1. Upgrade to a fixed release: 14.1-8.50, 13.1-49.15, 13.0-92.19 or later, or the FIPS and NDcPP equivalents in the bulletin.
  2. Version 12.1 is end of life and vulnerable, so move off it.
  3. After patching, end all active sessions so any stolen tokens stop working.
  4. Reset credentials for accounts that used the gateway, administrators first.
  5. Segment the network so a remote session reaches only what that user needs.
  6. Limit and monitor management interfaces. CISA lists its directive BOD 23-02 on internet-exposed management interfaces as further reading.
  7. Keep a list of every internet-facing appliance and who patches it.

Rules and regulators

  • UK: ransomware or data theft after a hijacked session can be a personal data breach under UK GDPR, with the ICO 72-hour reporting clock. See the ICO 72-hour rule.
  • EU: GDPR Article 33 applies the same 72-hour rule, and NIS2 adds incident reporting for essential and important entities.
  • US: CISA lists the flaw in its Known Exploited Vulnerabilities catalogue, and state breach laws apply to affected data.

FAQ

Does MFA stop it? No. CISA says the flaw lets attackers bypass MFA by hijacking an existing session.

Is the cloud service affected? Citrix says Citrix-managed cloud services and Adaptive Authentication need no action.

Is patching enough? CISA also urges hunting for malicious activity, because sessions may already have been taken.

Related terms

How session hijacking works: stolen cookies, tokens and how to stop them, Multi-factor authentication, CISA KEV catalogue: Known Exploited Vulnerabilities, What is patch management? How to keep software updated safely, What is ransomware? How it works and how to protect, What does exploited in the wild mean? Why it should move a patch to the top of the list, Edge Device Hardening Checklist: Firewalls and VPNs, CVE-2023-46805 Ivanti Connect Secure: What to Do Now

How Wolfcore helps

A Wolfcore penetration test finds this the way an attacker would, by hand, not with a scanner. Start with the free web vulnerability scan at wolfcore.co.uk/free-web-vulnerability-scan and see our penetration testing service. Staff are often the first step in an attack, so you can also test them safely with our phishing simulation software or start the Phishy free trial.

Wolfcore

Would your staff click a phishing email?

Run a real, safe phishing test on your team with Phishy. Free for 14 days, up to 10 staff, no card. We help you set it up.

Start a free phishing testFree website security scanor book a 30 minute call