Get new incidents by email

One email each time a new incident is published. Nothing else.

All incidents

MOVEit Transfer mass breach

MOVEit Transfer: one SQL injection, thousands of breached organisations

Over a holiday weekend in 2023, the Cl0p extortion gang used an unknown flaw in a popular file-transfer product to steal data from organisations around the world. They didn't encrypt anything: the stolen files were the leverage.

Disclosed
31 May 2023
Type
Exposed app
Identifier
CVE-2023-34362
Read time
8 minutes
  1. Exposed onlineMOVEit Transfer servers face the internet so partners can exchange files.
  2. SQL injectionUnauthenticated requests reach the database behind the web app.
  3. Web shell plantedA file named human2.aspx gives the gang a hidden way back in.
  4. Data stolenStored files are listed and downloaded in bulk.
  5. Extortion demandsVictims are told to pay or see their data published.

In plain terms

Companies often need to send large or sensitive files to other companies: payroll data, medical records, customer lists. MOVEit Transfer, made by Progress Software, is a popular product for doing that safely. It runs on a company's own server and has a website partners log in to.

In late May 2023, a criminal group called Cl0p found a flaw in that website. By sending specially crafted requests, they could talk directly to the database behind it without logging in. This kind of flaw is called .

They used it to install a hidden backdoor on each server, then downloaded the files stored there. Instead of locking the data with , they simply threatened to publish it unless the victim paid.

Because so many organisations used MOVEit, and because many of them held other companies' data, the breach spread far: payroll providers, universities, government agencies, banks and airlines, with tens of millions of people's details exposed.

The deep analysis follows: what happened, root cause, mitigation and prevention.

What happened

MOVEit Transfer is a managed file transfer (MFT) application running on Windows with IIS and a Microsoft SQL Server, MySQL or Azure SQL database. Its web interface is meant to be reachable by external partners, which puts it on the internet by design.

  1. Investigators at Kroll later reported evidence that the group had been testing ways to exploit MOVEit as early as 2021.
  2. Mass exploitation begins over the US Memorial Day weekend, when security teams are thin.
  3. Progress discloses a critical vulnerability and urges customers to cut off HTTP and HTTPS traffic to MOVEit Transfer. Patches follow for supported versions.
  4. The flaw is assigned CVE-2023-34362.
  5. Cl0p claims responsibility on its leak site and tells victims to contact it.
  6. CISA and the FBI publish joint advisory AA23-158A with indicators of compromise.
  7. Further SQL injection flaws are found during code review (CVE-2023-35036, CVE-2023-35708) and patched.

Victims named publicly included payroll provider Zellis (and through it UK employers such as the BBC and British Airways), US federal agencies, state governments, universities and pension funds. Running tallies by researchers counted more than 2,000 affected organisations by the end of 2023.

Root cause

Untrusted input reached SQL queries

CVE-2023-34362 is an SQL injection in the MOVEit Transfer web application that an unauthenticated attacker could reach. Request input was used to build database queries without being safely parameterised. Through it, the attacker could read and alter the database, and the exploitation chain also abused session handling to gain the access needed to write files to the server.

A web shell gave persistent access

With that access, Cl0p dropped a that CISA calls LEMURLOOT, named human2.aspx to blend in next to MOVEit's legitimate human.aspx. It only answered requests carrying a specific password in an HTTP header, and it could list files and folders, read Azure storage settings, create administrator accounts and download files.

Exposed by design, holding everything

Managed file transfer systems combine two risk factors: they must be reachable from outside, and they store large volumes of sensitive data, often for long periods. Many customers kept files on the server long after the transfer was complete. Cl0p had already used the same playbook against Accellion FTA in 2020 and GoAnywhere MFT earlier in 2023.

Mitigation

  1. Cut off web traffic to the server (ports 80 and 443) until it is patched, as Progress advised. Internal transfers can wait; exposure can't.
  2. Patch to a fixed version, then apply the later fixes for CVE-2023-35036 and CVE-2023-35708 too.
  3. Hunt for the web shell. Look for human2.aspx or other unexpected .aspx files in the MOVEit web root, new or unknown administrator accounts, and large downloads in the logs from 27 May onwards.
  4. Rotate credentials held by the application, including service accounts and Azure storage keys.
  5. Work out whose data was on the server. MFT servers often hold partners' and customers' data, which brings notification duties to people beyond your own organisation.

Prevention

  • Keep less on the server. Set short retention so completed transfers are deleted. Data that isn't there can't be stolen.
  • Narrow who can reach it. Restrict the web interface to partner IP ranges or put it behind a VPN or zero-trust proxy, rather than the open internet.
  • Watch what leaves, not just what enters. Alert on unusual outbound volumes and on new files in web directories. Both were visible in this campaign.
  • Plan for zero-days in internet-facing products. Patch quickly, but assume a flaw will be exploited before a patch exists, and design so that one exposed app doesn't hold everything.
  • For developers: parameterise every query. Use prepared statements or an ORM's safe parameters, never string concatenation, and include injection tests in CI.
  • Ask your vendors and service providers which file-transfer tools hold your data, and how quickly they would tell you about a breach.

Sources