Finding in the Wild | Citrix Entra SSO – When the Microsoft Security Baseline Blocks Sign-In

A Citrix environment with Microsoft Entra ID, correctly configured SSO and registered VDAs. Users authenticate successfully to Citrix Workspace. However, launching the desktop prompts for Windows credentials again, or SSO fails. The symptoms: ✅ Entra ID authentication succeeds

A Citrix environment with Microsoft Entra ID, correctly configured SSO and registered VDAs.

Users authenticate successfully to Citrix Workspace. However, launching the desktop prompts for Windows credentials again, or SSO fails.

The symptoms:

✅ Entra ID authentication succeeds
✅ The VDA is registered and reachable
✅ Citrix resources are displayed
❌ Single sign-on within the session does not work

The initial suspects are Entra ID, Conditional Access, Kerberos or the Citrix configuration.

But the actual cause may lie in a Microsoft Security Baseline.

🔍 Root cause

Citrix Entra SSO requires the following Windows security setting:

Allow Custom SSPs and APs to be loaded into LSASS

The Microsoft Intune Security Baseline for Windows sets this setting to Disabled by default.

This prevents Windows from loading additional Security Support Providers and Authentication Packages into LSASS.

As a result, the authentication integration required for Citrix SSO can be blocked.

🛠️ My troubleshooting approach

First, I check the effective policy on the affected VDA:

Computer Configuration → System → Local Security Authority

The critical setting is:

Allow Custom SSPs and APs to be loaded into LSASS

Next, I check whether Intune, a Security Baseline or a conventional GPO controls this setting.

The solution:

Specifically set the setting to Enabled on the affected Citrix session hosts.

Important: do not disable the entire Security Baseline!

I would use a dedicated policy or an agreed exception for the Citrix VDAs.

Then verify policy application, restart the VDA and retest SSO.

⚠️ Security note

This change permits additional SSP/AP components to load into LSASS, deliberately expanding the allowed authentication integration.

The exception therefore belongs only on systems that actually require this functionality.

💡 My takeaway

Not every Citrix SSO issue is a Citrix problem.

Sometimes a correctly deployed Security Baseline prevents exactly the functionality required by the intended authentication architecture.

Security hardening and functionality must be considered together, especially with Citrix, Entra ID and Windows.

Checklist for NetScaler (Citrix ADC) CVE-2023-3519

Citrix issued an alert yesterday (07/18/2023) about a critical vulnerability (CVE-2023-3519) in all NetScaler (Citrix ADC) & Gateway systems. To date, no working exploits have been published.

Current notice: This article covers a specific older NetScaler vulnerability. For a vendor-independent process covering current CVEs, firmware updates and checks for possible compromise, refer to our NetScaler CVE Checklist.

Important ! There are no patches for NetScaler (Citrix ADC) version 12.1 or older. These systems have reached their EOL and will therefore no longer be equipped with the necessary fix. In this case please update to the latest 13.0 or 13.1 version.

The vulnerability allows anonymous remote code execution and thus unauthenticated attackers to take over various machines with root privileges.

As we hear from the Citrix community, more and more attacked systems are being found. The first exploits have also been available for purchase on the dark web for some time.

Continue reading “Checklist for NetScaler (Citrix ADC) CVE-2023-3519”

Checklist for NetScaler (Citrix ADC) CVE-2023-4966

Citrix issued an alert (10/10/2023) about a critical vulnerability (CVE-2023-4966) in all NetScaler (Citrix ADC) & Gateway systems. Several working exploits have been published.

Current notice: This article covers a specific older NetScaler vulnerability. For a vendor-independent process covering current CVEs, firmware updates and checks for possible compromise, refer to our NetScaler CVE Checklist.

Please note that simply updating the systems is not enough. The connection tokens must also be reset.

Important ! There are no patches for NetScaler (Citrix ADC) version 12.1 or older. These systems have reached their EOL and will therefore no longer be equipped with the necessary fix. In this case please update to the latest 13.0, 13.1 or 14.1 version.

The vulnerability allows anonymous remote code execution and thus unauthenticated attackers to take over various machines with root privileges.

Continue reading “Checklist for NetScaler (Citrix ADC) CVE-2023-4966”

Checklist for NetScaler (Citrix ADC) CVE-2025-5777 & CVE-2025-6543

On June 17, 2025, Citrix published a security advisory for CVE-2025-5777, followed by CVE-2025-6543 on June 25, 2025. Both are classified as critical and are actively being exploited in the wild.

Current notice: This article covers a specific older NetScaler vulnerability. For a vendor-independent process covering current CVEs, firmware updates and checks for possible compromise, refer to our NetScaler CVE Checklist.

Threat Overview

  • CVE-2025-5777: Critical vulnerability due to improper input validation → leads to memory overread
  • CVE-2025-6543: Enables memory overflow, potentially resulting in DoS or arbitrary code execution → Exploits available !

⚠️ Important: Simply applying the firmware update is not enough. You must manually terminate all active ICA and PCoIP sessions after patching to ensure the vulnerability is fully mitigated.

Continue reading “Checklist for NetScaler (Citrix ADC) CVE-2025-5777 & CVE-2025-6543”

SAML Authentication between Citrix & Microsoft with Azure MFA

Update to the latest cloud navigation.

As a result of increasing projects, here is a little how-to with the summary of my previous articles. The main points are:

  • Azure AD Seamless Single Sign-On (PTA / PHS)
  • SAML Authentication (Azure AD as IdP & Citrix Gateway as SP)
  • Citrix Federated Authentication Service (FAS)
  • Microsoft Azure Multi-Factor-Authentication with Conditional Access

Requirements

  • Fully working Citrix Virtual Apps and Desktop Environment (StoreFront & DDC Minimum Version 7.9)
  • NetScaler with successful base configuration & activated Enterprise or Platinum license (Minimum Version 12.1 Build 50+ for native workspace app, for browser Minimum Version 11.1)
  • Configured Unified Gateway vServer
  • Internal and external DNS entries for Unified Gateway vServer (e.g. citrix.deyda.net)
  • Certificates for DNS entries (wildcard certificates are the easiest)
  • Existing Azure Tenant with Azure-AD base configuration (Domain, AAD Sync) & activated Azure AD Premium license
  • AD Connect version installed and configured (Minimum Version 1.1.644.0)
  • Firewall release for *.msappproxy.net on port 443
  • Domain administrator credentials for the domains that connected to Azure AD via AD Connect
  • Installed Authenticator App on Test User Mobile Phone
Continue reading “SAML Authentication between Citrix & Microsoft with Azure MFA”