NetScaler ADC and NetScaler Gateway Security Bulletin for CVE-2024-8534 and CVE-2024-8535 (RDP proxy / Kerberos Constrained Delegation)

NetScaler ADC and NetScaler Gateway Security Bulletin for CVE-2024-8534 and CVE-2024-8535 (RDP proxy / Kerberos Constrained Delegation)

Description of Problem

Two vulnerabilities have been discovered in NetScaler ADC (formerly Citrix ADC) and NetScaler Gateway (formerly Citrix Gateway). Refer below for further details.

NetScaler are affected is RDP-Proxy Feature is enabled and/or Kerberos Constrained Delegation is configured!

Affected Versions

The following supported versions of NetScaler ADC and NetScaler Gateway are affected by the vulnerabilities: 

  • NetScaler ADC and NetScaler Gateway 14.1 BEFORE  14.1-29.72
  • NetScaler ADC and NetScaler Gateway 13.1  BEFORE  13.1-55.34
  • NetScaler ADC 13.1-FIPS BEFORE  13.1-37.207
  • NetScaler ADC 12.1-FIPS BEFORE  12.1-55.321
  • NetScaler ADC 12.1-NDcPP BEFORE  12.1-55.321

Note: NetScaler ADC and NetScaler Gateway versions 12.1 and 13.0 are now End Of Life (EOL) and are vulnerable. Customers are recommended to upgrade their appliances to one of the supported versions that address the vulnerabilities.

This bulletin only applies to customer-managed NetScaler ADC and NetScaler Gateway. Customers using Citrix-managed cloud services or Citrix-managed Adaptive Authentication do not need to take any action.

Summary

NetScaler ADC and NetScaler Gateway contain the vulnerabilities mentioned below 

CVE ID   DescriptionPre-requisites    CWECVSS
CVE-2024-8534Memory safety vulnerability leading to memory corruption and Denial of ServiceThe appliance must be configured as a Gateway (VPN Vserver) with RDP Feature enabled ORThe appliance must be configured as a Gateway (VPN Vserver) and RDP Proxy Server Profile is created and set to Gateway (VPN Vserver) ORThe appliance must be configured as a Auth Server (AAA Vserver) with RDP Feature enabledCWE-119: Improper Restriction of Operations within the Bounds of a Memory BufferCVSS v4.0 Base Score: 8.4(CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:L) 
CVE-2024-8535Authenticated user can access unintended user capabilitiesThe appliance must be configured as a Gateway (SSL VPN, ICA Proxy, CVPN, RDP Proxy) with KCDAccount configuration for Kerberos SSO to access backend resourcesOR The appliance must be configured as aAuth Server (AAA Vserver)  with KCDAccount configuration for Kerberos SSO to access backend resourcesCWE-440: Expected Behavior ViolationCVSS v4.0 Base Score: 5.8(CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:H/SI:H/SA:H)

What Customers Should Do

Cloud Software Group strongly urges affected customers of NetScaler ADC and NetScaler Gateway to install the relevant updated versions as soon as possible. 

  • NetScaler ADC  and NetScaler Gateway 14.1-29.72 and later releases
  • NetScaler ADC and NetScaler Gateway   13.1-55.34 and later releases of 13.1
  • NetScaler ADC 13.1-FIPS 13.1-37.207 and later releases of 13.1-FIPS 
  • NetScaler ADC 12.1-FIPS 12.1-55.321 and later releases of 12.1-FIPS 
  • NetScaler ADC 12.1-NDcPP 12.1-55.321 and later releases of 12.1-NDcPP 

Note: NetScaler ADC and NetScaler Gateway versions 12.1 and 13.0 are now End Of Life (EOL) and no longer supported. Customers are recommended to upgrade their appliances to one of the supported versions that address the vulnerabilities. 

CVE-2024-8534:

Customers can determine if they have an appliance configured as one of the following by inspecting their ns.conf file for the specified strings

  • A Gateway (VPN Vserver) with the RDP Feature enabled,
    enable ns feature.*rdpproxy
    add vpn vserver 
  • A Gateway (VPN Vserver) with an RDP Proxy Server Profile created and set to the Gateway (VPN Vserver)
    add rdp serverprofile <RDP_server_name>
    add vpn vserver <vserver_name>  -rdpServerProfileName <RDP_server_name>
  • An Auth Server (AAA Vserver) with the RDP Feature enabled.
    enable ns feature.*rdpproxy
    add authentication vserver

CVE-2024-8535:
Customers can determine if they have an appliance configured as one of the following by inspecting their ns.conf file for the specified strings

  • A Gateway (SSL VPN, ICA Proxy, CVPN, RDP Proxy) with KCDAccount configuration for Kerberos SSO to access backend resources
    add aaa kcdaccount
  • An Auth Server (AAA Vserver)  with KCDAccount configuration for Kerberos SSO to access backend resources
    add aaa kcdaccount

