Citrix ADC and Gateway Unauthorized Data Disclosure (CVE-2023-4966)
Exploitation of CVE-2023-4966, known as Citrix Bleed, allows unauthorized data disclosure via the /oauth/idp/.well-known/openid-configuration endpoint, leading to session token theft and potential unauthorized access.
CVE search metadata
CVE search record: CVE-2023-4966. Severity: critical. CVSS: 9.4. EPSS: 100.00%. KEV: no. Product: Netscaler Application Delivery Controller, Netscaler Gateway. Brief: Citrix ADC and Gateway Unauthorized Data Disclosure (CVE-2023-4966). Brief link: https://feed.craftedsignal.io/briefs/2024-01-citrix-bleed/
Triage facts
Revision 1- Evidence
- Unknown
- Severity
- Critical
- Sources
- 3 public sources
- Freshness
- Revision 1Jan 3, 12:00 UTC
- Detection
- 2 rules
- Vulnerabilities
- 1 CVE
What's new
- 1. poc_available; added CVE-2023-4966 Oct 29, 02:49 via sploitus
The Citrix Bleed vulnerability (CVE-2023-4966) is a critical security flaw affecting Citrix ADC and Gateway appliances. This vulnerability allows an unauthenticated attacker to perform unauthorized data disclosure. Successful exploitation leads to the leakage of session tokens, potentially enabling attackers to hijack legitimate user sessions. The vulnerability was widely discussed in late 2023, with proof-of-concept exploits rapidly emerging. Organizations that have not patched their Citrix ADC and Gateway appliances are vulnerable to session hijacking and subsequent data breaches. The scope of potential attacks is broad, affecting any organization using vulnerable Citrix appliances for remote access or application delivery.
Attack Chain
- An attacker sends a crafted HTTP request to a vulnerable Citrix ADC or Gateway appliance, specifically targeting the
/oauth/idp/.well-known/openid-configurationendpoint. - The vulnerable appliance processes the request without proper sanitization, leading to information leakage.
- The appliance responds with an HTTP 200 OK status code, including sensitive data in the response body.
- The attacker captures leaked session tokens from the HTTP response.
- The attacker uses the stolen session tokens to authenticate to Citrix resources as a legitimate user.
- The attacker bypasses multi-factor authentication (MFA) if only session-based.
- The attacker gains unauthorized access to internal applications and data.
- The attacker exfiltrates sensitive information or performs other malicious actions within the compromised network.
Impact
Successful exploitation of CVE-2023-4966 can have severe consequences. An attacker can hijack legitimate user sessions, bypassing authentication mechanisms, including MFA in some cases. This grants them unauthorized access to sensitive internal applications, data, and resources. The leaked session tokens can be used to move laterally within the network, potentially compromising additional systems. The impact includes data breaches, financial losses, reputational damage, and legal liabilities.
Recommendation
- Apply the latest security patches provided by Citrix for CVE-2023-4966 immediately to your Citrix ADC and Gateway appliances.
- Deploy the Sigma rule
Citrix ADC and Gateway Unauthorized Data Disclosureto your SIEM to detect exploitation attempts, monitoring web traffic for requests to/oauth/idp/.well-known/openid-configurationwith a 200 status code. - Review web server logs for unusual activity targeting the
/oauth/idp/.well-known/openid-configurationendpoint, paying close attention to theurlandstatusfields. - Implement multi-factor authentication (MFA) mechanisms that are resistant to session hijacking.
Detection coverage 2
Citrix ADC and Gateway Unauthorized Data Disclosure
criticalDetects attempts to exploit the Citrix Bleed vulnerability (CVE-2023-4966) by monitoring for HTTP requests with a 200 status code targeting the /oauth/idp/.well-known/openid-configuration URL endpoint.
Citrix Bleed - Suspicious HTTP Method
highDetects potential Citrix Bleed exploitation attempts using unusual HTTP methods for the /oauth/idp/.well-known/openid-configuration endpoint.
Detection queries are available on the platform. Get full rules →