CVE-2023-36934: Progress Software MOVEit Transfer SQL Injection Remote Code Execution Vulnerability
An SQL injection vulnerability in Progress MOVEit Transfer arises from insufficient validation of encrypted query parameters, allowing a remote unauthenticated attacker to execute arbitrary SQL commands. This can lead to arbitrary code execution under the service account.
Published on zerodayinitiative.com
An SQL injection vulnerability has been reported for Progress MOVEit Transfer. This vulnerability is due to insufficient validation of encrypted query parameters sent to the server.
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 application sanitises a username value before URL-decoding it, so a URL-encoded quote bypasses the sanitiser and later gets concatenated into an SQL query without proper escaping.
Impact
A successful attack could result in arbitrary SQL command execution, allowing an attacker to authenticate as an arbitrary user and potentially achieve arbitrary code execution under the service account.
What the attacker needed
Network access to the MOVEit server; no authentication required
How it was found
- Send a request to /human.aspx over plaintext HTTP with a crafted URL-encoded value in the username query parameter.
- Send a second request to /human.aspx with the encrypted query string from the first response in the ep parameter and an InitialPage cookie matching the pattern, causing the crafted username to be saved to the sessionvars table.
- Send a request to /machine.aspx with the same session ID, causing the crafted value to be loaded and used in the vulnerable SQL query.
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 bug in a file-transfer product called MOVEit. The software takes some input from a web request, encrypts it, and later uses it to build a database query without cleaning it properly. An attacker can slip in special characters that change the query, letting them run their own database commands and potentially take over 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.