In addition, upon upgrading to the fixed version, customers must perform the shell commands mentioned below:
nsapimgr_wr.sh -ys call=ns_aaa_flush_kerberos_tickets

Note: In case of High Availability (HA) or Cluster setup of the NetScaler appliances, the above operation should be performed after upgrading all the appliances.

NetScaler ADC and NetScaler Gateway Security Bulletin for CVE-2024-8534 and CVE-2024-8535 (RDP proxy / Kerberos Constrained Delegation)

ShareFile StorageZones Controller Security Update for CVE-2023-24489

Description of Problem

A vulnerability has been discovered in the customer-managed ShareFile storage zones controller which, if exploited, could allow an unauthenticated attacker to remotely compromise the customer-managed ShareFile storage zones controller.

This vulnerability affects all currently supported versions of customer-managed ShareFile storage zones controller before version 5.11.24.

This bulletin only applies to customer-managed ShareFile storage zones controllers. Customers using ShareFile-managed storage zones in the cloud do not need to take any action.

The issue has been given the following identifier: 

CVE IDAffected ProductsDescriptionPre-requisitesCWECVSS
CVE-2023-24489Citrix Content CollaborationImproper resource control allows unauthenticated remote compromiseNetwork access to the ShareFile storage zones controllerCWE-2849.1

What Customers Should Do

This issue has been addressed in the following versions of the customer-managed ShareFile storage zones controller:

  • ShareFile storage zones controller 5.11.24 and later versions

Customers are required to upgrade to the fixed version.  

The latest version of ShareFile storage zones controller is available from the following location:

https://www.citrix.com/downloads/sharefile/product-software/sharefile-storagezones-controller-511.html

Instructions for upgrading the Storage Zones Controller are here:

https://docs.sharefile.com/en-us/storage-zones-controller/5-0/upgrade.html

All customer-managed ShareFile storage zones controllers versions prior to the latest version 5.11.24 have been blocked to protect our customers. Customers will be able to reinstate the storage zones controller once the update to 5.11.24 is applied.

Customers should shut down any machine that was running an affected version of the storage zones controller software.

NetScaler crash after upgrading to version NS 13.1 Build 45.63 or NS 13.0 Build 90.11 with HTTP/2 enabled

NetScaler crash after upgrading to version NS 13.1 Build 45.63 or NS 13.0 Build 90.11 with HTTP/2 enabled

Overview

Citrix has identified an isolated issue in which some customers experienced a crash condition after upgrading to the current build with HTTP/2 enabled.

What Product is Affected?

NetScaler appliance upgraded to version NS13.1 Build 45.63 or NS13.0 Build 90.11

*No other versions are impacted by this HTTP/2 issue.

Is there a workaround or fix?

Workaround: Disable http2 in the HTTP profile bound to the virtual server.

Fix: Engineering is working on a code fix and will update the ETA of the next build as soon as possible.

How to verify if http2 is enabled?

Run the following command from the CLI and verify if http2Direct Is reported as enabled.

> show run | grep http2

Example of output if enabled:

> set ns httpProfile <name of httpprofile> -http2 ENABLED -http2Direct ENABLED

Example of output if not enabled:

> set ns httpProfile <name of httpprofile> -http2 DISABLED -http2Direct DISABLED

How to disable http2 if enabled?

> set ns httpProfile <name of the httpprofile> -http2 DISABLED -http2Direct DISABLED

NetScaler ADC and NetScaler Gateway Security Bulletin for CVE-2024-8534 and CVE-2024-8535 (RDP proxy / Kerberos Constrained Delegation)

NetScaler ADC and NetSCaler Gateway Security Bulletin for CVE-2023-24487, CVE-2023-24488

Citrix published on May, 9th a new Security Bulletin for NetScaler ADC and Netscaler Gateway. The severity is rated as medium. AXACOM is recommending to upgrade the NetScaler ADCs and Gateways in the next few days according to the Citrix CTX477714.

Please monitor as well the Citrix CTX article under the following link:

https://support.citrix.com/article/CTX477714/citrix-adc-and-citrix-gateway-security-bulletin-for-cve202324487-cve202324488

Vulnerabilities have been discovered in Citrix ADC and Citrix Gateway listed below, that, if exploited, could result in the following security issues: 

Impacted Products, Versions and Components

The following supported versions of Citrix ADC and Citrix Gateway are affected by this vulnerability: 

  • Citrix ADC and Citrix Gateway 13.1 before 13.1-45.61
  • Citrix ADC and Citrix Gateway 13.0 before 13.0-90.11
  • Citrix ADC and Citrix Gateway 12.1 before 12.1-65.35
  • Citrix ADC 12.1-FIPS before 12.1-55.296
  • Citrix ADC 12.1-NDcPP before 12.1-55.296

