Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
HighCISA KEVExploited in the wildPublic exploit

CitrixBleed

IdentifiersCVE-2023-4966CWE-200

CVE-2023-4966, commonly known as CitrixBleed, is a critical sensitive information disclosure vulnerability in NetScaler ADC and NetScaler Gateway. It affects appliances configured as a Gateway role, including VPN virtual server, ICA Proxy, CVPN, and RDP Proxy, or as an AAA virtual server. The provided context states that the flaw was remotely exploitable without authentication and was widely exploited in the wild in 2023, including by ransomware affiliates. Supporting content further notes that the root cause involved misuse of the return value of snprintf, resulting in an incorrect response length and memory leakage. In practice, exploitation exposed sensitive memory contents from the appliance, including session authentication tokens.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows remote attackers to disclose sensitive information from vulnerable NetScaler appliance memory. The most operationally significant impact described in the provided content is theft of session authentication tokens, which can then be used in place of user credentials to access protected resources and bypass MFA. The vulnerability was used for initial access in real intrusions and ransomware operations, enabling downstream compromise of internal networks, data theft, persistence, and in some cases ransomware deployment.

Mitigation

If you can’t patch tonight, do this now.

No vendor workaround is provided in the supplied content. If immediate patching is not possible, exposed NetScaler Gateway and AAA services should be isolated from untrusted networks and closely monitored for signs of compromise. Given the documented theft of valid session tokens, organizations should invalidate active sessions, review authentication activity for anomalous access, and investigate appliances for prior exploitation even after patching.

Remediation

Patch, then assume compromise.

Upgrade affected NetScaler ADC and NetScaler Gateway appliances to fixed versions. The provided Citrix advisory lists the following fixed releases or later: 14.1-8.50, 13.1-49.15, 13.0-92.19, 13.1-FIPS 13.1-37.164, 12.1-FIPS 12.1-55.300, and 12.1-NDcPP 12.1-55.300. Version 12.1 is end-of-life and should be upgraded to a supported release. Because stolen session tokens may remain valid after patching, administrators should also terminate all active sessions after remediation and rotate credentials as appropriate.
PUBLIC EXPLOITS

Exploits

5 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (3 hidden).

VALID 5 / 8 TOTALView more in app
abyss-c2MaturityPoCVerified exploit

This repository is a multi-module Python offensive framework centered on exploiting HiSilicon DVR/NVR/IP camera devices via CVE-2020-25078, then managing compromised hosts through a Flask/SocketIO web panel. It is not a simple single-file PoC: it includes a control server (server.py), persistence and post-exploitation tooling, credential attacks, recon modules, web vulnerability scanners, network service checks, pivoting, reverse shell support, and a SQLite-backed datastore. Core exploit logic is in exploit.py and scanner.py. exploit.py probes numerous traversal/disclosure paths such as /../../.../mnt/mtd/Config/Account1 and related config/system files, parses returned content with multiple regex patterns to recover credentials, fingerprints device families, and falls back to known default credentials when disclosure succeeds but parsing does not. scanner.py operationalizes this by scanning IPs/CIDRs and common ports, checking liveness, fingerprinting likely cameras, invoking the CVE-2020-25078 checks, and storing recovered credentials in cameras.db. Post-exploitation capability is substantial. telnet_client.py provides raw Telnet login and command execution. botnet.py fans out commands across stored hosts. persistence.py installs SSH authorized_keys, cron, rc.local, init.d, systemd, inittab telnetd, and bind-shell style persistence. reverse_shell.py generates many Linux/IoT reverse shell one-liners and runs listeners. pivot_chain.py and socks_pivot.py support chained execution and local SOCKS5 pivoting through compromised hosts. Additional modules broaden scope beyond the HiSilicon exploit: brute.py and cred_spray.py perform credential attacks across Telnet, SSH, FTP, HTTP, SMB, databases, VNC, LDAP, WinRM, and more; network_exploit.py checks for exposed/misconfigured services and some well-known vulnerabilities such as MS17-010 and BlueKeep; web_exploit.py, web_cves.py, web_bugs.py, and web_brute.py scan websites for exposed files, CMS fingerprints, generic bug classes, and multiple CVE signatures. Recon/intel support includes ASN, DNS, GeoIP, JARM, WAF detection, proxy/Tor rotation, screenshot grabbing from camera snapshot endpoints, and Telegram/Discord/AbuseIPDB integrations. The repository structure is coherent and functional, with many CLI-capable modules and a central web UI in templates/index.html. Overall, this is an operational exploit-and-post-exploitation toolkit focused on HiSilicon IoT devices but expanded into a broader C2-style offensive platform.

