Test SAML IDP for memory overread

Other injection (LDAP, XPath, XSLT, CSS, LaTeX)Discovery

Written with a model's help from “CitrixBleed To Infinity And Beyond (Citrix NetScaler Pre-Auth Memory Overread CVE-2026-8451)” by Aliz Hammond on watchTowr Labs. Read the writeup before relying on it.

When testing a SAML IDP, try sending a SAMLRequest with a malformed AuthnRequest XML document to the /saml/login endpoint. Look for signs of a memory overread, such as unexpected behavior or error messages, in the server's response or logs. This can be done by manipulating the XML attributes, such as removing or modifying quotes, to see if the parser reads past the end of the input buffer. Monitor the server's logs, such as /var/log/ns.log, to observe how the parser interprets the input. A successful test may reveal sensitive information or cause the server to crash.

http
POST /saml/login HTTP/1.1
Host: target.com
Content-Length: 1090
SAMLRequest=<base64-encoded XML document>

Follow #memory-overread, #saml or #xml-parsing for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.

Comments

No comments yet.