Report on CVE-2023–34362
A SQL injection vulnerability in MOVEit Transfer allowed unauthenticated attackers to execute arbitrary code and steal data. Attackers exploited it to install a web shell and retrieve Azure system settings and encryption keys.
medium.com
Published on medium.com
On May 31, 2023, Progress Software issued a security alert about its MOVEit Transfer product. They confirmed a serious SQL injection vulnerability (CVE-2023–34362).
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
The UserEngine.UserGetUsersWithEmailAddress() function builds an SQL query by concatenating uncleaned input parameters.
Impact
Attackers could increase privileges, view and download sensitive data, possibly steal Azure system settings and keys, and execute arbitrary code, leading to loss of system control.
What the attacker needed
Unauthenticated network access to MOVEit Transfer
The fix
Progress provided mitigation measures and updates.
How it was found
- Call the guestaccess.aspx page without authentication.
- Use the SILHttpSessionWrapper.SetAllSessionVarsFromHeaders() function to set session variables from HTTP request headers.
- Send crafted requests through the machine2.aspx page to bypass local host access limits.
- Read the session variables using the LoadFromSession() function and pass unfiltered SelfProvisionedRecips to UserGetUsersWithEmailAddress().
- The unfiltered email addresses are directly added to the SQL query, allowing arbitrary SQL execution.
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 report describes a serious flaw in a file-transfer program called MOVEit Transfer. The program built database commands by gluing together text that came from users without checking it, so an attacker could sneak in extra commands. That let them read private data and run their own code on the server.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.