Skip to content
RCE Write-up Advanced

Citrix Bleed 2: Critical RCE Flaw in 2025

A critical remote code execution vulnerability in Citrix Gateway and NetScaler ADC allows unauthenticated attackers to execute arbitrary code with root privileges. Attackers could gain full system compromise, deploy backdoors or ransomware, and exfiltrate sensitive data.

medium.com

Published on medium.com

In July 2025, CitrixBleed 2 (CVE-2025–5777) emerged as a critical remote code execution (RCE) vulnerability, echoing the infamous CitrixBleed from 2023. This flaw in Citrix Gateway and NetScaler ADC allows unauthenticated attackers to execute arbitrary code with root privileges, putting thousands of exposed systems at…

Kalariya Het, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely improper input validation in the management interface that lets crafted HTTP requests bypass sanitisation and reach code execution.

Impact

Attackers could gain full system compromise with root access, deploy persistence such as backdoors or ransomware, and exfiltrate sensitive session keys or passwords; the text claims active exploitation in the wild.

What the attacker needed

Exposed Citrix Gateway or NetScaler ADC; Management interface reachable; No authentication required

The fix

Apply Citrix's latest patches for NetScaler ADC and Gateway, restrict management interface access to trusted IPs, and monitor logs for unusual POST requests.

How it was found

  1. Send a crafted HTTP request to the exposed management interface without authentication.
  2. Inject a malicious payload that bypasses sanitisation.
  3. Gain root-level code execution on the underlying system.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is a flaw in Citrix networking products that lets someone on the internet run their own commands on the device without logging in. Because the commands run with the highest level of permission (root), the attacker can take full control of the machine. The text says attackers are already using it in real attacks.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.