TL;DR — CVE-2023-34362 is a pre-authentication SQL injection in Progress MOVEit Transfer. By itself an injection is "only" a database problem, but in MOVEit it became the first link in a chain that produced full remote code execution and bulk data theft. The Cl0p ransomware group weaponised it at scale in May–June 2023, breaching more than 2,500 organisations and exfiltrating data belonging to tens of millions of individuals — without ever deploying ransomware. This article reconstructs the chain end to end and extracts the defensive lessons.
Executive Summary
Managed File Transfer (MFT) appliances are an attacker's dream target. They sit on the network edge, they are designed to hold large volumes of other organisations' sensitive data, and they are frequently treated as "set and forget" black boxes by the teams that operate them. MOVEit Transfer — a widely deployed ASP.NET application backed by Microsoft SQL Server — checked every one of those boxes.
CVE-2023-34362 was disclosed on 31 May 2023 after Progress Software observed active exploitation. The root cause is a SQL injection reachable before authentication in the web front-end. On its own, SQL injection lets an attacker read and write the database. The reason this particular bug became a global incident is that MOVEit's architecture allowed an attacker to pivot from SQL control into .NET deserialization, and from there into arbitrary code execution running as the web application's service account. The final payload was a stealthy web shell the security community named LEMURLOOT (file name human2.aspx).
This was not a noisy ransomware event. Cl0p's goal was pure extortion-by-exfiltration: steal the data, then name victims on a leak site and demand payment. The quiet, click-free nature of the attack is exactly why it matters as a case study.
The Target: How MOVEit Is Built
To understand the exploit you have to understand the moving parts.
| Component | Role | Why it matters to the attack |
|---|---|---|
MOVEit.DMZ.WebApp | The internet-facing ASP.NET web application | Hosts the injectable endpoints |
| MS SQL Server | Stores users, sessions, folder permissions, file metadata, encrypted secrets | The injection target; also holds storage credentials |
MOVEitISAPI / API tier | Programmatic file-transfer interface | Accepts authenticated sessions the SQLi can forge |
System.Settings table | Holds configuration including cloud storage keys | A high-value read target |
| Service account | The Windows identity the web app runs as | Inherited by any code the web shell executes |
The critical design observation: the web tier trusts the database tier completely. Sessions, permissions, and even some serialized objects are persisted in SQL. If you can write arbitrary rows, you can forge trust.
The Attack Chain at a Glance
flowchart TD
A["Unauthenticated HTTP request<br/>to MOVEit web front-end"] --> B["SQL injection<br/>(CVE-2023-34362)"]
B --> C["Enumerate DB schema<br/>read System.Settings"]
C --> D["Steal Azure Blob<br/>storage keys"]
B --> E["Forge a valid session /<br/>API access token"]
E --> F[".NET deserialization sink<br/>reached as authenticated user"]
F --> G["Remote Code Execution<br/>as service account"]
G --> H["Drop human2.aspx<br/>(LEMURLOOT web shell)"]
H --> I["Create stealth admin user<br/>enumerate + exfiltrate files"]
I --> J["Self-delete web shell,<br/>remove forensic traces"]
style B fill:#2a0c14,stroke:#ef233c,color:#fee2e2
style G fill:#2a0c14,stroke:#ef233c,color:#fee2e2
style H fill:#1a230c,stroke:#fca311,color:#fef3c7The chain has two conceptual halves. The first half (steps A–E) is the injection itself: gaining read/write into the database and using writes to manufacture an authenticated identity. The second half (steps F–J) is converting database control into code execution and then operationalising that access for theft.
Half One: The Injection
Reaching the sink before authentication
The injectable code paths lived in the guest-access and transfer-handling endpoints of the web application. These endpoints have to do some work before a user authenticates — for example, resolving a folder or a transfer token — which is precisely why a pre-auth injection point existed. Several parameters were concatenated into SQL statements without parameterisation or adequate type enforcement.
A simplified illustration of the anti-pattern (this is not the literal MOVEit source, but the shape of the flaw):
// VULNERABLE PATTERN: parameter concatenated directly into SQLstring folderId = Request["folderid"];string sql = "SELECT * FROM folders WHERE id = '" + folderId + "'";using (var cmd = new SqlCommand(sql, conn)) { var reader = cmd.ExecuteReader(); // attacker controls the WHERE clause}Because MOVEit uses Microsoft SQL Server, the attacker had access to the full T-SQL surface: stacked queries (;), subqueries, xp_* extended procedures where permissions allowed, and crucially the ability to INSERT and UPDATE rows in application tables.
From read to write to trust
Reading data is useful — dumping System.Settings exposed the Azure Blob Storage account name and key used to hold transferred files, an immediate path to the data even without code execution. But the more dangerous use of the injection was writing.
By inserting or updating the right rows, the attacker could create a session or an API access token that the application would subsequently accept as a legitimately authenticated user. This is the pivot that turns "I can query your database" into "I am now a logged-in administrator of your application." Once the attacker holds a valid session, every authenticated code path — including ones with dangerous object-handling behaviour — becomes reachable.
Half Two: Deserialization to RCE
Why deserialization is the bridge
.NET applications frequently persist or transmit objects in serialized form. When an application deserializes attacker-influenced data using a permissive formatter (historically BinaryFormatter, LosFormatter, ObjectStateFormatter, or SoapFormatter), an attacker who controls the byte stream can choose which types get instantiated and which methods run during reconstruction. With the right "gadget" types available on the classpath, that becomes arbitrary command execution.
sequenceDiagram
participant A as Attacker
participant W as MOVEit Web App
participant D as Deserializer
participant OS as Service Account / OS
A->>W: Authenticated request with crafted serialized blob
W->>D: Deserialize state object
D->>D: Reconstruct gadget chain types
D->>OS: Gadget triggers Process.Start / command
OS-->>A: Code runs as web service identityIn the MOVEit chain, the forged authenticated context (from Half One) let the attacker reach a code path that deserialized data it should never have trusted. The deserialization executed a gadget chain, and the gadget chain wrote a file to the web root: human2.aspx.
The LEMURLOOT web shell (human2.aspx)
The deployed web shell was deliberately designed to blend in and to be operationally useful for bulk theft, not for interactive hacking. Its documented behaviours included:
- Authentication by header. It only responded to requests carrying a specific hard-coded password in an HTTP header (commonly
X-siLock-Comment), so casual scanners and even some defenders would see a benign-looking 404/200. - Database interaction. It could query the MOVEit SQL database directly to enumerate stored files, folders, and users.
- Stealth account creation. It could insert a new administrative user — frequently named to look like a system process, e.g.
Health Check Service— to provide durable access. - Azure key retrieval. It surfaced the Azure storage credentials so files could be pulled straight from blob storage.
- Self-deletion. It could remove the created account and clean up to frustrate forensics.
LEMURLOOT (human2.aspx) — capability profile File enumeration ██████████ primary purposeDB query / admin █████████░ stealth user creationAzure key extraction ████████░░ bulk download enablerAnti-forensics ███████░░░ self-delete, account removalInteractive shell ██░░░░░░░░ intentionally minimalReconstructed Timeline
| Date (2023) | Event |
|---|---|
| Late May | Cl0p begins mass exploitation, before public disclosure |
| 31 May | Progress publishes advisory + emergency patch for CVE-2023-34362 |
| Early June | CISA/FBI issue joint advisory; first victims appear on Cl0p leak site |
| June | Two further MOVEit SQLi CVEs (CVE-2023-35036, CVE-2023-35708) disclosed |
| June–Aug | Victim count climbs past 2,000 organisations across government, finance, education |
The timeline carries a hard lesson: exploitation preceded disclosure. The vendor's patch was a reaction to an attack already in progress. Perimeter MFT software must therefore be defended as if a zero-day is always plausible, not merely patched when CVEs appear.
Detection and Response
If you operated MOVEit during this window, the following artefacts were the canonical hunting grounds:
| Telemetry source | What to look for |
|---|---|
| Web root file system | Unexpected human2.aspx or other new .aspx in wwwroot |
| IIS / web logs | Requests bearing X-siLock-* headers; anomalous POSTs to guest-access endpoints |
| MOVEit user table | Accounts created out of band, especially named like services |
| SQL logs | Stacked queries, reads of System.Settings, unexpected INSERT/UPDATE volume |
| Egress / Azure logs | Bulk blob downloads, large outbound transfers to unfamiliar IPs |
| Process telemetry | The MOVEit service account spawning cmd.exe/powershell.exe |
Investigator's note: Because the web shell could self-delete, absence of human2.aspx did not mean absence of compromise. Confirmed-clean status required examining historical logs and the user table, not just the current disk state.Why the Chain Worked — Root-Cause Themes
Pulling back from the specifics, four systemic failures combined:
- Unparameterised SQL on a pre-auth path. The original sin. Parameterised queries / stored procedures would have neutralised the entire chain at step one.
- The web tier trusting database writes as identity. Sessions and tokens persisted in SQL meant that arbitrary writes equalled arbitrary authentication.
- A reachable insecure deserialization sink. This converted data control into code control — the single most dangerous escalation in the chain.
- Secrets at rest in a readable table. Storing Azure keys where the application database could surface them gave attackers a data-theft path even without RCE.
flowchart LR
A["Defence 1<br/>Parameterised SQL"] -.kills.-> X["SQL Injection"]
B["Defence 2<br/>Server-side session<br/>integrity"] -.kills.-> Y["Forged identity"]
C["Defence 3<br/>Deserialization<br/>allow-list"] -.kills.-> Z["RCE"]
D["Defence 4<br/>Secrets in a vault<br/>(KMS/Key Vault)"] -.kills.-> W["Bulk theft"]
style A fill:#0c2a22,stroke:#21d48e,color:#d1fae5
style B fill:#0c2a22,stroke:#21d48e,color:#d1fae5
style C fill:#0c2a22,stroke:#21d48e,color:#d1fae5
style D fill:#0c2a22,stroke:#21d48e,color:#d1fae5Each defence is independent. Any one of them, properly implemented, would have broken the kill chain.
Defensive Recommendations
For organisations running any internet-facing MFT or web application that handles bulk sensitive data:
- Patch aggressively, but assume zero-days. Place MFT appliances behind a WAF tuned for SQLi and behind network controls that restrict which IPs may reach them.
- Eliminate insecure deserialization. Replace
BinaryFormatter-class formatters with data-only serialisers (e.g.System.Text.Json) and, where binary serialization is unavoidable, enforce a strict type allow-list via aSerializationBinder. - Parameterise every query. Use an ORM or parameterised commands universally; treat string-concatenated SQL as a release blocker in code review and SAST.
- Vault your secrets. Store cloud storage keys in a dedicated secrets manager (Azure Key Vault, AWS KMS/Secrets Manager) with short-lived, scoped credentials — never in an application-readable settings table.
- Egress monitoring. Bulk-theft campaigns generate anomalous outbound volume. Baseline normal transfer patterns and alert on deviations.
- Least privilege for service accounts. The web app's service identity should not be able to spawn arbitrary processes or reach beyond what the application needs.
The LEMURLOOT Web Shell, Dissected
It is worth lingering on human2.aspx because its design tells you exactly what the operators cared about. This was not a hacker's interactive playground; it was a purpose-built data-theft tool, engineered for one-shot bulk exfiltration across thousands of victims with minimal operator effort.
The shell's request handling began with an authentication gate implemented as a header check. A request without the correct value in the expected header received an innocuous response — typically a 404 or an empty 200 — so that vulnerability scanners, curious administrators, and even incident responders who stumbled onto the file would see nothing obviously malicious. Only a request bearing the operator's secret password header unlocked the functionality.
Once authenticated, the shell exposed a small command vocabulary, each command mapping to a database operation against the MOVEit SQL backend:
| Command | Effect |
|---|---|
-1 | Enumerate Azure Blob Storage settings (account, key, container) |
-2 | Create a stealth admin session / user (e.g. "Health Check Service") |
-3 | Retrieve a list of stored files and their owning institutions |
-4 | Delete the injected account and clean up — the anti-forensics path |
Notice what this implies operationally. The attacker did not need to download files through the web shell at all. By extracting the Azure storage credentials (command -1), they could pull the actual file contents directly from cloud blob storage, out-of-band, at high speed — keeping the noisy bulk transfer off the victim's own web server logs. The web shell was the key cutter; the cloud storage account was the vault. This separation of "credential theft" from "data egress" is a recurring sophistication marker in mature exfiltration tooling.
The stealth user naming (Health Check Service and similar) is a deliberate blend-in technique: an administrator skimming the user list sees something that reads like a legitimate system or monitoring account and does not investigate further. Combined with the self-delete capability, the operators could leave almost no durable trace once exfiltration completed.
The Cl0p Playbook: Exfiltration-Only Extortion
MOVEit was not an isolated event; it was the third act in a deliberate strategy. The Cl0p group (overlapping with the TA505/FIN11 threat clusters) had spent the prior two years refining a model of extortion without encryption, and MOVEit was its largest expression.
flowchart LR
A["2020-21: Accellion FTA<br/>(legacy MFT zero-days)"] --> B["Jan 2023: GoAnywhere MFT<br/>CVE-2023-0669"]
B --> C["May 2023: MOVEit Transfer<br/>CVE-2023-34362"]
C --> D["Refined model:<br/>steal data, skip ransomware,<br/>name victims on leak site"]
style C fill:#2a0c14,stroke:#ef233c,color:#fee2e2The strategic logic is sound from the attacker's perspective. Deploying ransomware is loud: it trips EDR, triggers immediate incident response, and forces the victim to notice. Pure data theft is quiet — by the time the victim learns of the breach, it is from the attacker's own leak site, weeks later, with the data already gone. The extortion leverage comes not from denying access to data but from threatening to publish it, which sidesteps backups entirely (you cannot restore your way out of a confidentiality breach).
Targeting MFT software specifically was the masterstroke. A single MFT appliance often holds files belonging to hundreds of the operator's downstream customers and partners. One MOVEit compromise therefore yielded not one victim's data but the data of everyone who had transferred files through that instance — a supply-chain multiplier that turned 2,500-odd directly compromised servers into tens of millions of affected individuals.
Comparing the MFT breach trilogy
| Vendor / product | CVE | Root cause | Year |
|---|---|---|---|
| Accellion FTA | CVE-2021-27101 et al. | SQLi + command execution in legacy appliance | 2020–21 |
| Fortra GoAnywhere MFT | CVE-2023-0669 | Pre-auth deserialization RCE in admin console | 2023 |
| Progress MOVEit Transfer | CVE-2023-34362 | Pre-auth SQLi → deserialization → web shell | 2023 |
The pattern is unmistakable: internet-facing file-transfer software is a strategic target class, repeatedly exhibiting the same bug families (injection, deserialization) on the same architecture (web front end, database, cloud storage). Any organisation operating such software should treat it as a Tier-0-adjacent asset and assume it is being actively researched by financially motivated groups.
Conclusion and Takeaways
CVE-2023-34362 is the textbook example of how a "single bug" becomes a global incident when the surrounding architecture amplifies it. A SQL injection is dangerous; a SQL injection on a pre-auth path, in an application that trusts database writes as identity and exposes an insecure deserialization sink, is catastrophic. The attackers did not need a chain of zero-days — they needed one zero-day and an architecture that did the rest of the work for them.
The enduring lesson for defenders is to stop thinking in terms of isolated vulnerabilities and start thinking in terms of chains and amplifiers. Ask of every system: if an attacker gets one foothold here, what does the architecture hand them next? In MOVEit, the answer was "everything," and that is the design flaw that mattered most.
For builders, the message is equally blunt: parameterise SQL, kill insecure deserialization, vault your secrets, and run services with least privilege. Each control is cheap. Together they make the difference between a contained vulnerability and a breach that lands your customers on an extortion leak site.