CVE-2022-27518: Unauthenticated RCE in Citrix ADC and Gateway

CVE-2022-27518: Unauthenticated RCE in Citrix Gateway and Citrix ADC

Citrix has patched a critical remote code execution vulnerability in its ADC and Gateway products. This vulnerability has reportedly been exploited as a zero day; organizations should patch urgently.

Background

On December 13, Citrix released a security advisory and accompanying blog for CVE-2022-27518, a critical remote code execution (RCE) vulnerability impacting several supported versions of Citrix Application Delivery Controller (ADC) and Citrix Gateway. Both the advisory and blog post note that targeted attacks have been observed in the wild and customers should patch this vulnerability immediately.

In addition to the blog post, an alert from the National Security Agency (NSA) has been released, providing Citrix users a threat hunting guide. The advisory notes that APT5, also known as UNC2630 and MANGANESE, have been observed targeting Citrix ADCs. The threat hunting guidance it provides can be used to identify if an ADC has been compromised. The guidance is careful to point out that the artifacts discussed could vary based on the stage of compromise

Analysis

CVE-2022-27518 is a RCE vulnerability impacting Citrix ADC or Citrix Gateway when configured as a Security Assertion Markup Language (SAML) service provider (SP) or a SAML identity provider (IdP). The vulnerability is rated as critical and can be exploited by a remote, unauthenticated attacker to execute arbitrary code. At the time of its initial release, CVE-2022-27518 has not received a CVSSv3 score.

Just last month, Citrix patched another critical vulnerability in Citrix ADC and Gateway products. However, vulnerabilities in VPNs are not new, and are quite a common way for threat actors to establish a foothold in target networks. Threat actors routinely leverage vulnerabilities in Citrix ADC and Gateway products, as these technologies are regularly left unpatched. As this vulnerability is being exploited, organizations should patch immediately.

Proof of concept

At the time this blog was released, no proof-of-concept code had been released for CVE-2022-27518.

Vendor response

Citrix has released a patch for affected versions of Citrix ADC and Citrix Gateway. The following table lists the impacted versions and the fixed releases:

Affected Version
Fixed Version
Citrix ADC and Citrix Gateway versions prior to 12.1
End of life. Upgrade to a supported version
Citrix ADC and Citrix Gateway 12.1 before 12.1-65.25
Citrix ADC and Citrix Gateway 12.1-65.25 and later
Citrix ADC and Citrix Gateway 13.0 before 13.0-58.32
Citrix ADC and Citrix Gateway 13.0-58.32 and later
Citrix ADC 12.1-FIPS before 12.1-55.291
Citrix ADC 12.1-FIPS 12.1-55.291 and later
Citrix ADC 12.1-NDcPP before 12.1-55.291
Citrix ADC 12.1-NDcPP 12.1-55.291 and later
Citrix ADC and Citrix Gateway version 13.1
Not affected

Solution

The advisory from Citrix notes that customers using Citrix-managed cloud services or Citrix-managed Adaptive Authentication will not need to take any action to address this vulnerability. Citrix users that manage their own Citrix ADC and Citrix Gateway appliances will need to update to address this flaw.

Identifying affected systems

A list of Tenable plugins to identify this vulnerability will appear here as they’re released. This link uses a search filter to ensure that all matching plugin coverage will appear as it is released.

Get more information

Citrix advisory
Citrix blog post
NSA advisory

Join Tenable’s Security Response Team on the Tenable Community.

Learn more about Tenable, the first Cyber Exposure platform for holistic management of your modern attack surface.

Get a free 30-day trial of Tenable.io Vulnerability Management.

   Cyber Exposure Alerts 

​  

More To Explore

Red Hat Security Advisory 2023-3304-01

Red Hat Security Advisory 2023-3304-01 – Red Hat OpenShift Container Platform is Red Hat’s cloud computing Kubernetes application platform solution designed for on-premise or private

We can help improve your Business

Ensure your Organization Assets are well  protected in front of the Cyber Attacks

Delivery Workflow

Register for Free and get your test done withn 24 to 48 hours

See Workflow

Sample Report

Here is a sample report of a Security Testing Engagement

See Sample Report PDF

Work Request

Order your security test and Get Your Report

Get Your Test Report
Generated by Feedzy

1. Client Onboarding

Access to all of Cyber Legion's services is provided through the Web Secure Client Portal. To create a Free account, you can sign up through the portal, or contact the Cyber Legion team and they will set up an account for you.

2. NDA , Agreements & Digital Signature

The integration of Digital Signature in our Web Client Portal allows us to legally sign all necessary documents and agreements, enabling us to carry out security assessments on targeted systems.

3. Submit Work Request

Our pricing structure is adaptable to meet the needs of all clients. By filling out the Work Request Form, you can select from pre-existing services or request a personalized proposal.

The Cyber Legion team will acknowledge your order, set up a project in your account, and proceed with the testing and delivery.

4. Security Testing & Report

We meet agreed upon SLAs and follow security testing framework checklists. Based on our commitment, our team of engineers will utilize all of our tools, automation, and testing capabilities to achieve the objectives.

Within the agreed upon timeframe, you will receive a report on the security test that was conducted, including the results, recommendations, and references for addressing any identified issues.

5. Retesting & Validation of Remediation

We not only identify potential threats, risks, and vulnerabilities, but also provide detailed recommendations for resolution. To ensure complete remediation, we offer complimentary retesting and a range of ongoing security testing options for continued vulnerability detection and verification.