This bulletin only applies to customer-managed Citrix ADC and Citrix Gateway. Customers using Citrix-managed cloud services or Citrix-managed Adaptive Authentication do not need to take any action. 

CVE IDDescriptionPre-requisitesCWECVSS
CVE-2023-24488Cross site scriptingAppliance must be configured as a Gateway (SSL VPN, ICA Proxy, CVPN, RDP Proxy) OR AAA virtual serverCWE-796.1
CVE-2023-24487Arbitrary file readAccess to NSIP or SNIP with management interface accessCWE-2536.3

What Customers Should Do

Affected customers of Citrix ADC and Citrix Gateway are recommended to install the relevant updated versions of Citrix ADC or Citrix Gateway as soon as possible: 

  • Citrix ADC and Citrix Gateway 13.1-45.61 and later releases
  • Citrix ADC and Citrix Gateway 13.0-90.11 and later releases of 13.0  
  • Citrix ADC and Citrix Gateway 12.1-65.35 and later releases of 12.1  
  • Citrix ADC 12.1-FIPS 12.1-55.296 and later releases of 12.1-FIPS  
  • Citrix ADC 13.1-FIPS 13.1-37.150 and later releases of 13.1-FIPS  
  • Citrix ADC 12.1-NDcPP 12.1-55.296 and later releases of 12.1-NDcPP 
NetScaler ADC and NetScaler Gateway Security Bulletin for CVE-2024-8534 and CVE-2024-8535 (RDP proxy / Kerberos Constrained Delegation)

NetScaler Kerberos Authentication funktioniert nach dem Windows Update 2022-11 nicht mehr

Kunden, die auf ihrem NetScaler Kerberos verwenden, bekommen nach dem Microsoft November Update ein Problem. Kerberos funktioniert danach nicht mehr mit dem NetScaler und auch weitere Umsysteme sind davon betroffen. Sie erhalten bei einem Login Versuch via NetScaler folgenden Eintrag im System Eventlog des Domain Controllers:

While processing an AS request for target service <service>, the account <account name> did not have a suitable key for generating a Kerberos ticket (the missing key has an ID of 1). The requested etypes : 18 3. The accounts available etypes : 23 18 17. Changing or resetting the password of <account name> will generate a proper key.

Es handelt sich dabei um einen Bug im November Update von Microsoft, welcher bereits offiziell bestätigt ist, s. https://learn.microsoft.com/en-us/windows/release-health/status-windows-11-22h2#2953msgdesc

und https://borncity.com/win/2022/11/14/microsoft-confirms-kerberos-authentication-issues-after-nov-2022-updates/

Aktuell ist ein Workaround, aber noch kein Fix vorhanden, s. UPDATE 15.11.2022, 12:36

Kunden sollten das November Update auf Domain Controllern daher zurückhalten, oder den Workaround implementieren.

Sobald eine Lösung existiert, wird dieser Artikel erneut aktualisiert.

UPDATE 15.11.2022, 12:36:

Citrix hat hier einen KB Artikel zu dem Problem veröffentlicht und auch einen Workaround beschrieben:

https://support.citrix.com/article/CTX474888/daas-vdas-not-registering-with-cloud-connectors-after-applying-microsoft-update-kb5019966

Umgemünzt auf den NetScaler bedeutet dies, dass der KCD Account so modifiziert werden muss, wie in dem Screenshot gezeigt:

Anschliessend funktioniert KCD auch mit gepatchten Domain Controllern wieder.

Sollte das nicht genügen, kann mit folgendem Registry Key das Verhalten bei der Kerberos Signaturüberprüfung angepasst werden, s. https://support.microsoft.com/en-us/topic/kb5020805-how-to-manage-kerberos-protocol-changes-related-to-cve-2022-37967-997e9acc-67c5-48e1-8d0d-190269bf4efb#registry5020805:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Kdc]

«KrbtgtFullPacSignature»=dword:00000000

ACHTUNG: Diese Anpassungen sind nur als Workaround zu verstehen und sollten wieder rückgängig gemacht werden, sobald Microsoft einen Fix für den Fehler bereitstellt!

UPDATE 18.11.2022

Microsoft hat ein OOB Update für Domain Controller veröffentlicht, welches das oben beschriebene Problem löst.

Der offizielle Artikel und die Download Links sind hier zu finden: https://learn.microsoft.com/en-us/windows/release-health/windows-message-center#2961

Nach der Installation des Updates auf allen Domain Controllern ist es möglich RC4 wieder vom KCD Account zu entfernen (Attribut: msDS-SupportedEncryptionTypes, Value: 24) und falls gesetzt, den Reg Key «KrbtgtFullPacSignature» wieder zu entfernen.