CVE-2024-52309

Medium

Description

SFTPGo is a full-featured and highly configurable SFTP, HTTP/S, FTP/S and WebDAV server - S3, Google Cloud Storage, Azure Blob. One powerful feature of SFTPGo is the ability to have the EventManager execute scripts or run applications in response to certain events. This feature is very common in all software similar to SFTPGo and is generally unrestricted. However, any SFTPGo administrator with permission to run a script has access to the underlying OS/container with the same permissions as the user running SFTPGo. This is unexpected for some SFTPGo administrators who think that there is a clear distinction between accessing the system shell and accessing the SFTPGo WebAdmin UI. To avoid this confusion, running system commands is disabled by default in 2.6.3, and an allow list has been added so that system administrators configuring SFTPGo must explicitly define which commands are allowed to be configured from the WebAdmin UI.

SeverityMedium
CVSS5.1
Exploit probability—
ProductSftpgo
PublishedNov 21, 2024
First seenNov 21, 2024

How to fix

Update
  • sftpgo2.6.3 or later
  • github.com/drakkan/sftpgo/v22.6.3 or later

Affected products

ProductAffected versionsFixed in
sftpgoGo2.4.0 ≤ v < 2.6.32.6.3
github.com/drakkan/sftpgo/v2Go2.4.0 ≤ v < 2.6.32.6.3
github.com/drakkan/sftpgoGoNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-52309 · Sftpgo · Dark Radar