Auth. Bypass in (Un)Limited Scenarios – Progress MOVEit Transfer (CVE-2024-5806)
An authentication bypass in Progress MOVEit Transfer's SFTP module allowed an unauthenticated attacker to supply a file path instead of an SSH public key, causing the server to read arbitrary files and ultimately impersonate any user. The attacker could also force the server to authenticate to a malicious SMB server and capture Net-NTLMv2 hashes.
labs.watchtowr.com
Published on labs.watchtowr.com
This research is a glimpse into the capability powering the watchTowr Platform, a Preemptive Exposure Management solution. We enable organizations to autonomously validate and mitigate their exposure to emerging threats, ahead of in-the-wild exploitation.
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
Impact
An unauthenticated attacker could read arbitrary files on the server and potentially impersonate any user, though the forced-authentication attack is limited by MOVEit's privilege separation and SMB hardening.
What the attacker needed
Network access to the SFTP service; a valid username; modified SSH client library
How it was found
- Set up a MOVEit Transfer server and create a test user account.
- Attach a debugger to the SftpServer process and attempt SSH public key authentication.
- Observe an exception from Path.GetFullPath showing the supplied key data is treated as a file path.
- Modify an SSH client library to send a file path instead of a public key blob.
- Supply a UNC path to a malicious SMB server and capture the Net-NTLMv2 hash with Responder.
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.
MOVEit Transfer is a file-sharing server that lets people upload and download files securely. The bug meant that when someone tried to log in using a cryptographic key, the server treated the key data as a file path and read whatever file the attacker named. This let an attacker read files on the server without logging in, and later pretend to be any user.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.