Sploitus

Exploit for Out-of-bounds Read in Citrix Netscaler Application Delivery Controller

githubexploit Β· 2025-07-15

Exploit Code

README107 lines
## https://sploitus.com/exploit?id=3B1862CA-F554-5B99-BDEF-E4901F92CF06
# CVE-2025-5777: The Ultimate Scanner πŸš€
![Hacker](https://media.giphy.com/media/LmNwrBhejkK9EFP504/giphy.gif)

---

### πŸ” CVE: `CVE-2025-5777`  
### 🚨 Severity: **Critical**  
### πŸ‘¨β€πŸ’» Author: `Virendra Kumar & CyberLeelawat`  
### πŸ“œ License: [MIT](./LICENSE)

---

An advanced, powerful, and easy-to-use tool designed to detect and exploit **CVE-2025-5777** (aka **CitrixBleed 2**).  
This script not only identifies the memory leak vulnerability but **demonstrates real-world impact** by parsing sensitive data like session cookies and credentials directly from leaked memory.

---

## 🧠 What is CVE-2025-5777?

`CVE-2025-5777` is a **critical memory leak vulnerability** in **NetScaler (Citrix) ADC and Gateway** products.

> 🧨 It allows unauthenticated, remote attackers to **leak sensitive memory content** like:
- Session cookies (e.g., `NSC_AAAC`)
- Usernames and passwords
- MFA tokens and more

This can result in **full account takeover** without credentials or MFA, making it a **high-impact RCE-level vulnerability**.

---

## ✨ Features

βœ… **High-Speed Asynchronous Scanning**  
β†’ Built with `asyncio` & `aiohttp` to scan targets blazing fast.  

βœ… **Intelligent Data Extraction**  
β†’ Parses **human-readable strings** from leaked memory (like creds, tokens).  

βœ… **Sensitive Data Detection**  
β†’ Detects critical patterns like session cookies and flags high-risk data.  

βœ… **Leak Reporting**  
β†’ Automatically stores leaks into `leaks.txt` for clean offline analysis.  

βœ… **PoC + Exploitation Loop**  
β†’ Supports one-time check or continuous exploitation mode with `--check` flag.  

---

## ⚠️ Disclaimer

> ❗ **This tool is for educational and authorized bug bounty testing only.**  
> ❌ Unauthorized use on systems you don’t own or have permission to test is **illegal**.  
> πŸ§‘β€πŸ’» The author is not responsible for any misuse or damage caused by this tool.

---



## πŸ“š Official References

- [NIST NVD – CVE-2025-5777](https://nvd.nist.gov/vuln/detail/CVE-2025-5777)
- [Citrix Security Advisory – CTX693420](https://support.citrix.com/article/CTX693420)

---

## πŸ” Shodan Dorks

- http.html:"_ctxstxt_NetscalerAAA" ssl.cert.subject.CN:"target.com" port:6443

- title:"Netscaler Gateway" ssl.cert.subject.CN:"target.com" port:6443

- title:"NetScaler AAA" ssl.cert.subject.CN:"target.com" port:6443

- http.favicon.hash:-1166125415 ssl.cert.subject.CN:"target.com" port:6443

- http.favicon.hash:-1292923998 ssl.cert.subject.CN:"target.com" port:6443


---

## πŸ”Ž Google Dorks

- inurl:/logon/LogonPoint/tmindex.html site:target.com


---

## πŸŒ€ Curl Command

```bash
curl -s -k -X POST "https://target.com/p/u/doAuthentication.do" -d "login"
``` 

Exploit Payload Path
```https://target.com/p/u/doAuthentication.do``` 
Use Burp Suite to capture and manipulate the request.

## πŸ™ Credits & Acknowledgements
- Tool Developer: Virendra Kumar & CyberLeelawat
- Original Vulnerability Research: The foundational research and original exploit concepts for this vulnerability were published by security researchers at Watchtwr Labs and others in the community. This tool builds upon their essential work.

---

πŸ“œ License
This project is licensed under the MIT License – see the LICENSE file for details.