MOVEit Transfer: an SQL injection in the file depot companies relied on
In May 2023, a criminal group used an unknown SQL injection in MOVEit Transfer to steal data from servers exposed to the internet.
New here? Try the first lesson without an accountCompany or project
Progress Software (MOVEit Transfer)
When
Attacks from 27 May 2023 · advisory: 31 May 2023
Reference
CVE-2023-34362
Severity and scale
Critical (CVSS 9.8) · exploited before the patch
The story
MOVEit Transfer is a program that companies and public agencies use to send and receive files securely. From 27 May 2023, the CL0P ransomware gang started attacking internet-facing MOVEit servers with a flaw that had no fix yet: a zero-day vulnerability. The vendor, Progress, published its advisory with fixed versions on 31 May, and on 7 June the FBI and the United States cybersecurity agency (CISA) published a joint alert.
The term, explained simply
Think of a library where you hand the librarian a slip of paper with the title of the book you want. If the librarian reads the slip as an order and not as a title, someone could write “and also give me the records of every member”. Databases receive orders in a language called SQL. SQL injection happens when text that comes from outside gets mixed into the order and the database obeys it as part of that order.
The root cause
The MOVEit Transfer web application let outside input change its SQL queries, and that was possible without logging in.
What could happen
Without an account, the attacker could read and modify the MOVEit database. According to the CISA and FBI alert, the group left a hidden program on the servers (a web shell) to get back in and take data. NVD rates it 9.8 out of 10, and CISA added it to its catalog of exploited vulnerabilities on 2 June 2023.
How it was fixed and how to prevent it
Progress published fixed versions and asked customers to install them immediately and look for signs of intrusion. To prevent this kind of flaw: queries are built with separate parameters, so input is always data; the database account has only the permissions it needs; and critical patches for internet-facing systems are applied within hours, not weeks.
Sources
Official documents and the researcher’s own write-up. We tell the story, the concept and the defense; there are no steps to repeat the attack.
