-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 NEFARIOUSPLAN-CANONICAL-V1 {"body_md":"## The advisory describes one bug. The advisory covers two.\n\nCitrix's advisory CTX696300 publishes on 2026-03-23. The text is one sentence: \"Insufficient input validation in NetScaler ADC and NetScaler Gateway when configured as a SAML IDP leading to memory overread.\" NVD scores it 9.8 against `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`. CWE-125 (out-of-bounds read). CISA adds CVE-2026-3055 to the Known Exploited Vulnerabilities catalog on 2026-03-30 with a federal patch deadline of 2026-04-02, a three-day window. Affected: NetScaler ADC and Gateway 14.1 before 14.1-66.59, 13.1 before 13.1-62.23, 13.1 FIPS and NDcPP before 13.1-37.262.\n\nThe advisory's one sentence covers two distinct triggers at two distinct URLs in the same appliance. Both leak process memory through the `NSC_TASS` response cookie. Both require the appliance to be configured as a SAML identity provider, which is the deployment shape under which NetScaler exposes the `/saml/*` and `/wsfed/*` request surfaces to unauthenticated callers.\n\nThe first trigger is the one Citrix's advisory describes implicitly. POST to `/saml/login` with a base64-encoded SAML AuthnRequest XML whose root element omits the `AssertionConsumerServiceURL` attribute:\n\n```xml\n\n http://attacker/saml.php\n\n```\n\nThe optional ACS URL attribute is missing from the root element. NetScaler's SAML processor walks the AuthnRequest as if the attribute were present, looks up the string buffer it expects, and serializes whatever bytes the buffer happens to hold into the session context. The context is base64-encoded and returned as `Set-Cookie: NSC_TASS=...` on the response. A patched appliance, on the same request, returns the string \"Parsing of presented Assertion failed\" in the response body and sets no `NSC_TASS` cookie. That divergence is how the public probe `l0lsec/check-cve-2026-3055-netscaler` (published 2026-04-01) decides patch status: send the malformed POST, look for the cookie versus the rejection string.\n\nThe second trigger is the one Citrix's advisory does not describe. GET request to `/wsfed/passive?wctx`. No equals sign. No value. Just the parameter name dangling in the query string.\n\n```\nGET /wsfed/passive?wctx HTTP/1.1\nHost: target.example.com\n```\n\nThe WS-Federation passive endpoint and the SAML IdP endpoint share request-context handling at the appliance layer. When the query-string parser sees `wctx` without an `=`, it registers the parameter as PRESENT in the request's parameter table. Downstream code that uses `wctx` reads from the parameter's bound buffer through the table. The pointer is valid; nothing wrote to the buffer during this request. The bytes returned in `NSC_TASS` are residue from prior requests on the same worker. The Spanish-language scanner `fevar54/CVE-2026-3055-Scanner` (published 2026-03-31) iterates this GET, base64-decodes the cookie, and treats a decoded length above 200 bytes as confirmation of vulnerability. It is the more reliable trigger of the two. watchTowr's Part 2 notes that \"this variant works every(ish) time, and discloses kilobytes of memory.\"\n\n## The fix-version range moves twice. The CVE number stays.\n\nwatchTowr's Part 1, dated 2026-03-28, walks the `/saml/login` mechanism, confirms the 14.1-66.59 and 13.1-62.23 builds reject the malformed AuthnRequest, and closes with a paragraph about Citrix's pattern of memory-disclosure CVEs in this appliance. The author writes: \"we just wanted to take this moment to say 'we told you so.'\"\n\nPart 2 publishes twenty-four hours later, on 2026-03-29. The opening paragraph is the relevant one: \"CVE-2026-3055 has been assigned to at least two memory overread vulnerabilities.\" Part 2 demonstrates the `/wsfed/passive?wctx` trigger against the 14.1-66.59 build that Citrix had described as the fix for CVE-2026-3055 the previous week. The leak reaches the same `NSC_TASS` cookie with greater volume and reliability than Part 1's trigger. The recovered material in Part 2 includes verbatim HTTP request headers and authenticated administrative session IDs.\n\nThe paragraph that lands the disclosure: \"we identified a further instance and have reported it to Citrix.\"\n\nBetween Part 1 and Part 2, the public CVE record showed CVE-2026-3055 with a patched-versions range, and the appliances inside that range remained vulnerable to a separate, reliable, public memory-disclosure primitive at a second URL. The CVE number did not change. The vendor's advisory text did not change. The patched-versions range was eventually amended to cover the second endpoint. The fix-version range moved twice. The CVE number stayed.\n\nCitrix's advisory credits the discovery to \"Citrix's own internal product security efforts.\" Part 2 is, in effect, a public correction to that credit line. The first endpoint was an internal find. The second endpoint was found by watchTowr against the build Citrix released to close the first.\n\n## Three years, same cookie\n\nThe Set-Cookie that leaks memory in CVE-2026-3055 is `NSC_TASS`. The Set-Cookie that leaked memory in CVE-2023-4966, the original CitrixBleed, was `NSC_AAAC`, and the leak was reflected in the body of `/oauth/idp/.well-known/openid-configuration`. The leak in CVE-2025-5777, CitrixBleed 2, ran the same shape at a login endpoint with a different identifier. CVE-2025-12101 was the variant watchTowr disclosed in late 2025 against the build Citrix had released to close CitrixBleed 2: same component, same class, next trigger, next CVE.\n\nFour memory-disclosure CVEs in three years against the same appliance. The triggers vary. The leaked field varies (`NSC_AAAC`, `NSC_TASS`, response body, redirect cookie). The shape is invariant: a request omits or under-specifies a parser-expected field; the parser dereferences the field's buffer anyway; the dereferenced buffer holds bytes from prior requests on the worker; the bytes surface in a response field clients are designed to read; the bytes contain authenticated session material.\n\nThis is the [design-debt-driver](/patterns/design-debt-driver) pattern at its substrate. Each advisory page enumerates the specific path closed. The bug class is not in the path. The bug class is the appliance's habit of returning bytes from buffers it never wrote to in the current request, packaged in cookies and identifier fields the caller is designed to read. The advisory closes the specific path. The class continues. We have written about this shape before under Ivanti's edge appliances, on the same pattern, in [The Vulnerability Subscription](/posts/ivanti-the-vulnerability-subscription); the substrate is different but the cadence rhymes.\n\nCISA's KEV listing on 2026-03-30 with a three-day federal deadline reflects active in-wild exploitation observed in watchTowr's honeypots starting 2026-03-27, four days after the CVE first published. The 14.1-66.59 and 13.1-62.23 builds that satisfied the KEV deadline on 2026-04-02 were the builds that still left `/wsfed/passive?wctx` open at the time Part 2 published. A defender who patched on the deadline patched the endpoint Citrix described. The endpoint watchTowr disclosed required the next build.\n\n## The public PoC ecosystem fragments along the two endpoints\n\nFive public repositories carry the CVE-2026-3055 identifier in their names. They split cleanly along which endpoint they implement:\n\nThe `0xBlackash/CVE-2026-3055` repo (created 2026-03-29) is a documentation reproduction of the Citrix advisory and the watchTowr Part 1 writeup. The README's \"Exploitation Status\" section reads: \"No public Proof-of-Concept (PoC) released yet.\" There is no exploit code in the repository. It is a marker against the CVE number, dated the same day as watchTowr's Part 2.\n\nThe `fevar54/CVE-2026-3055---Citrix-NetScaler-Memory-Overread-PoC` and `fevar54/CVE-2026-3055-Scanner---Herramienta-de-Detecci-n` repos (both created 2026-03-31) target `/wsfed/passive?wctx`. They are the Part 2 trigger packaged for an operator. The `vulnerability_checker.py` is seventy-three lines and confirms exactly what watchTowr demonstrated: the GET reliably returns `NSC_TASS`, the decoded payload exceeds 200 bytes, the leaked data is operator-actionable.\n\nThe `l0lsec/check-cve-2026-3055-netscaler` repo (created 2026-04-01) targets `/saml/login` with the malformed AuthnRequest. It is the Part 1 trigger packaged as a defender-side probe. The README explicitly distinguishes \"POTENTIALLY VULNERABLE\" (NSC_TASS returned) from \"PATCHED\" (\"Parsing of presented Assertion failed\" in body) from \"NOT APPLICABLE\" (no SAML IdP configured at all).\n\nThe `NetVanguard-cmd/CVE-2026-3055` repo (created 2026-04-19) is a placeholder against the CVE number with a tinyurl pointing offsite. The body of the README is generic CVE filler: \"Severity: N/A. CVSS: N/A. Impact: N/A.\" It is a CVE-number-shaped artifact rather than a working exploit. The actual exploit, if anywhere, is behind the tinyurl.\n\nThe scanner ecosystem now contains two operator-ready trigger paths for the same CVE number, and the determination of which one to use depends on which day's build the target is running. The defender's question on this CVE is no longer \"did I patch?\" The defender's question is: which CVE-2026-3055 do you mean?\n\n## The CVE is the label. The substrate continues.\n\nThe 2026-04-02 KEV deadline came and went. The next memory-overread CVE in this appliance family has not been issued yet. It will be. The first three came in 2023, 2025, and twice in 2026. The cadence is roughly twelve to eighteen months, with watchTowr or another outside lab finding the next trigger in the build that closed the previous one. The pattern is observable in the advisory stream itself: CVE language about \"insufficient input validation\" recurs against the same `nsppe` request handlers; the cookie name varies but the field-not-written, buffer-still-read, bytes-in-response-cookie shape does not.\n\nNetScaler operators who treat each CTX advisory as the last advisory are buying a subscription to a class of CVEs the vendor has been issuing on an enterprise-cadence schedule since 2023. The instances close. The substrate is not maintained as a class. Segmenting a SAML IdP from the public internet is a defensive control. Removing the SAML IdP role from internet-facing NetScalers and routing federation through a different identity broker is a stronger one. The 14.1-66.59 build is the answer to one trigger. The 14.1-next build will be the answer to a trigger we have not seen yet. The appliance class does not converge to zero memory disclosures because the components that produce them are what the appliance is for.\n\nPoC: [fevar54/CVE-2026-3055-Scanner](https://github.com/fevar54/CVE-2026-3055-Scanner---Herramienta-de-Detecci-n), [l0lsec/check-cve-2026-3055-netscaler](https://github.com/l0lsec/check-cve-2026-3055-netscaler), watchTowr Labs [Part 1](https://labs.watchtowr.com/the-sequels-are-never-as-good-but-were-still-in-pain-citrix-netscaler-cve-2026-3055-memory-overread/) and [Part 2](https://labs.watchtowr.com/please-we-beg-just-one-weekend-free-of-appliances-citrix-netscaler-cve-2026-3055-memory-overread-part-2/).","closing_line":"The CVE is one number. NSC_TASS is the substrate.","hook_md":"NetScaler's `/wsfed/passive?wctx` accepts a query parameter named `wctx`. The handler checks that the parameter is present in the request URL. It does not check that the parameter has a value. A request to `/wsfed/passive?wctx` with no equals sign and no value resolves at the parser as \"present, no value.\" The code that runs next dereferences the field's buffer. The buffer was never written to by this request. NetScaler base64-encodes its contents and returns them in the `NSC_TASS` Set-Cookie header.\n\nCVE-2026-3055 is the fourth memory-disclosure CVE Citrix has issued for this appliance line in three years. The patch under this CVE number closed one endpoint. watchTowr published Part 2 the day after Part 1, showing the same shape at a second URL Citrix had not closed.","post_id":547,"slug":"netscaler-cve-2026-3055-one-cve-two-overreads","title":"CVE-2026-3055: NetScaler Patched One Memory Overread. WatchTowr Published the Second the Next Day.","type":"initial","unreadable_sentence":"CVE-2026-3055 is one CVE number. It is assigned to two endpoints in the same appliance, patched twice, twenty-four hours apart, after watchTowr published the second one Citrix had not."} -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQRf0htP5+SjynlxywneZjl4jgkQJgUCaqHICwAKCRDeZjl4jgkQ Jt8SAPoCDpkMMbf5EnFERaaKaed5nFuoY7UYAn3UovKKa19hygD8CTvFCpZXVVsZ qI2QiyevUAYyi5YfdQCBRYETbXSyVgw= =Xssr -----END PGP SIGNATURE-----