flags-altDisclosed May 20, 2026pythonhtmlnetworkweblocal
CVE-2023-4966-POCMaturityPoCVerified exploit

This repository contains a Python proof-of-concept exploit for CVE-2023-4966, a critical memory disclosure vulnerability in Citrix NetScaler (ADC) appliances configured as Gateways or AAA virtual servers. The main exploit script (exploit.py) allows an unauthenticated attacker to leak session tokens by sending a GET request with an oversized Host header to the /oauth/idp/.well-known/openid-configuration endpoint. The script parses the response for session tokens and can optionally test their validity by POSTing them as cookies to /logon/LogonPoint/Authentication/GetUserName, extracting associated usernames if successful. The exploit supports both single-target and multi-target modes, with output options and verbosity controls. The repository also includes an OpenSSL configuration file (openssl.cnf) to enable legacy renegotiation, and a requirements.txt file listing necessary Python dependencies. The README provides clear usage instructions and context about the vulnerability. This exploit is a functional proof-of-concept and does not include weaponized payloads, but demonstrates the ability to extract sensitive session information from vulnerable Citrix appliances.

mlynchcogentDisclosed Oct 25, 2023pythonnetwork
CVE-2023-4966MaturityPoCVerified exploit

This repository contains a Python exploit for CVE-2023-4966, a critical memory leak vulnerability in Citrix ADC (NetScaler) appliances. The main script, exploit.py, allows unauthenticated attackers to leak session tokens from vulnerable Citrix ADC instances by sending a GET request with an oversized Host header to the /oauth/idp/.well-known/openid-configuration endpoint. The script parses the leaked memory for session tokens, optionally tests their validity by sending them as cookies to the /logon/LogonPoint/Authentication/GetUserName endpoint, and can output results to a file. The exploit supports both single-target and multi-target modes, with options for verbose output and filtering for only valid session tokens. The repository also includes a minimal OpenSSL configuration file (openssl.cnf) to enable legacy renegotiation if required, and a requirements.txt for dependencies. The exploit is operational and provides a practical method for extracting sensitive session information from affected Citrix appliances.

ChocapikkDisclosed Oct 24, 2023pythonnetwork
CVE-2023-4966MaturityPoCVerified exploit

This repository contains a Python exploit script (exploit.py) targeting CVE-2023-4966, a critical information disclosure vulnerability in Citrix Gateway and ADC devices. The exploit works by sending a GET request with an oversized Host header to the /oauth/idp/.well-known/openid-configuration endpoint on the target device, causing it to leak memory contents in the HTTP response. The script supports both single-target and mass exploitation modes, with results saved to a specified output file. The code uses concurrency to efficiently target multiple domains. The README provides usage instructions and credits. The requirements.txt lists necessary Python dependencies. The exploit is operational and can be used to extract sensitive information from vulnerable Citrix devices.

RevoltSecuritiesDisclosed Oct 29, 2023pythonnetwork
citrix_cve-2023-4966MaturityPoCVerified exploit

This repository contains a Python proof-of-concept exploit for CVE-2023-4966 (Citrix Bleed), targeting Citrix ADC and Gateway devices. The main file, 'citrix-bleed.py', adapts Assetnote's original exploit to support parallel scanning and improved error handling. The script allows the user to specify a single target or a file containing multiple targets. For each target, it sends a specially crafted HTTPS GET request to the '/oauth/idp/.well-known/openid-configuration' endpoint with an oversized Host header, exploiting the vulnerability to leak memory contents from the device. The exploit is network-based and does not require authentication. The repository is structured simply, with a README and the main exploit script. No hardcoded IPs or credentials are present; targets are supplied at runtime.

dinosnDisclosed Oct 25, 2023pythonnetwork
EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Citrix SystemsNetscaler Application Delivery Controllerapplication
Citrix SystemsNetscaler Gatewayapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence8

Every observed campaign linking this CVE to a named adversary.

Associated malware13

Malware families riding this exploit, with evidence and IOCs.

Detection signatures2

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity20

Community discussion across Reddit, Mastodon, and other social sources.