Our office staff and transport planners work from home through a Citrix NetScaler gateway. In October 2023 Citrix disclosed a flaw in it, soon nicknamed Citrix Bleed, that let anyone on the internet read pieces of the gateway's memory. Those pieces could include session tokens, the proof that a user has already signed in with a password and a second factor.
We installed the fix two days after the announcement, and I reported that to our board as a quick response. It was. It was also incomplete. Fixing the gateway stopped new tokens being stolen. It did nothing about tokens already taken, and a stolen token is a signed in session that needs no password and no code. Researchers later reported it had been exploited since late August. Citrix's updated advice was to end every active and persistent session after upgrading. We read that advice eleven days after we had patched.
Before ending the sessions, we listed them, and one stood out. It belonged to one of our transport planners and came from an address at a hosting company abroad, while he was at his desk in our office. Our gateway let sessions live for a week, chosen years earlier for convenience. Someone had used his session to browse the route planning server and two file shares. As far as our logs could show, they had copied one folder of route sheets, and we told the customers whose sites were listed in it.
We ended every session, reset his credentials and spent a week going back through the gateway logs to August, looking for any other session that had changed address partway through. We found none.
Sessions on the gateway now last twelve hours. Our patching procedure for anything that faces the internet has a second step after the update is installed: read the vendor's guidance for any action beyond the patch, and assume that a flaw being exploited was used before we heard about it. When a similar flaw appeared in 2025 and was quickly called Citrix Bleed 2, ending sessions was in our plan before the patch went on.
A patch closes the door. It does not check who walked through while it was open.
– Serguey Shinder
Top comments (0)