An outsider with no login can make the device leak memory that contains a valid session cookie. CISA says LockBit 3.0 ransomware affiliates used it.
What it allows
An attacker with no account sends a crafted web request and the appliance returns part of its memory. That memory holds a valid session cookie. CISA says the actor can then open a session as the real user without a password or a multifactor code, harvest credentials, move sideways and reach data.
Who is affected
Per the vendor, only when the appliance is set up as a Gateway (VPN, ICA Proxy, CVPN, RDP Proxy) or as an AAA virtual server. Affected: 14.1 before 14.1-8.50, 13.1 before 13.1-49.15, 13.0 before 13.0-92.19, 13.1-FIPS before 13.1-37.164, and 12.1-FIPS and 12.1-NDcPP before 12.1-55.300. Version 12.1 is end of life and vulnerable. The bulletin covers customer-managed products only.
The vendor published its bulletin on 10 October 2023 and said exploits on unmitigated appliances had been observed. CISA added the flaw to its Known Exploited Vulnerabilities (KEV) catalog on 18 October 2023, and the KEV entry flags known use in ransomware campaigns.
In a joint advisory (AA23-325A, 21 November 2023), CISA, the FBI, MS-ISAC and the Australian Signals Directorate's ACSC said exploitation was seen as early as August 2023 and that LockBit 3.0 ransomware affiliates used it to get in. The advisory notes that multifactor authentication does not help once the attacker holds a stolen session.
Who exploits it
What to do
-
Upgrade to a fixed build
The vendor names 14.1-8.50, 13.1-49.15, 13.0-92.19, 13.1-FIPS 13.1-37.164 and 12.1-FIPS or NDcPP 12.1-55.300, or later. Replace 12.1 appliances, which are end of life.
-
End existing sessions
CISA's KEV entry says to kill all active and persistent sessions after mitigation, because a stolen cookie can outlive the patch.
-
Isolate until patched
CISA advises isolating NetScaler ADC and Gateway appliances for testing until patching is ready and deployable.
-
Hunt for hijacked sessions
Per the advisory, check whether users log in from places unusual for your staff, or from two or more public IP addresses at once, and rotate credentials of identities used through the appliance.
-
Segment and restrict remote tools
Limit RDP and allow only approved remote access software, as the advisory recommends, so a hijacked session cannot spread far.
What Brandefense can do
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2023-4966 in Brandefense Atlas
The Atlas record of CVE-2023-4966: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
Frequently Asked Questions
What is Citrix Bleed?
Citrix Bleed is the nickname for CVE-2023-4966, a flaw in NetScaler ADC and Gateway. A crafted web request makes the appliance return part of its memory, which holds a valid session cookie that an attacker can reuse.
Does MFA protect against Citrix Bleed?
Not once a session is stolen. CISA says the actor can open a session as the real user without a password or multifactor code, and the advisory notes MFA does not help once the attacker holds a stolen session.
How do I defend against Citrix Bleed?
Upgrade to a fixed build such as 14.1-8.50 or 13.1-49.15, then kill all active and persistent sessions, because a stolen cookie can outlive the patch. Also check for logins from unusual places and rotate credentials.
Who exploited Citrix Bleed?
CISA, the FBI, MS-ISAC and ACSC say LockBit 3.0 ransomware affiliates used it to get in, with exploitation seen as early as August 2023. CISA added it to its Known Exploited Vulnerabilities catalog on 18 October 2023.
Sources
- NetScaler ADC and NetScaler Gateway Security Bulletin for CVE-2023-4966 and CVE-2023-4967Citrix
- CVE-2023-4966 recordNIST NVD
- #StopRansomware: LockBit 3.0 Ransomware Affiliates Exploit CVE 2023-4966 Citrix Bleed Vulnerability (AA23-325A)CISA, FBI, MS-ISAC, ASD's ACSC
- Known Exploited Vulnerabilities catalogCISA