Patch Diffing Progress MOVEIt Transfer RCE (CVE-2023-34362)
The MOVEit Transfer vulnerability allowed unauthenticated attackers to set arbitrary session variables via a header, leading to SQL injection and remote code execution. The patch removed code that enabled this session variable manipulation.
Published on blog.assetnote.io
In the last few days, threat actors have been exploiting a critical pre-authentication vulnerability within Progress MOVEIt Transfer. There have been several great blog posts covering the incident response, forensic artifacts, and detection engineering efforts when it comes to preventing compromise.
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
Likely, the application allowed session variables to be set from HTTP headers without proper validation, enabling further exploitation.
Impact
Attackers could exploit this to achieve remote code execution, but the full exploit chain is not disclosed in this post.
What the attacker needed
Network access to the MOVEit Transfer instance; ability to send HTTP requests
How it was found
- Download and install both unpatched and patched versions of MOVEit Transfer.
- Zip the installation directories and compare them using DiffMerge to find changed files.
- Decompile the changed DLL files with ILSpy and compare the source code.
- Identify the removed code that set session variables from headers.
- Trace the code to machine2.aspx and discover it can be reached via SSRF through MOVEitISAPI.dll?action=m2.
- Set up a debugging environment with Rider, attach to the W3WP process, and set a breakpoint in Machine2Main to confirm the SSRF.
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 about a serious security flaw in a file transfer product called MOVEit Transfer. Attackers could send a special request that let them control parts of the application's memory (session variables), which then let them run their own commands on the server. The flaw was fixed by removing the code that allowed this control.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.