cve.bz

CVE-2024-52309

5.1 mediumEPSS 0.6%

Medium (5.1). EPSS 0.6% chance of exploitation in the next 30 days. Fixed in github.com/drakkan/sftpgo/v2 2.6.3.

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.

Severity

CVSS 4.0

5.1 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
EPSS
0.6% chance of exploitation in the next 30 days; higher than 50% of CVEs (scores of 2026-10-31)
CWE
CWE-20
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-49cc-xrjf-9qf7Gogithub.com/drakkan/sftpgo/v2>=2.4.0 <2.6.32.6.3
GHSA-49cc-xrjf-9qf7Gosftpgo>=2.4.0 <2.6.32.6.3
GO-2024-3283Gogithub.com/drakkan/sftpgoall versionsno fix published
GO-2024-3283Gogithub.com/drakkan/sftpgo/v2>=2.4.0 <2.6.32.6.3

References

Check your stackJSON