Citrix vulnerabilities
3 real-world CVEs in Citrix. Each one is a short hands-on exercise in Hexret: find the vulnerable line, follow the exploit and learn the fix.
- CVE-2023-4966high 7.52023
CitrixBleed: NetScaler snprintf-length memory over-read
A response is sent using snprintf's return value as its length, but snprintf returns the length it would have written, so an over-long client hostname makes the appliance send adjacent memory (including session tokens) back to the attacker.
- CVE-2019-19781critical 9.82019
Citrix ADC/Gateway path traversal to Template Toolkit RCE
An unauthenticated request writes an attacker-named file through a directory-traversal header, landing it in a directory whose contents are later parsed by a template engine, so a stored template payload runs as code.
- CVE-2019-6485medium 5.92019
Zombie POODLE: TLS CBC checks only the padding length byte
Affected Citrix TLS endpoints removed CBC padding according to the final byte without validating that every claimed padding byte matched it. An on-path attacker could distinguish accepted modified records and recover aligned plaintext bytes.