← Threat feed
CVE-2023-4966criticalCISA KEV

Citrix NetScaler ADC session token disclosure (Citrix Bleed)

Buffer over-read leaks session tokens, letting attackers bypass MFA and hijack sessions.

Exploitation attempts
15,594peak 3,970 at 26 Sept
20 Sept23 Sept26 Sept
Top attacking sources · 7d
Customers only

What it does

A buffer over-read in the OpenID configuration endpoint returns uninitialised memory when a long Host header is supplied. The leaked memory frequently contains valid session cookies for authenticated users.

Because the leaked token represents an already-authenticated session, MFA is bypassed entirely. Ransomware operators including LockBit used this to gain footholds in enterprise networks throughout late 2023.

Only appliances configured as a Gateway (VPN, ICA Proxy, CVPN, RDP Proxy) or AAA virtual server are vulnerable.

Remediation

  1. Upgrade to NetScaler ADC and Gateway 14.1-8.50, 13.1-49.15, 13.0-92.19 or later.
  2. After patching, kill all active and persistent sessions: kill icaconnection -all, kill rdp connection -all, kill pcoipConnection -all, kill aaa session -all, clear lb persistentSessions.
  3. Hunt for sessions where the source IP changed mid-session or where a single user held multiple simultaneous sessions from different networks.

Enumeration

Detection templates and scanners you can run to find exposed instances on your own attack surface.

Metasploit
auxiliary/scanner/http/citrix_bleed_cve_2023_4966
$ msfconsole -q -x "use auxiliary/scanner/http/citrix_bleed_cve_2023_4966; show options"
Scanner
Nuclei
http/cves/2023/CVE-2023-4966.yaml
$ nuclei -id CVE-2023-4966 -u https://TARGET
Detection

Exploitation

Working exploit modules and public PoCs. Use only against systems you own or are authorized to test.

Assetnote
github.com/assetnote/exploits-cve-2023-4966
$ git clone https://github.com/assetnote/exploits-cve-2023-4966.git
PoC

References

Check whether CVE-2023-4966 is exposed on your attack surface.