CVE-2025-5777: OOB Memory Disclosure and MFA Session Hijacking in Citrix NetScaler ADC & Gateway (CitrixBleed 2)
HERMES
HERMES THREAT SCORE & GATEWAY EXPOSURE
Target:Citrix NetScaler ADC & NetScaler Gateway 14.1 / 13.1 Confidence: 99%
99 / 100
Dimension Breakdown
Exploitability 20 / 20
Threat Activity 20 / 20
Weaponization 20 / 20
Exposure 20 / 20
Prevalence 19 / 20
Impact 20 / 20
Exploit Maturity 20 / 20
Attack Chain Potential 20 / 20
Divergence & Operational Rationale
Hermes assesses CVE-2025-5777 at the maximum HTS of 99 (CRITICAL SEVERITY). Known as CitrixBleed 2, this out-of-bounds read flaw allows unauthenticated remote attackers to overread packet engine heap memory, stealing active session cookies (NSC_AAAC / NSC_TMAS) and completely bypassing Multi-Factor Authentication (MFA).
🕸️ Connected Knowledge Graph & Provenance
CVE-2025-5777: OOB Memory Disclosure and MFA Session Hijacking in Citrix NetScaler ADC & Gateway (CitrixBleed 2)VULNERABILITY
Connected Nodes: 1
Active Relationships (Outgoing)
→ affectsPRODUCTCitrix NetScaler ADC
98% VERY_HIGH
Software platform affected by security vulnerabilities and agentic attack patterns.
🔍 Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in Citrix NetScaler ADC documented in Hermes dossier.”
Supporting Verified Evidence:
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
1. Identification
Section titled “1. Identification”| Parameter | Technical Specification | Operational Impact |
|---|---|---|
| CVE Identifier | CVE-2025-5777 | Official NVD / MITRE record |
| Common Name | CitrixBleed 2 | Multi-session heap memory harvesting |
| Associated CWE | CWE-125: Out-of-bounds Read | Packet Engine (nsppe) memory leak |
| CVSS v4.0 Score | 9.3 CRITICAL | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L |
| CVSS v3.1 Score | 9.8 CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Applicable CPEs | cpe:2.3:a:citrix:netscaler_adc:*:*:*:*:*:*:*:*cpe:2.3:a:citrix:netscaler_gateway:*:*:*:*:*:*:*:* | Enterprise application delivery controllers and VPN gateways |
| Affected Versions | 14.1 < 14.1-43.56, 13.1 < 13.1-58.32, 13.1-FIPS < 13.1-37.240, 12.1-FIPS < 12.1-55.320 | NetScaler configured as Gateway or AAA virtual server |
| Fixed Versions | 14.1-43.56, 13.1-58.32, 13.1-37.240, 12.1-55.320 (CTX693420) | Critical security updates released by Citrix |
2. Exploitation
Section titled “2. Exploitation”- CISA KEV: Added on July 10, 2025 with 24-hour remediation mandate; known ransomware campaign usage confirmed.
- EPSS Score: 0.99953 (Percentile: 99.974% — among the highest in EPSS history).
- Operational Status: Global active exploitation verified by incident response teams worldwide.
- PoC & Weaponization: Weaponized public scripts sending malformed HTTP GET/POST headers returning 32-64 KB memory chunks per request.
- Access Conditions: Pre-authentication; public HTTPS network access (port 443); trivial attack complexity.
3. Threat Intelligence
Section titled “3. Threat Intelligence”- Threat Actors: State-sponsored APTs (Volt Typhoon, UNC3886) and ransomware operators (LockBit, Akira, Medusa, RansomHub).
- Observed Campaigns: Automated scraping campaigns scanning all exposed NetScaler appliances to stockpile valid enterprise session tokens.
- Associated Malware: In-memory session replay tools and Cobalt Strike beacon payloads.
- Exploitation Timeline: Discovered exploited in the wild in early July 2025; addressed in security bulletin CTX693420 on July 8, 2025.
4. Detection & Forensic Triage
Section titled “4. Detection & Forensic Triage”Indicators of Compromise (IOCs)
Section titled “Indicators of Compromise (IOCs)”- Anomalous HTTP Traffic: Repeated requests to
/vpn/or/logon/endpoints with oversized headers generating unusually large HTTP 200 responses. - Orphaned Authenticated Sessions: Active VPN connections recorded without corresponding logon or MFA challenge events in AAA logs.
Sigma Rule
Section titled “Sigma Rule”title: CitrixBleed 2 Memory Disclosure Attempt (CVE-2025-5777)id: f1a2b3c4-5777-4a8b-9012-123456789abcstatus: testdescription: Detects abnormal requests to NetScaler Gateway triggering out-of-bounds heap memory disclosurereferences: - https://support.citrix.com/support-home/kbsearch/article?articleNumber=CTX693420 - https://labs.watchtowr.com/how-much-more-must-we-bleed-citrix-netscaler-memory-disclosure-citrixbleed-2-cve-2025-5777/author: Hermes Codex Researchdate: 2026-09-10logsource: category: webserver definition: WAF or NetScaler HTTP access logsdetection: selection: cs_method: - 'GET' - 'POST' cs_uri_stem|startswith: - '/vpn/' - '/logon/' - '/oauth/idp/' sc_status: 200 sc_bytes|gt: 20000 condition: selectionfalsepositives: - Legitimate downloads of large static Citrix portal assets by remote clientslevel: criticalYARA Signature
Section titled “YARA Signature”rule Exploit_CitrixBleed_2_Memory_Leak_CVE_2025_5777 { meta: description = "Detects NetScaler memory disclosure responses containing sensitive session cookies" author = "Hermes Codex Research" date = "2026-09-10" reference = "CVE-2025-5777" strings: $cookie1 = "NSC_AAAC=" ascii $cookie2 = "NSC_TMAS=" ascii $citrix_env = "Citrix Receiver" ascii $mem_leak = { 00 00 00 00 [4-16] 4E 53 43 5F 41 41 41 43 } condition: ($cookie1 or $cookie2) and ($citrix_env or $mem_leak)}Suricata / Snort Signature
Section titled “Suricata / Snort Signature”alert http $EXTERNAL_NET any -> $NETSCALER_GATEWAY any (msg:"HERMES - Citrix NetScaler CitrixBleed 2 Memory Leak Attempt (CVE-2025-5777)"; flow:to_server,established; content:"/vpn/"; http_uri; pcre:"/Host:\s*[^]{500,}/H"; classtype:attempted-recon; sid:20255777; rev:1;)Logs & Forensic Artifacts
Section titled “Logs & Forensic Artifacts”- NetScaler Logs (
/var/log/ns.log): Inspect for abnormalTCP-CONN-TERMINATEmessages or packet engine crashes (nsppe) producing core files in/var/crash/. - Active Sessions Inspection: Review active sessions via NetScaler CLI (
show aaa user) and cross-reference with IdP authentication logs. - MITRE ATT&CK: T1190 (Exploit Public-Facing Application), T1539 (Steal Web Session Cookie), T1556 (Modify Authentication Process), T1133 (External Remote Services).
5. Remediation & Hardening
Section titled “5. Remediation & Hardening”- Apply Firmware Updates Immediately: Update to NetScaler 14.1-43.56, 13.1-58.32, or relevant fixed builds.
- Terminate All Active Sessions: Patching alone does not revoke stolen cookies. Terminate all active sessions via CLI:
kill aaa session -allandkill icaconnection -all. - Reboot All Appliances: Perform a full reboot of primary and secondary appliances to clear physical RAM buffers.
- Revoke and Rotate Tokens: Invalidate all active session tokens at your Identity Provider (Azure AD, Okta, Duo) and revoke certificate keys if exposure is suspected.
- Conduct Forensic Review: Correlate active NetScaler session IDs with MFA authentication records to identify hijacked sessions.
6. Enterprise Impact Scenario
Section titled “6. Enterprise Impact Scenario””What happens if this vulnerability is exploited in an enterprise?”
Section titled “”What happens if this vulnerability is exploited in an enterprise?””
- Silent Memory Harvesting: The attacker sends automated requests to the internet-facing NetScaler Gateway. Overreading internal memory, the adversary continuously harvests session tokens from connected employees.
- Admin Session Capture: Among the exfiltrated memory chunks, the attacker discovers a valid
NSC_AAACcookie belonging to a network administrator who completed MFA minutes prior.- Instant MFA Bypass: Injecting the cookie into an external browser, the attacker connects directly through the VPN gateway without requiring passwords or MFA prompts.
- Internal Network Reconnaissance: Operating from inside the corporate network, the attacker runs Active Directory reconnaissance tools (BloodHound), mapping privilege escalation paths to Domain Controllers.
- Ransomware Deployment & Lockout: The adversary deploys Akira ransomware across hypervisors, file shares, and domain controllers, while locking out legitimate administrative VPN access to delay incident response.