Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
cve-2025-5777-citrixbleed2_reproduction — Reproduction toolkit for CVE-2025-5777 (CitrixBleed 2) memory disclosure vulnerability in Citrix NetScaler ADC/Gateway. Includes PoC, affected version details, and session hijacking methodology. | Kitploit
Tools/GitHubGitHub/razureink/cve-2025-5777-citrixbleed2_reproduction
ReconnaissanceVulnerability AnalysisExploitationWeb Application ExploitationInformation GatheringPenetration Testing
GitHubrazureink/cve-2025-5777-citrixbleed2_reproduction

cve-2025-5777-citrixbleed2_reproduction

Reproduction toolkit for CVE-2025-5777 (CitrixBleed 2) memory disclosure vulnerability in Citrix NetScaler ADC/Gateway. Includes PoC, affected version details, and session hijacking methodology.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
28 days agoNot yet reviewed

CVE-2025-5777 — CitrixBleed 2 (Citrix NetScaler Memory Disclosure)

CVSS 9.3 — Critical — Active exploitation in the wild

CitrixBleed 2 is a memory disclosure vulnerability in Citrix NetScaler ADC and NetScaler Gateway. Insufficient input validation in the authentication endpoint causes a memory overread (CWE-125), allowing an unauthenticated attacker to leak sensitive memory contents — including session cookies, cryptographic material, and other secrets.

Overview

FieldValue
CVECVE-2025-5777
CVSS9.3 (Critical)
CWE125 — Out-of-bounds Read
AffectedNetScaler ADC / Gateway (specific versions below)
ExploitationConfirmed in the wild
Discovered2025
TypeMemory Disclosure / Information Leak

Technical Details

The vulnerability resides in the authentication endpoint:

root@kitploit:~
POST /p/u/doAuthentication.do

By sending a request with an empty login parameter, the server's input validation is bypassed, causing it to copy uninitialized memory into the response. The leaked data appears inside <InitialValue> XML elements in the HTTP response.

An attacker can chain the memory leak with a session-hijacking attack by extracting NSC_AAAC session cookies from the leaked memory.

What is leaked

  • Session cookies (NSC_AAAC, NSC_TEMP, etc.)
  • Internal IP addresses
  • Stack / heap fragments
  • Cryptographic key material (observed in some leaks)
  • Other users' session tokens

Affected Versions

Only appliances configured as Gateway (VPN / ICA / CVPN / RDP Proxy) or AAA virtual server are affected. Appliance mode (L2/L3) is not vulnerable.

Reproduction Steps

  1. Identify a Citrix NetScaler ADC/Gateway running a vulnerable version.
  2. Verify Gateway or AAA virtual server mode is configured.
  3. Send a POST request to /p/u/doAuthentication.do with an empty login parameter.
  4. Capture the HTTP response and extract <InitialValue> element values.
  5. Inspect leaked data for session cookies and other secrets.
  6. If an NSC_AAAC cookie is found, use it to impersonate the victim session.

PoC

root@kitploit:~
POST /p/u/doAuthentication.do HTTP/1.1
Host: target.example.com
Content-Type: application/x-www-form-urlencoded

login=&passwd=foo

The response will contain <InitialValue> tags with leaked memory contents. On a patched system, <InitialValue> should simply be empty.

Mitigation

  1. Upgrade to the patched firmware version listed above.
  2. Invalidate all active sessions after patching to ensure any leaked tokens are no longer valid.
  3. Where immediate patching is not possible, restrict access to the management interface and authentication endpoints via ACLs or WAF rules.
  4. Monitor for signs of exploitation — unexpected requests to /p/u/doAuthentication.do with empty parameters.

References

  • Citrix Security Advisory: https://support.citrix.com/article/CTX691608
  • CVE Entry: https://nvd.nist.gov/vuln/detail/CVE-2025-5777
  • NVD: https://nvd.nist.gov/
Download Tool
ProductVulnerableFixed
NetScaler ADC 14.1< 14.1-30.5914.1-30.59+
NetScaler ADC 13.1< 13.1-56.2713.1-56.27+
NetScaler ADC 13.0< 13.0-92.2413.0-92.24+
NetScaler Gateway 14.1< 14.1-30.5914.1-30.59+
NetScaler Gateway 13.1< 13.1-56.2713.1-56.27+
NetScaler Gateway 13.0< 13.0-92.2413.0-92.24+